diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-04 21:11:19 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-04 21:11:19 +0200 |
commit | 9fa9616a36cf9635fd6922cfa5875efdc491c0d0 (patch) | |
tree | cd3deb62cbabeda9e1ab18f8e40d4d05966aaa65 /templates/extract-actual.html | |
parent | 2d8d74a12ef5c3aadd9981e2750c7dd75f5e23af (diff) | |
download | justice-9fa9616a36cf9635fd6922cfa5875efdc491c0d0.tar.gz |
Add feature to display purpose of an entity
Diffstat (limited to 'templates/extract-actual.html')
-rw-r--r-- | templates/extract-actual.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/extract-actual.html b/templates/extract-actual.html index ab19efc..af8e810 100644 --- a/templates/extract-actual.html +++ b/templates/extract-actual.html @@ -21,6 +21,13 @@ {% endif %} {% endfor %} +{% set ucel_notes = [] %} +{% for i in range (row.ucel|length) %} + {% if row.ucel[i].vymaz_datum == 0 %} + {% set ucel_notes = ucel_notes.append(row.ucel[i].ucel.ucel) %} + {% endif %} +{% endfor %} + {% set zakladni_kapital_notes = [] %} {% for i in range (row.zakladni_kapital|length) %} {% if row.zakladni_kapital[i].vymaz_datum == 0 %} @@ -255,6 +262,17 @@ {% endif %} <!-- END Display areas of activities --> + <!-- Display purpose --> + {% if ucel_notes|length > 0 %} + {% for i in range (ucel_notes|length) %} + <tr> + <td>{% if i == 0%}Účel:{% endif %}</td> + <td>{{ ucel_notes[i] }}</td> + </tr> + {% endfor %} + {% endif %} + <!-- END Display purpose --> + <!-- Display statutory bodies --> {% if statutarni_organ_notes|length > 0 %} {% for i in range (statutarni_organ_notes|length) %} |