Leningen & leasingen koppelen met rekening 43

momenteel kan ik in rekeningsjabloon enkel koppelen met de rekening 42:

{% ic %}*{% t "42-rekening" %}:* {% endic %}{% input custom[current_account.number].account_42 as:account_collection range:42 %}{% assign account_42 = period.accounts.include_zeros | range:custom[current_account.number].account_42 %}
{% if account_42.first %}***{{ account_42.first.name }} ({{account_42.first.number}})***{% endif %}

hoe kan ik deze aanpassen dat er ook kan gekozen worden uit rekening 43?

Hello @Joyce,

We always communicate in English in the community, if you don’t mind :blush:
Also, please post your code in a manner it becomes more readable (you can read that here how to do so). I’ve edited your post already.

To go back to your question: it’s this code that defines what accounts can be selected
{% input custom[current_account.number].account_42 as:account_collection range:42 %}

That ‘range’ you see there, is what you need to give to define which accounts can be selected. If you change that to 42,43 you’ll be able to select 43-accounts too.

You can even add a default like
{% input custom[current_account.number].account_42 as:account_collection range:42,43 default:42 %}

In last example, you’ll be able anything in a range from 42 to 43, but standard the 42-account will already be selected.

Hope this helps you with your question.