Legal reporting - Reappointment director's

Hello,

Because of the change of the name of the custom field in the disclosure “Shareholders/Associates & Governance body/Managers” for the data of the address under the title “Details representative and mandate”, I had to do a change in our code to retrieve the data of the address.

{% capture options3 %}{% for zaakvoerder in period.directors %}{% if zaakvoerder.custom.represented_by_name == blank %}{{zaakvoerder.name}}|{% endif %}{% endfor %}{% endcapture %}
{% capture rechtspersoon_opties3 %}{% for director in period.directors %}{% if director.custom.represented_by_name != blank %}{{director.name}}|{% endif %}{% endfor %}{% endcapture %}
{% fori herbenoeming_bestuurder in period.custom.herbenoeming_bestuurder %}
- {% ic %}*{% input herbenoeming_bestuurder.benoeming_type as:select options:type_bestuurder option_values:'1|2' %}*{% endic %}{% if herbenoeming_bestuurder.benoeming_type ==1 %}{% input herbenoeming_bestuurder.benoeming_geslacht as:select options:geslacht_bestuurder option_values:'1|2' %} {% input herbenoeming_bestuurder.options3 options:options3 as:select %}{% for zaakvoerder3 in period.directors %}{% assign zaakvoerder_name = zaakvoerder3.name %} {% if zaakvoerder_name == herbenoeming_bestuurder.options3 %}{% assign zaakvoerder = zaakvoerder3 %}{% break %}{% endif %}{% endfor %}{% if herbenoeming_bestuurder.benoeming_geslacht ==1 %}{% t "t_wonende_te" %}{% elsif herbenoeming_bestuurder.benoeming_geslacht ==2 %}{% t "t_wonende_te_v" %}{% endif %} {% if zaakvoerder.custom.street != blank or zaakvoerder.custom.street_number != blank %}{{ zaakvoerder.custom.street }} {{ zaakvoerder.custom.street_number }}{% else %}{{ zaakvoerder.address_1 }}{% endif %}, {{ zaakvoerder.custom.postal_code }} {{ zaakvoerder.custom.city }}{% endif %}{% if herbenoeming_bestuurder.benoeming_type ==2 %}{% input herbenoeming_bestuurder.rechtspersoon_opties3 as:select options:rechtspersoon_opties3 %}{% for director3 in period.directors %}{% assign director_name = director3.name %} {% if director_name == herbenoeming_bestuurder.rechtspersoon_opties3 %}{% assign director = director3 %}{% break %}{% endif %}{% endfor %}{% t "t_Ondernemingsnummer" %} {{ director.custom.vat_identifier }}){% t "t_met_zetel_te" %} {% if director.custom.street != blank or director.custom.street_number != blank %}{{ director.custom.street }} {{ director.custom.street_number }}{% else %}{{ director.address_1 }}{% endif %}, {{ director.custom.postal_code }} {{ director.custom.city }}{% t "t_vertegenwoordiging" %} {% input herbenoeming_bestuurder.geslacht as:select options:geslacht_bestuurderRP option_values:'1|2' %} {{director.custom.represented_by_name}} {% if herbenoeming_bestuurder.geslacht ==1 %}{% t "t_wonende_te2" %}{% elsif herbenoeming_bestuurder.geslacht ==2 %}{% t "t_wonende_te2_v" %}{% endif %} {{ director.custom.represented_by_street }} {{ director.custom.represented_by_street_nbr }}, {{ director.custom.represented_by_postal_code }} {{ director.person.custom.represented_by_city }}{% endif %}{% endfori %}{% endif %}

I have now a red error at the top of the disclosure now:

How can I resolve the problem?

Thanks a lot,

Sylvie

I solved my problem.