Explanation printed

I want to have the field “extra.explanation” be printed on the export, now it’s not printed

|{% input detail.custom.title placeholder:'titel' %}|{% input detail.custom.doc as:file %}|{% if forloop.last %}{% endif %}{% if current_account.liability_or_income %}{% $0+input detail.custom.value as:n_currency placeholder:'waarde' %}{% else %}{% $0+input detail.custom.value as:currency placeholder:'waarde' %}{% endif %}{% ic %}{% if forloop.last %}
|{% input custom.extra.explanation as:text %}|
|||**{% if current_account.liability_or_income %}{{ -1*$0 | currency }}{% else %}{{ $0 | currency }}{% endif %}**{% endif %}{% endic %}{% endfori %}

Hello @StijnDePrins,

You mean that you want something like that?

Regards,
Michail

no the explanation must be under the detail, but it should be visible while printing.

Oh, I see. What if you try to move the |{% input custom.extra.explanation as:text %}| outside your {% if forloop.last %}?
For example:

 |{% input custom.extra.explanation as:text %}|{% if forloop.last %}
| | |{% if current_account.liability_or_income %}{{ -1*$0 | currency }}{% else %}{{ $0 | currency }}{% endif %}{% endif %}{% endic %}{% endfori %}

This way your text input will be always visible and not only if the forloop.last is true. Is this what you are looking for?

Regards,
Michail

i want the explanation box under the line
and in this case the explanation box isn’t visible on my export document

{% fori detail in current_account.details %}{% if forloop.first %}
|--------------80%-----------------|------10%------|-------20%--------:+{% endif %}
|{% input detail.custom.title placeholder:'titel' %}|{% input detail.custom.doc as:file %}|{% if forloop.last %}{% endif %}{% if current_account.liability_or_income %}{% $0+input detail.custom.value as:n_currency placeholder:'waarde' %}{% else %}{% $0+input detail.custom.value as:currency placeholder:'waarde' %}{% endif %}{% ic %}
|{% input custom.extra.explanation as:text %}|{% if forloop.last %}
| | |{% if current_account.liability_or_income %}{{ -1*$0 | currency }}{% else %}{{ $0 | currency }}{% endif %}{% endif %}{% endic %}{% endfori %}

Oh then it has to be the {% ic %} {% endif %}.

  • {% ic %} is displayed when a text is made, not with an export{% endic %}

The opposite happens when you use {% nic %}

  • {% nic %} is displayed with export, not when in input mode {% endnic %}

I guess this will solve your problem. Let me know if you have further problems.