From 2f155dbfcb4c7858d2974d85924b4899f2f518d7 Mon Sep 17 00:00:00 2001 From: Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> Date: Wed, 17 Feb 2021 23:21:25 +0100 Subject: Trying to display the company representatives --- templates/extract.html | 64 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 60 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/extract.html b/templates/extract.html index adc47ea..c06d54b 100644 --- a/templates/extract.html +++ b/templates/extract.html @@ -164,13 +164,38 @@ Identifikační číslo: {{ ico_buffer|join("") }}{{ row.ico }} - + Zapsáno: {{den}}. {{mesic}} {{zapis_split[0]}} + + + {% if row.pravni_forma_text|length > 0 %} - Právní forma: - {{ row.pravni_forma[0].pravni_forma }} - + Právní forma + {% if row.pravni_forma_text[0].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.pravni_forma_text[0].pravni_forma_text.pravni_forma }} {{ underlne_style_close|safe }} + {{ underlne_style_open|safe }} Zapsáno: {{ row.pravni_forma_text[0].zapis_datum }} {% if row.pravni_forma_text[0].vymaz_datum != 0 %}
Vymazáno: {{ row.pravni_forma_text[0].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }} + {% for i in range (1, row.pravni_forma_text|length) %} + + + {% if row.pravni_forma_text[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.pravni_forma_text[i].pravni_forma_text.pravni_forma }} {{ underlne_style_close|safe }} + {{ underlne_style_open|safe }} Zapsáno: {{ row.pravni_forma_text[i].zapis_datum }} {% if row.pravni_forma_text[i].vymaz_datum != 0 %}
Vymazáno: {{ row.pravni_forma_text[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }} + + {% endfor %} + {% endif %} {% if row.zakladni_kapital|length > 0 %} @@ -312,6 +337,37 @@ {% endfor %} {% endif %} + {% if row.statutarni_organ_text|length > 0 %} + + {{ row.statutarni_organ_text[0].statutarni_organ_text.statutarni_organ_text }}: + {% if row.statutarni_organ_text[0].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 }} {{ underlne_style_close|safe }} + {{ underlne_style_open|safe }} Zapsáno: {{ row.statutarni_organ_text[0].zapis_datum }} {% if row.statutarni_organ_text[0].vymaz_datum != 0 %}
Vymazáno: {{ row.statutarni_organ_text[0].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }} + + {% for i in range (1, row.statutarni_organ_text|length) %} + + {{ row.statutarni_organ_text[i].statutarni_organ_text.statutarni_organ_text }}: + {% if row.statutarni_organ_text[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 }} {{ underlne_style_close|safe }} + {{ underlne_style_open|safe }} Zapsáno: {{ row.statutarni_organ_text[i].zapis_datum }} {% if row.statutarni_organ_text[i].vymaz_datum != 0 %}
Vymazáno: {{ row.statutarni_organ_text[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }} + + {% endfor %} + {% endif %} + + + {% if row.akcie|length > 0 %} Akcie: -- cgit