Dear,
I’ve written code below. In document modus in my file the table below the {% nic %}{% endnic %} is working properly as well as in the export modus. However in input modus in reconciliation template the table is not displaying in its required proportion.
Could someone clarify the issue I’m encountering?
Kind regards,
Glenn
{% ifi accounts_a != empty or custom.a != empty %}
| | |{% t "Total amount" %} |{% t"Percentage" %} | | {% t"Amount disallowed" %}{% ic %} | {% t"Code" %}{% endic %}
|:-5%--|:-40%-------|--14%---:|:-12%---:|--14%--:|--14%---:{% ic %}|-8%--:{% endic %}+
{% stripnewlines %}
| {% unless accounts_a != empty or custom.a != empty %}{% input custom.non_deductible.taxes as:boolean default:'true' %}{% endunless %}
|**{% t "Non deductible taxes" %}** {% input custom.accounts.a as:account_collection range:6,7 %}{% assign $1 = 0 %}
|
|
|
|
|
{% endstripnewlines %}
{% if custom.non_deductible.taxes != 'false' %}
|:-5%--|:-40%-------|--14%---:|:-12%---:|--14%--:|--14%---:{% ic %}|-8%--:{% endic %}+{%for account in accounts_a %}
{% stripnewlines %}
|
|{% ic %} {% endic %}{{ account.number }} {{ account.name }}
|{%=$1+ account.value %}
|
|
|
|
{% endstripnewlines %}{% endfor %}{% fori extra in custom.a %}
{% stripnewlines %}
|
|{% ic %} {% endic %}{% input extra.description placeholder:' ' %}
|{%=$1+input extra.value as:currency placeholder:' '%}
|
|
|
|
{% endstripnewlines %}{% endfori %} {% if $1 < 0 %} {% result 'belastingen' $1 %} {% endif %}
{% nic %}
|:-5%--|:-40%-------|--14%---:|:-12%---:|--14%--:|--14%---:|-8%--:+
| | |__|
{% endnic %}
|:-5%--|:-40%-------|--14%---:|:-12%---:|--14%--:|--14%---{% ic %}:|-8%--:{% endic %}+
{% stripnewlines %}
|
|
|*{{ $1 | currency }}*
|100%
|
|{% result 'non_deductible_taxes' $1 %}{% if $1 > 0 %} **{%=$0+ $1 | round | currency %}** {% else %} **{{ 0,00 | currency }}** {% endif %}{% ic %}
|*1201* {% endic %}
{% endstripnewlines %}