diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-03-02 00:02:27 +0100 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-03-02 00:02:27 +0100 |
commit | bbf5af7bfcbd544d74ede44266d309eec286bc93 (patch) | |
tree | 3f9f6fba39ea72fd44e60a71d94a4586bf87e8f8 /templates | |
parent | c0af3f89b423d89c13d0212f713655ad3d534b86 (diff) | |
download | justice-bbf5af7bfcbd544d74ede44266d309eec286bc93.tar.gz |
feature to display shareholders
Diffstat (limited to 'templates')
-rw-r--r-- | templates/extract.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/extract.html b/templates/extract.html index b404a74..579051c 100644 --- a/templates/extract.html +++ b/templates/extract.html @@ -758,6 +758,20 @@ <!--SUPERVISORY BOARD END--> +<!-- BEGINNING OF SPOLECNIK --> + {% if row.spolecnici|length > 0 %} + {% for i in range (row.spolecnici|length) %} + <tr> + <td>{% if i == 0 %}Společníci:{% endif %}</td> + <td>{% if row.spolecnici[i].spolecnik_po_id == None %} {{ row.spolecnici[i].jmeno.jmeno }} {{ row.spolecnici[i].jmeno.prijmeni }}{% if row.spolecnici[i].jmeno.datum_naroz != "" %}, nar. {{ row.spolecnici[i].jmeno.datum_naroz }}{% endif %} {% endif %} + {% if row.spolecnici[i].spolecnik_fo_id == None %} {{ row.spolecnici[i].oznaceni_po.nazev }}{% if row.spolecnici[i].oznaceni_po.reg_cislo == 0 %}, IČ {{ row.spolecnici[i].oznaceni_po.ico }}{% endif %}{% if row.spolecnici[i].oznaceni_po.ico == 0 %}, reg č. {{ row.spolecnici[i].oznaceni_po.reg_cislo }}{% endif %} {% endif %} + <br>{{row.spolecnici[i].adresa.adresa_text}}</td> + <td>Zapsáno: {{ row.spolecnici[i].zapis_datum }} {% if row.spolecnici[i].vymaz_datum != 0 %} <br> Vymazáno: {{ row.spolecnici[i].vymaz_datum }} {% endif %} {{ row.spolecnici[i].podily}}</td> + </tr> + {% endfor %} + {% endif %} +<!-- END OF SPOLECNIK --> + {% if row.akcie|length > 0 %} <tr> <td>Akcie:</td> |