diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-06-20 18:14:38 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-06-20 18:14:38 +0200 |
commit | 00fd5abb4c35f4b035b30787f5c1788290c7933a (patch) | |
tree | e4d32f8f148f96c39c8667fb1125c46cd76aba26 /templates/extract.html | |
parent | 9d17c39ee4240ab1f40a8023689d53d39d95db8c (diff) | |
download | justice-00fd5abb4c35f4b035b30787f5c1788290c7933a.tar.gz |
interim solution for common ownership interest
Diffstat (limited to 'templates/extract.html')
-rw-r--r-- | templates/extract.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/extract.html b/templates/extract.html index 2b27462..ec58487 100644 --- a/templates/extract.html +++ b/templates/extract.html @@ -513,6 +513,54 @@ {% endfor %} <!-- END of vacant ownership interests --> + <!-- Insert common ownership interests --> + + {% for i in range (row.spolecnici_spolecny_podil|length) %} + <tr> + <td style = padding-left:2em>Společný obchodní podíl:</td> + {% if row.spolecnici_spolecny_podil[i].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].text_uvolneny_podil != "0" %}{{ row.spolecnici_spolecny_podil[i].text_spolecny_podil }}{% endif %} + {{ underlne_style_close|safe }}</td> + <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 --> + {% if row.spolecnici_spolecny_podil[i].podily|length > 0 %} + + {% for j in range (row.spolecnici_spolecny_podil[i].podily|length) %} + <tr> + <td style = padding-left:4em>Podíl:</td> + {% if row.spolecnici_spolecny_podil[i].podily[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 }} + {% for elem in row.spolecnici_spolecny_podil[i].podily[j].my_rep() %} + {{ elem }}<br> + {% endfor %} + {{ underlne_style_close|safe }} + </td> + <td>{{ underlne_style_open|safe }}Zapsáno: {{ row.spolecnici_spolecny_podil[i].podily[j].zapis_datum }} {% if row.spolecnici_spolecny_podil[i].podily[j].vymaz_datum != 0 %}<br>Vymazáno: {{ row.spolecnici_spolecny_podil[i].podily[j].vymaz_datum }}{% endif %}{{ underlne_style_close|safe }}</td> + </tr> + {% endfor %} + {% endif %} + <!-- END of individual vacant ownership interests --> + {% endfor %} + + + <!-- END of common ownership interests --> + + + {% endif %} <!-- END Display shareholders --> |