Table code working in document and export but not in reconciliation input

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 %}

Hi Community,

Did someone had yet the opportunity to look at my problem?
It is quite urgent, so would love to get feedback!

Kind regards,

Glenn

Hello @GMOONS,

I’m not sure if I understand your question.

You’ve created a table between nic-tags, which means the table will only be displayed in an export (nic = not input comment).

I can’t test the code because there seems to be a part missing. So perhaps you could put the whole code here, so I can simulate it through a reconciliation-template?

Thanks.

Dear @sven,

Indeed the closing tag {% endif %}{% endifi %} was missing.
By adding that to the code it seems to work reasonably fine.

However still in export mode it does not Always respect the requested size of each column in the table.
Could that be the case because of the {% ic %} column disappearing? It also does not align to the right anymore my column of currencies.

Thanks a lot in advance

Kind regards,

Glenn

Hello @GMOONS,

Without having the whole code to look at, I think it’s a safe bet to say that if a certain part disappears, it can have effect on the lay-out of a table.