aboutsummaryrefslogtreecommitdiffstats
path: root/templates/extract.html
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-06-02 21:40:23 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-06-02 21:40:23 +0200
commita52388e1a55bb973c401350d9fb4633ef185ee61 (patch)
tree38ea2db1086c03ea704b77acd5a8be16d45b2a1c /templates/extract.html
parent6fe95caa7745348e80405c3dd9812efea1b4daa7 (diff)
downloadjustice-a52388e1a55bb973c401350d9fb4633ef185ee61.tar.gz
initial commit to add display ubo feature
Diffstat (limited to 'templates/extract.html')
-rw-r--r--templates/extract.html50
1 files changed, 24 insertions, 26 deletions
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 %}
- <!-- TODO: Have backend handle this -->
- {% 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 %}
-
<td>{{ underlne_style_open|safe }} {% for elem in row.zakladni_kapital[i].my_rep() %} {{elem}}<br>{% endfor %} {{ underlne_style_close|safe }}</td>
<td>{{ underlne_style_open|safe }} Zapsáno: {{ row.zakladni_kapital[i].zapis_datum }} {% if row.zakladni_kapital[i].vymaz_datum != 0 %} <br> Vymazáno: {{ row.zakladni_kapital[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }}</td>
</tr>
@@ -498,6 +472,30 @@
{% endif %}
<!-- END Display shareholders -->
+ <!-- Display UBO -->
+ {% if row.ubo|length > 0 %}
+ <tr>
+ <td>Konečný vlastník:</td>
+ <td></td>
+ <td></td>
+ </tr>
+ {% for i in range (row.ubo|length) %}
+ <tr>
+ <td></td>
+ {% 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 %}
+ <td>{{ underlne_style_open|safe }} {{row.ubo[i].jmeno }}<br>{{ubo_notes[i].jmeno.adresa }} {% if row.ubo[i].slovni_vyjadreni != "0" %}<br>{{row.ubo[i].slovni_vyjadreni }}</br>{% endif %} {{ underlne_style_close|safe }}</td>
+ <td>{{ underlne_style_open|safe }} Zapsáno: {{ row.ubo[i].zapis_datum }} {% if row.ubo[i].vymaz_datum != 0 %} <br> Vymazáno: {{ row.ubo[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }}</td>
+ </tr>
+ {% endfor %}
+ {% endif %}
+ <!-- END Display UBO -->
+
<!-- Display shares -->
{% if row.akcie|length > 0 %}
{% for i in range (row.akcie|length) %}