From a21983cbae1d7e2b7d1c0de694799a57a3886bd3 Mon Sep 17 00:00:00 2001
From: Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com>
Date: Sat, 1 May 2021 22:07:55 +0200
Subject: further update search by legal persons in a role
---
templates/extract-actual.html | 3 ++-
templates/extract.html | 3 ++-
templates/results_entities.html | 5 ++---
3 files changed, 6 insertions(+), 5 deletions(-)
(limited to 'templates')
diff --git a/templates/extract-actual.html b/templates/extract-actual.html
index 791b260..6bf6087 100644
--- a/templates/extract-actual.html
+++ b/templates/extract-actual.html
@@ -325,7 +325,8 @@
{% if dozorci_rada_notes[i].clenove[j].vymaz_datum == 0 %}
{% if dozorci_rada_notes[i].clenove[j].funkce != "0" %} {{dozorci_rada_notes[i].clenove[j].funkce }} {% endif %} |
- {{ dozorci_rada_notes[i].clenove[j].jmeno }}
+ | {% if dozorci_rada_notes[i].clenove[j].jmeno != None %}{{ dozorci_rada_notes[i].clenove[j].jmeno }}
+ {% else %}{{ dozorci_rada_notes[i].clenove[j].jmeno_po.nazev}}{% if dozorci_rada_notes[i].clenove[j].jmeno_po.reg_cislo != 0 %}, reg č. {{ dozorci_rada_notes[i].clenove[j].jmeno_po.reg_cislo }}{% endif %}{% if dozorci_rada_notes[i].clenove[j].jmeno_po.ico != 0 %}, IČ {{ dozorci_rada_notes[i].clenove[j].jmeno_po.ico }}{% endif %} {% endif %}
{{ dozorci_rada_notes[i].clenove[j].adresa }}
{% if dozorci_rada_notes[i].clenove[j].funkce_od != 0 %} Den vzniku funkce: {{ dozorci_rada_notes[i].clenove[j].funkce_od}}{% endif %}
{% if dozorci_rada_notes[i].clenove[j].clenstvi_od != 0 %} Den vzniku členství: {{ dozorci_rada_notes[i].clenove[j].clenstvi_od}}{% endif %} |
diff --git a/templates/extract.html b/templates/extract.html
index 034bdb2..3600cd5 100644
--- a/templates/extract.html
+++ b/templates/extract.html
@@ -341,7 +341,8 @@
{% set underlne_style_close = "" %}
{% endif %}
{{ underlne_style_open|safe }}
- {{ row.dozorci_rada_text[i].clenove[j].jmeno }}
+ {% if row.dozorci_rada_text[i].clenove[j].jmeno != None %}{{ row.dozorci_rada_text[i].clenove[j].jmeno }}
+ {% else %}{{ row.dozorci_rada_text[i].clenove[j].jmeno_po.nazev}}{% if row.dozorci_rada_text[i].clenove[j].jmeno_po.reg_cislo != 0 %}, reg č. {{ row.dozorci_rada_text[i].clenove[j].jmeno_po.reg_cislo }}{% endif %}{% if row.dozorci_rada_text[i].clenove[j].jmeno_po.ico != 0 %}, IČ {{ row.dozorci_rada_text[i].clenove[j].jmeno_po.ico }}{% endif %} {% endif %}
{{ row.dozorci_rada_text[i].clenove[j].adresa }}
{% if row.dozorci_rada_text[i].clenove[j].funkce_od != 0 %} Den vzniku funkce: {{ row.dozorci_rada_text[i].clenove[j].funkce_od}}{% endif %}
{% if row.dozorci_rada_text[i].clenove[j].funkce_do != 0 %} Den zániku funkce: {{ row.dozorci_rada_text[i].clenove[j].funkce_do}}{% endif %}
diff --git a/templates/results_entities.html b/templates/results_entities.html
index 3b87fc5..b45b65f 100644
--- a/templates/results_entities.html
+++ b/templates/results_entities.html
@@ -59,8 +59,7 @@
{% endif %}
{% endfor %}
-
-
+ {% endfor %}
{% for elem in test_list %}
{% if count.value % 2 == 0 %}
--
cgit
|