CASE: show mapped account numbers in account collection

If you want to have an overview of selected accounts in an account collection, together with their mapped numbers, you can do so by using the object original_number.

Like this:


{% input custom.selection.accounts as:account_collection range:"1,2,3,4,5,6,7" accounts_var:accounts %}

{% stripnewlines %}
{% for acc in accounts %}
{% if forloop.first %}
{% newline %}
| {% t "Name" %}
| {% t "Number" %}
| {% t "Mapping number" %}
| {% t "Value" %}
{% newline %}
|----40%----
|----10%----
|----20%----
|-----------:+
{% endif %}
{% newline %}
| {{ acc.name }}
| {{ acc.number }}
| {{ acc.original_number }}
| {{ acc.value as:currency }}
{% endfor %}
{% newline %}
{% endstripnewlines %}