From a52388e1a55bb973c401350d9fb4633ef185ee61 Mon Sep 17 00:00:00 2001 From: Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> Date: Wed, 2 Jun 2021 21:40:23 +0200 Subject: initial commit to add display ubo feature --- templates/extract.html | 50 ++++++++++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 26 deletions(-) (limited to 'templates/extract.html') diff --git a/templates/extract.html b/templates/extract.html index 0c4efd0..6ff31de 100644 --- a/templates/extract.html +++ b/templates/extract.html @@ -137,32 +137,6 @@ {% set underlne_style_close = "" %} {% endif %} - - {% if row.zakladni_kapital[i].vklad_typ == "KORUNY" %} - {% set vklad_typ_symbol = "Kč" %} - {% set vklad_typ_description = row.zakladni_kapital[i].vklad_hodnota %} - {% elif row.zakladni_kapital[i].vklad_typ == "EURA" %} - {% set vklad_typ_symbol = "euro" %} - {% set vklad_typ_description = row.zakladni_kapital[i].vklad_hodnota %} - {% else %} - {% set vklad_typ_symbol = "" %} - {% set vklad_typ_description = row.zakladni_kapital[i].vklad_hodnota %} - {% endif %} - - {% if row.zakladni_kapital[i].splaceni_typ == "KORUNY" %} - {% set splaceni_typ_symbol = "Kč" %} - {% set splaceni_typ_description = row.zakladni_kapital[i].splaceni_hodnota %} - {% elif row.zakladni_kapital[i].splaceni_typ == "PROCENTA" %} - {% set splaceni_typ_symbol = "%" %} - {% set splaceni_typ_description = row.zakladni_kapital[i].splaceni_hodnota %} - {% elif row.zakladni_kapital[i].splaceni_typ == "EURA" %} - {% set splaceni_typ_symbol = "euro" %} - {% set splaceni_typ_description = row.zakladni_kapital[i].splaceni_hodnota %} - {% else %} - {% set splaceni_typ_symbol = "" %} - {% set splaceni_typ_description = row.zakladni_kapital[i].splaceni_hodnota %} - {% endif %} - {{ underlne_style_open|safe }} {% for elem in row.zakladni_kapital[i].my_rep() %} {{elem}}
{% endfor %} {{ underlne_style_close|safe }} {{ underlne_style_open|safe }} Zapsáno: {{ row.zakladni_kapital[i].zapis_datum }} {% if row.zakladni_kapital[i].vymaz_datum != 0 %}
Vymazáno: {{ row.zakladni_kapital[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }} @@ -498,6 +472,30 @@ {% endif %} + + {% if row.ubo|length > 0 %} + + Konečný vlastník: + + + + {% for i in range (row.ubo|length) %} + + + {% if row.ubo[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 %} + {{ underlne_style_open|safe }} {{row.ubo[i].jmeno }}
{{ubo_notes[i].jmeno.adresa }} {% if row.ubo[i].slovni_vyjadreni != "0" %}
{{row.ubo[i].slovni_vyjadreni }}
{% endif %} {{ underlne_style_close|safe }} + {{ underlne_style_open|safe }} Zapsáno: {{ row.ubo[i].zapis_datum }} {% if row.ubo[i].vymaz_datum != 0 %}
Vymazáno: {{ row.ubo[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }} + + {% endfor %} + {% endif %} + + {% if row.akcie|length > 0 %} {% for i in range (row.akcie|length) %} -- cgit