Hello,
We want to make our own document instead of using ‘bedrijfsparameters’ because we want to use some other information in our document.
I’ve tried this yesterday but I have a few problems.
- Is it possible to receive the date of foundation from AdminIS into my document?
- I’ve used ‘input custom.soms.thing as selected option’ twice in my document for 2 different things but
when I fill in the second one, the first one also changes. What did I do wrong? - In the second input selected option (bestuurders…), all the directors are visible, but is it possible to also
see their position in the company? Link from AdminIS?
Thank you.
My template :
{% stripnewlines %}
{::font size=“m”}BEDRIJFSPARAMETERS VAN DE VENNOOTSCHAP{:/font}
{% newline %}
{% endstripnewlines %}
{% stripnewlines %}
{% newline %}
→ {::font size=“xl”} {{ company.name }} {{ company_form }}{:/font} ←
{% endstripnewlines %}
{% stripnewlines %}
|Oprichtingsdatum:|{% input period.custom.some.thing %}
{% newline %}
|{% input custom.some.thing as:select options:“Kapitaal|Onbeschikbare inbreng” %}:|{% input custom.additional.explanation as:text placeholder:"" %} EURO
{% newline %}
|Rechtsvorm:|{{ company.company_form }}
{% newline %}
|Adres:|{{ company.street }}, {{ company.city }} ( {{ company.country }} )
{% newline %}
|Ondernemingsnummer:|{{ company.vat_identifier }}
{% newline %}
|Ondernemingsrechtbank:|{{ rpr_naam }}
{% comment %}Show the correct RPR{% endcomment %}
{% assign courts_array = “31;Brussel, Franstalige|32;Brussel, Nederlandstalige|3;Antwerpen, afdeling Antwerpen|10;Antwerpen, afdeling Hasselt|17;Antwerpen, afdeling Mechelen|25;Antwerpen, afdeling Tongeren|27;Antwerpen, afdeling Turnhout|30;Eupen|5;Gent, afdeling Brugge|7;Gent, afdeling Dendermonde|9;Gent, afdeling Gent|12;Gent, afdeling Ieper|13;Gent, afdeling Kortrijk|22;Gent, afdeling Oostende|23;Gent, afdeling Oudenaarde|29;Gent, afdeling Veurne|14;Leuven|4;Liège, afdeling Arlon|8;Liège, afdeling Dinant|11;Liège, afdeling Huy|15;Liège, afdeling Liège|16;Liège, afdeling Marche-en-Famenne|19;Liège, afdeling Namur|20;Liège, afdeling Neufchâteau|28;Liège, afdeling Verviers|6;Hainaut, afdeling Charleroi|18;Hainaut, afdeling Mons|26;Hainaut, afdeling Tournai|21;Waals-Brabant, afdeling Nijvel” | split:"|" %}
{% comment %}the string value RPR is pushed to company.custom.rpr.name while the XBRL code is to company.custom.rpr.naam{% endcomment %}
{% assign full_name_rpr = company.custom.rpr.name %}
{% assign code_rpr = company.custom.rpr.naam %}
{% comment %}RPR from the dropdown is shown, otherwise the string is shown{% endcomment %}
{% if code_rpr == blank %}
{% assign rpr_naam = full_name_rpr %}
{% else %}
{% if code_rpr != blank %}
{% for court in courts_array %}
{% assign court_array = court | split:";" %}
{% assign code = court_array[0] %}
{% assign name = court_array[1] %}
{% if INT(code_rpr) == INT(code) %}
{% assign rpr_naam = name %}
{% break %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% if rpr_naam != blank %}
{% assign rpr_naam = rpr_naam | prepend:"RPR. " %}
{% endif %}
{{ rpr_naam }}
{% newline %} |{% input custom.some.thing as:select options:"Bestuurder|Zaakvoerder|Bestuurders|Zaakvoerders" %}:|{{ active_directors_bookyear | split:";" % }} {% assign active_directors_bookyear = period.directors.active_as_director %} {% for person in active_directors_bookyear %} {{ person.name }}
{% endfor %}
{% endstripnewlines %}