aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/extract-actual.html58
-rw-r--r--templates/extract.html37
2 files changed, 87 insertions, 8 deletions
diff --git a/templates/extract-actual.html b/templates/extract-actual.html
index f24cb80..691dae3 100644
--- a/templates/extract-actual.html
+++ b/templates/extract-actual.html
@@ -49,7 +49,6 @@
{% endif %}
{% endfor %}
-
{% set vacant_shares_notes = [] %}
{% for i in range (row.spolecnici_uvolneny_podil|length) %}
{% if row.spolecnici_uvolneny_podil[i].vymaz_datum == 0 %}
@@ -57,6 +56,13 @@
{% endif %}
{% endfor %}
+{% set common_shares_notes = [] %}
+{% for i in range (row.spolecnici_spolecny_podil|length) %}
+ {% if row.spolecnici_spolecny_podil[i].vymaz_datum == 0 %}
+ {% set common_shares_notes = common_shares_notes.append(row.spolecnici_spolecny_podil[i]) %}
+ {% endif %}
+{% endfor %}
+
{% set sole_shareholder_notes = [] %}
{% for i in range (row.jediny_akcionar|length) %}
{% if row.jediny_akcionar[i].vymaz_datum == 0 %}
@@ -376,7 +382,7 @@
<!-- END Display sole shareholder -->
<!-- Display shareholders -->
- {% if spolecnici_notes|length > 0 or vacant_shares_notes|length > 0 %}
+ {% if spolecnici_notes|length > 0 or vacant_shares_notes|length > 0 or common_shares_notes|length > 0 %}
<tr>
<td>Společníci:</td>
<td></td>
@@ -433,6 +439,54 @@
{% endfor %}
<!-- END Display vacant shares -->
+ <!-- Display common shares -->
+ {% for i in range (common_shares_notes|length) %}
+ <tr>
+ <td style = padding-left:2em>Společný obchodní podíl:</td>
+ <td>{% if common_shares_notes[i].text_spolecny_podil != "0" %}{{ common_shares_notes[i].text_spolecny_podil }}{% endif %}</td>
+ </tr>
+ {% set common_shares = [] %}
+ {% for j in range (common_shares_notes[i].podily|length) %}
+ {% if common_shares_notes[i].podily[j].vymaz_datum == 0 %}
+ {% set common_shares = common_shares.append(common_shares_notes[i].podily[j]) %}
+ {% endif %}
+ {% endfor %}
+
+ {% for k in range (common_shares|length) %}
+ <tr>
+ <td style = padding-left:4em>Podíl:</td>
+ <td>
+ {% for elem in common_shares[k].my_rep() %}
+ {{ elem }}<br>
+ {% endfor %}
+ </td>
+ </tr>
+ {% endfor %}
+
+ {% set common_shares_shareholders = [] %}
+ {% for j in range (common_shares_notes[i].podilnici|length) %}
+ {% if common_shares_notes[i].podilnici[j].vymaz_datum == 0 %}
+ {% set common_shares_shareholders = common_shares_shareholders.append(common_shares_notes[i].podilnici[j]) %}
+ {% endif %}
+ {% endfor %}
+
+ {% for k in range (common_shares_shareholders|length) %}
+ <tr>
+ <td style = padding-left:4em>Podílník:</td>
+ <td>
+ {% if common_shares_shareholders[k].podilnik_fo_id != None %}
+ {{ common_shares_shareholders[k].jmeno }}
+ {% else %}
+ {{ common_shares_shareholders[k].oznaceni_po.nazev }}{% if common_shares_shareholders[k].oznaceni_po.reg_cislo != 0 %}, reg č. {{ common_shares_shareholders[k].oznaceni_po.reg_cislo }}{% endif %}{% if common_shares_shareholders[k].oznaceni_po.ico != 0 %}, IČ <a href="/{{ common_shares_shareholders[k].oznaceni_po.ico }}">{{ common_shares_shareholders[k].oznaceni_po.ico }}</a>{% endif %}
+ {% endif %}
+ <br>{{ common_shares_shareholders[k].adresa }}
+ </td>
+ </tr>
+ {% endfor %}
+
+ {% endfor %}
+ <!-- END Display common shares -->
+
{% endif %}
<!-- END Display shareholders -->
diff --git a/templates/extract.html b/templates/extract.html
index ec58487..9eb1985 100644
--- a/templates/extract.html
+++ b/templates/extract.html
@@ -530,7 +530,7 @@
<td>{{ underlne_style_open|safe }} Zapsáno: {{ row.spolecnici_spolecny_podil[i].zapis_datum }} {% if row.spolecnici_spolecny_podil[i].vymaz_datum != 0 %} <br> Vymazáno: {{ row.spolecnici_spolecny_podil[i].vymaz_datum }} {% endif %} {{ underlne_style_close|safe }}</td>
</tr>
- <!-- Insert individual vacant ownership interests -->
+ <!-- Insert individual common ownership interests -->
{% if row.spolecnici_spolecny_podil[i].podily|length > 0 %}
{% for j in range (row.spolecnici_spolecny_podil[i].podily|length) %}
@@ -553,15 +553,40 @@
</tr>
{% endfor %}
{% endif %}
- <!-- END of individual vacant ownership interests -->
- {% endfor %}
+ <!-- END of individual common ownership interests -->
+ <!-- Insert individual co-shareholders -->
+ {% if row.spolecnici_spolecny_podil[i].podilnici|length > 0 %}
+
+ {% for j in range (row.spolecnici_spolecny_podil[i].podilnici|length) %}
+ <tr>
+ <td style = padding-left:4em>Podílník:</td>
+ {% if row.spolecnici_spolecny_podil[i].podilnici[j].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 }}
+ {% if row.spolecnici_spolecny_podil[i].podilnici[j].podilnik_fo_id != None %}
+ {{ row.spolecnici_spolecny_podil[i].podilnici[j].jmeno }}
+ {% else %}
+ {{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.nazev }}{% if row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.reg_cislo != 0 %}, reg č. {{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.reg_cislo }}{% endif %}{% if row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.ico != 0 %}, IČ <a href="/{{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.ico }}">{{ row.spolecnici_spolecny_podil[i].podilnici[j].oznaceni_po.ico }}</a>{% endif %}
+ {% endif %}
+ <br>{{ row.spolecnici_spolecny_podil[i].podilnici[j].adresa }}
+ {{ underlne_style_close|safe }}
+ </td>
+ <td>{{ underlne_style_open|safe }}Zapsáno: {{ row.spolecnici_spolecny_podil[i].podilnici[j].zapis_datum }} {% if row.spolecnici_spolecny_podil[i].podilnici[j].vymaz_datum != 0 %}<br>Vymazáno: {{ row.spolecnici_spolecny_podil[i].podilnici[j].vymaz_datum }}{% endif %}{{ underlne_style_close|safe }}</td>
+ </tr>
+ {% endfor %}
+{% endif %}
+ <!-- END of individual co-shareholders -->
+ {% endfor %}
<!-- END of common ownership interests -->
-
-
-{% endif %}
+ {% endif %}
<!-- END Display shareholders -->
<!-- Display UBO -->