Issue Word Export

Hi!
I have a code that works really nicely and appears/disappears whenever needed online, however, when I download the word version of the document the highlighted point disappears
Can you perhaps advice?

Hi @lieels01,

Thank you very much for your question.

Do I understand correctly that the entire line, i.e. “1. Volmacht goor de formaliteiten” is not displayed in the Word version of the document?

I tried to replicate the code, using the print screen shared above, however, the number and the name of the section are still displayed.

The only situation where the information is not part of the word document is when the custom.proxy.formalities is false. However, in that case the number and the header of the section are also not visible in an input and export mode.

Thus, can you please confirm that it is still visible in both modes, but not in the word document.

Kind regards,

Irina

H Irina,

I can confirm that the code is visible in both modes, but not in the word document.

Kind regards,
liesa

Hi @lieels01,

Would you be willing to create a snippet of code that simulates the issue? That way, we can copy-paste it in our environment to see what’s going on :slightly_smiling_face:
And are you experiencing the same issue in another company-file?

The download should be exactly the same as when you would preview the template (the contents I mean, as visually the Word-file might be a bit different visually from what we see in Silverfin). So downloading is exactly the same as creating a PDF.

Hi Sven,

Please find herewith the entire code of the agenda, the issue is with the second last line “1. Volmacht voor de formaliteiten”. I’m not sure why, but when I paste the code her, the numbers change. In my own code, all these numbers are “1”.

{% ic %}
{::infotext}
{% input custom.approval.postponement as:boolean %}Goedkeuring van het uitstel/vervroegen van de jaarlijkse algemene vergadering van aandeelhouders
{% input custom.proxy.formalities as:boolean %}Volmacht voor de formaliteiten
{:/infotext}
{% endic %}

