diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-06-26 23:35:00 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-06-26 23:35:00 +0200 |
commit | 9e70cd8362a097da0ebe03261ea56674b73af388 (patch) | |
tree | f059fa24cecd34b006246692b653f5e611ae0dce /templates/extract.html | |
parent | 00fd5abb4c35f4b035b30787f5c1788290c7933a (diff) | |
download | justice-9e70cd8362a097da0ebe03261ea56674b73af388.tar.gz |
display common ownership interests
Diffstat (limited to 'templates/extract.html')
-rw-r--r-- | templates/extract.html | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/templates/extract.html b/templates/extract.html index ec58487..9eb1985 100644 --- a/templates/extract.html +++ b/templates/extract.html @@ -530,7 +530,7 @@ <td>{{ underlne_style_open|safe }} Zapsáno: {{ row.spolecnici_spolecny_podil[i].zapis_datum }} {% if row.spolecnici_spolecny_podil[i].vymaz_datum != 0 %} <br> Vymazáno: {{ row.spolecnici_spolecny_podil[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }}</td> </tr> - <!-- Insert individual vacant ownership interests --> + <!-- Insert individual common ownership interests --> {% if row.spolecnici_spolecny_podil[i].podily|length > 0 %} {% for j in range (row.spolecnici_spolecny_podil[i].podily|length) %} @@ -553,15 +553,40 @@ </tr> {% endfor %} {% endif %} - <!-- END of individual vacant ownership interests --> - {% endfor %} + <!-- END of individual common ownership interests --> + <!-- Insert individual co-shareholders --> + {% if row.spolecnici_spolecny_podil[i].podilnici|length > 0 %} + + {% for j in range (row.spolecnici_spolecny_podil[i].podilnici|length) %} + <tr> + <td style = padding-left:4em>Podílník:</td> + {% if row.spolecnici_spolecny_podil[i].podilnici[j].vymaz_datum != 0 %} + {% set underlne_style_open = undedrline_open_deleted %} + {% set underlne_style_close = undedrline_closed_deleted %} + {% else %} + {% set underlne_style_open = "" %} + {% set underlne_style_close = "" %} + {% endif %} + <td>{{ underlne_style_open|safe }} + {% if row.spolecnici_spolecny_podil[i].podilnici[j].podilnik_fo_id != None %} + {{ row.spolecnici_spolecny_podil[i].podilnici[j].jmeno }} + {% else %} + {{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.nazev }}{% if row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.reg_cislo != 0 %}, reg č. {{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.reg_cislo }}{% endif %}{% if row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.ico != 0 %}, IČ <a href="/{{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.ico }}">{{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.ico }}</a>{% endif %} + {% endif %} + <br>{{ row.spolecnici_spolecny_podil[i].podilnici[j].adresa }} + {{ underlne_style_close|safe }} + </td> + <td>{{ underlne_style_open|safe }}Zapsáno: {{ row.spolecnici_spolecny_podil[i].podilnici[j].zapis_datum }} {% if row.spolecnici_spolecny_podil[i].podilnici[j].vymaz_datum != 0 %}<br>Vymazáno: {{ row.spolecnici_spolecny_podil[i].podilnici[j].vymaz_datum }}{% endif %}{{ underlne_style_close|safe }}</td> + </tr> + {% endfor %} +{% endif %} + <!-- END of individual co-shareholders --> + {% endfor %} <!-- END of common ownership interests --> - - -{% endif %} + {% endif %} <!-- END Display shareholders --> <!-- Display UBO --> |