aboutsummaryrefslogtreecommitdiffstats
path: root/templates/extract.html
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-01 22:07:55 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-01 22:07:55 +0200
commita21983cbae1d7e2b7d1c0de694799a57a3886bd3 (patch)
tree1a83bb0c6a6308d8a366cd612111af497eaf9919 /templates/extract.html
parentd5be03206a83c09751d9c9bc73e0ad960d0dc487 (diff)
downloadjustice-a21983cbae1d7e2b7d1c0de694799a57a3886bd3.tar.gz
further update search by legal persons in a role
Diffstat (limited to 'templates/extract.html')
-rw-r--r--templates/extract.html3
1 files changed, 2 insertions, 1 deletions
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 %}
<td>{{ underlne_style_open|safe }}
- {{ row.dozorci_rada_text[i].clenove[j].jmeno }}<br>
+ {% 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Č <a href="/{{ row.dozorci_rada_text[i].clenove[j].jmeno_po.ico }}">{{ row.dozorci_rada_text[i].clenove[j].jmeno_po.ico }}</a>{% endif %} {% endif %}<br>
{{ row.dozorci_rada_text[i].clenove[j].adresa }}
{% if row.dozorci_rada_text[i].clenove[j].funkce_od != 0 %}<br>Den vzniku funkce: {{ row.dozorci_rada_text[i].clenove[j].funkce_od}}{% endif %}
{% if row.dozorci_rada_text[i].clenove[j].funkce_do != 0 %}<br>Den zániku funkce: {{ row.dozorci_rada_text[i].clenove[j].funkce_do}}{% endif %}