{% unless custom.approval.postponement == false %}

  1. Goedkeuring van het {% input custom.choice.postponement as:select options:“uitstel|vervroegen” %} van de jaarlijkse algemene vergadering van aandeelhouders{% endunless %}
  2. {% capture title_acknowledgement_report_directors %}Kennisname van het jaarverslag van de raad van bestuur{% endcapture %}{% input period.custom.title.acknowledgement_report_directors_nl default:title_acknowledgement_report_directors assign:title_acknowledgement_report_directors %} {% if commissaris %}
  3. {% capture title_acknowledgement_report_auditor %}Kennisname van het verslag van de commissaris{% endcapture %}{% input period.custom.title.acknowledgement_report_auditor_nl default:title_acknowledgement_report_auditor assign:title_acknowledgement_report_auditor %}{% unless geen_alarmbel %}{% if alarmbel %}{% if period.custom.alarmbel.uiteenzetting != true %}
  4. {% capture title_acknowledgement_report_alarmbelprocedure %}Kennisname van het bijzonder verslag van de raad van bestuur in toepassing van artikel {% if new_company_law %}{% if improper_cvba %}431 W. Venn.{% endif %}{% if NV %}7:228 WVV{% elsif CV %}6:119 WVV{% else %}{% if liquidity_test == true and balance_test == false %}5:153 §2 WVV{% elsif liquidity_test == false and balance_test == true %}5:153 §1 WVV{% elsif liquidity_test == true and balance_test == true %}5:153 §1-2 WVV{% endif %}{% endif %}{% else %}{% if company_form == ‘NV’ or company_form == ‘COMMVA’ %}633{% elsif company_form == ‘CVBA’ %}431{% else %}332{% endif %} W. Venn.{% endif %} {% assign result_7229 = {netto_actief | currency} %} {% unless result_7229 < 61500 %} en artikel 7:229 WVV{% else %} {% endunless %} {% endcapture %}{% input period.custom.title.acknowledgement_report_alarmbelprocedure_nl as:text default:title_acknowledgement_report_alarmbelprocedure assign:title_acknowledgement_report_alarmbelprocedure %}{% endif %}{% endif %}{% endunless %}{% if verlies_kapitaal and artikel_634 or artikel_333 or artikel_432 or artikel_657 or artikel_7_229 %}
    {% ifi alarmbel_remove_from_report %}
  5. {% capture title_loss_of_capital_gm %}Verlies van kapitaal beneden drempel artikel {% if artikel_333 %}333 W. Venn.{% elsif artikel_657 %}657 W. Venn.{% elsif artikel_432 %}432 {% if improper_cvba %}W. Venn.{% else %}WVV{% endif %}{% elsif artikel_7_229 %}7:229 WVV{% else %}634 W. Venn.{% endif %}{% endcapture %}{% input period.custom.title.loss_of_capital_gm_nl default:title_loss_of_capital_gm assign:title_loss_of_capital_gm %}{% endifi %}{% endif %}{% if belangenconflict %}
  6. {% capture title_conflict_of_interest_gm %}Bespreking met betrekking tot de eventuele ontbinding van de Vennootschap {{ belangen_conflict_artikel }} {% endcapture %}{% input period.custom.title.conflict_of_interest_gm_nl default:title_conflict_of_interest_gm assign:title_conflict_of_interest_gm %}{% endif %}
  7. {% capture title_approval_annual_accounts %}Goedkeuring van de jaarrekening afgesloten per {{ period.year_end_date | date:’%d/%m/%Y’ }}{% endcapture %}{% input period.custom.title.approval_annual_accounts_nl default:title_approval_annual_accounts assign:title_approval_annual_accounts %}
  8. {% capture title_appropriation_result %}{% if profit %}Bestemming{% else %}Verwerking{% endif %} van het resultaat{% endcapture %}{% input period.custom.title.appropriation_result_nl default:title_appropriation_result assign:title_appropriation_result %} {% if liq_res %}
  9. {% capture title_liquidation_reserve %}Aanleg liquidatiereserve{% endcapture %}{% input period.custom.title.liquidation_reserve_nl default:title_liquidation_reserve assign:title_liquidation_reserve %} {% endif %}
  10. {% capture title_discharge_directors %}Kwijting {% if new_company_law %}{% case director_type %}{% when ‘board_of_directors’ %}bestuursorgaan{% when ‘manager’ %}zaakvoerder{% when ‘managers’ %}zaakvoerders{% when ‘collegiate_body’ %}bestuursorgaan{% when ‘director’ %}bestuursorgaan{% else %}bestuursorgaan{% endcase %}{% else %}{% case director_type %}{% when ‘zaakvoerder’ %}zaakvoerder{% when ‘zaakvoerders’ %}{% if college %}college van zaakvoerders{% else %}zaakvoerders{% endif %}{% when ‘bestuurder’ %}bestuurder{% when ‘bestuurders’ %}{% if CVBA or CVOA %}{% if college %}raad van bestuur{% else %}bestuurders{% endif %}{% else %}raad van bestuur{% endif %}{% endcase %}{% endif %}{% if commissaris %} en commissaris {% endif %} voor de uitoefening van {% if new_company_law %}{% case director_type %}{% when ‘manager’ or ‘zaakvoerder’ or ‘bestuurder’ or ‘director’ %}{% if commissaris != true %}zijn/haar{% else %}hun{% endif %}{% else %}hun{% endcase %}{% else %}{% if director_type == ‘zaakvoerder’ or director_type == ‘bestuurder’ or director_type == ‘manager’ or director_type == ‘director’ %}{% if commissaris != true %}zijn/haar{% endif %}{% else %}hun{% endif %}{% endif %} mandaat over het afgelopen boekjaar {% if new_company_law %}{% endif %}
    {% endcapture %}{% input period.custom.title.discharge_directors_nl default:title_discharge_directors assign:title_discharge_directors %} {% if kwijting_accountant %}
  11. {% capture title_discharge_firm_1 %}Kwijting {% endcapture %}{% capture title_discharge_firm_2 %} voor de uitoefening van hun mandaat over het afgelopen boekjaar{% endcapture %}{% input period.custom.title.discharge_firm_1_nl default:title_discharge_firm_1 assign:title_discharge_firm_1 %} {% input company.custom.notulen.office_options as:select options:‘accountantskantoor|boekhoudkantoor|bedrijfsrevisorenkantoor’ option_values:‘1|2|3’ default:default_office_options %} {% input company.custom.notulen.kantoor %}{% input period.custom.title.discharge_firm_2_nl default:title_discharge_firm_2 assign:title_discharge_firm_2 %} {% endif %}{% if vergadering_op_ander_tijdstip %}{% unless period.custom.postponement.meeting or period.custom.bring_forward.meeting %}
  12. {% capture title_discharge_delay_meeting %}Kwijting {% if new_company_law %}{% case director_type %}{% when ‘board_of_directors’ %}bestuursorgaan {% when ‘manager’ %}zaakvoerder {% when ‘managers’ %}zaakvoerders {% when ‘collegiate_body’ %}bestuursorgaan {% when ‘director’ %}bestuursorgaan {% else %}bestuursorgaan {% endcase %}{% else %}{% case director_type %}{% when ‘zaakvoerder’ %}zaakvoerder {% when ‘zaakvoerders’ %}zaakvoerders {% when ‘bestuurder’ %}bestuurder {% when ‘bestuurders’ %}{% if CVBA or CVOA %}{% if college %}raad van bestuur {% else %}bestuurders {% endif %}{% else %}raad van bestuur {% endif %}{% endcase %}{% endif %}{% if NV or CV or BV %}voor de overtreding van artikel {% endif %}{% if new_company_law %}{% if NV %}7:147 WVV {% elsif CV %}6:81 WVV {% elsif BV %}5:96 WVV {% endif %}{% else %}{% case director_type %}{% when ‘zaakvoerder’ or ‘zaakvoerders’ %}282{% when ‘bestuurders’ or ‘bestuurder’ %}552{% endcase %} W. Venn. {% endif %}met betrekking tot plaats en datum van de algemene vergadering{% endcapture %}{% input period.custom.title.discharge_delay_meeting_nl default:title_discharge_delay_meeting assign:title_discharge_delay_meeting %}{% endunless %}{% endif %}{% if jaarrekening_laattijdig %}
  13. {% capture title_discharge_delay_accounts %}Kwijting {% if new_company_law %}{% case director_type %}{% when ‘board_of_directors’ %}bestuursorgaan{% when ‘manager’ %}zaakvoerder{% when ‘managers’ %}zaakvoerders{% when ‘collegiate_body’ %}bestuursorgaan{% when ‘director’ %}bestuursorgaan{% else %}bestuursorgaan{% endcase %}{% else %}{% case director_type %}{% when ‘zaakvoerder’ %}zaakvoerder{% when ‘zaakvoerders’ %}zaakvoerders{% when ‘bestuurder’ %}bestuurder{% when ‘bestuurders’ %}{% if CVBA or CVOA %}{% if college %}raad van bestuur{% else %}bestuurders{% endif %}{% else %}raad van bestuur{% endif %}{% endcase %}{% endif %} voor de overtreding van artikel {% if new_company_law %}3:1, §1, 2e alinea WVV{% else %}92, §1, 2e alinea W. Venn.{% endif %}{% endcapture %}{% input period.custom.title.discharge_delay_accounts_nl default:title_discharge_delay_accounts assign:title_discharge_delay_accounts %}{% ic %}(goedkeuring jaarrekening door AV binnen 6 maand na afsluiting){% endic %}{% endif %}{% if ontslag_zaakvoerders %}
  14. {% capture title_resignation %}Ontslag {% if new_company_law %}{% if director_type == ‘manager’ or director_type == ‘managers’ %}zaakvoerder(s){% else %} bestuurder(s){% endif %}{% else %}{% if director_type == ‘bestuurders’ %}bestuurder(s){% elsif director_type == ‘bestuurder’ %}bestuurder{% else %}zaakvoerder(s){% endif %}{% endif %}{% endcapture %}{% input period.custom.title.resignation_nl default:title_resignation assign:title_resignation %}{% endif %}{% if herbenoeming_zaakvoerders %}
  15. {% capture title_nomination %}{{ zaakvoerder_benoeming }} {% if new_company_law %}{% if director_type == ‘manager’ or director_type == ‘managers’ %}zaakvoerder(s){% else %}bestuurder(s){% endif %}{% else %}{% if director_type == ‘bestuurders’ or director_type == ‘bestuurder’ %}bestuurder(s){% else %}zaakvoerder(s){% endif %} {% endif %}{% endcapture %}{% input period.custom.title.nomination_nl default:title_nomination assign:title_nomination %}{% endif %}{% if herbenoeming_coopted_director %}
  16. {% capture title_nomination_coopted %}{{ coopted_director_benoeming }} gecoöpteerde bestuurder(s){% endcapture %} {% input period.custom.title.nomination_coopted_nl default:title_nomination_coopted assign:title_nomination_coopted %}{% endif %}{% if toekomstige_bezoldiging %}
  17. {% capture title_future_remuneration %}Verklaring over de toekomstige bezoldiging van de {% if new_company_law %}{% case director_type %}{% when ‘manager’ or ‘managers’ %}zaakvoerder(s){% else %}bestuurder(s){% endcase %}{% else %}{% case director_type %}{% when ‘zaakvoerder’ or ‘zaakvoerders’ %}zaakvoerder(s){% when ‘bestuurders’ %}bestuurder(s){% when ‘bestuurder’ %}bestuurder{% endcase %}{% endif %}{% endcapture %}{% input period.custom.title.future_remuneration_nl default:title_future_remuneration assign:title_future_remuneration %}{% endif %}{% if herbenoeming_commissaris %}
  18. {% capture title_nomination_auditor %}{{ commissaris_benoeming }} commissaris{% endcapture %}{% input period.custom.title.nomination_auditor_nl default:title_nomination_auditor assign:title_nomination_auditor %}{% endif %}{% if neerlegging_soc_balans %}
  19. {% capture title_deposit_social_report %}Neerlegging sociale balans{% endcapture %}{% input period.custom.title.social_report_nl default:title_deposit_social_report assign:title_deposit_social_report %}{% endif %}{% if period.custom.bring_forward.meeting %}
  20. {% capture title_discharge_bring_forward_meeting %}Kwijting {% if new_company_law %}{% case director_type %}{% when ‘board_of_directors’ %}bestuursorgaan{% when ‘manager’ %}zaakvoerder{% when ‘managers’ %}zaakvoerders{% when ‘collegiate_body’ %}bestuursorgaan{% when ‘director’ %}bestuursorgaan{% else %}bestuursorgaan{% endcase %}{% else %}{% case director_type %}{% when ‘zaakvoerder’ %}zaakvoerder{% when ‘zaakvoerders’ %}zaakvoerders{% when ‘bestuurder’ %}bestuurder{% when ‘bestuurders’ %}{% if CVBA or CVOA %}{% if college %}raad van bestuur{% else %}bestuurders{% endif %}{% else %}raad van bestuur{% endif %}{% endcase %}{% endif %} met betrekking tot datum van de algemene vergadering die in afwijking van de statuten vervroegd plaatsvindt{% endcapture %}{% input period.custom.title.discharge_bring_forward_meeting default:title_discharge_bring_forward_meeting %}{% nic %}
    {% endnic %}{% input period.custom.reason.bring_forward_meeting_nl as:text placeholder:“Reden voor de vervroegde algemene vergadering.” %}{% endif %}{% fori varia in period.custom.varia %}{% capture varia_titel %}{% endcapture %}{% if varia.titel != blank %}{% capture varia_titel %}{{ varia.titel }}{% endcapture %}{% endif %}
    {% unless custom.proxy.formalities == false %}
  21. Volmacht voor de formaliteiten {% endunless %}
  22. {% input varia.titel_nl default:varia_titel placeholder:’’%}{% endfori%}{% if period.custom.av.varia != blank and period.custom.av.varia != “Nihil.” %}{% endif %}

{% endif %}

Hi @sven

I found the issue. Than you for all your help!