CASE: how to display details of an account in a text template?

Hi @Bart_Verhaeghe,

This is a little more tricky, because the details of the account template “Geplaatst kapitaal” are not saved in the current_account.details but in regular custom collections.

Almost all the account templates have their details saved in details while being “attached” to the current_account, except for the first made templates by Silverfin.

To get to those details that are saved in a custom collection, you’ll have to do this :

{% assign current_account = #100000 | first %}

By doing this, you’ll be able to get the details of that specific account (the first you’ll get in the range of 100000; if you wouldn’t add it, Silverfin doesn’t know where to look because an account 1000000 can also exist).

Now, you’re able to get to the details of any custom collection in the details of an account , for instance:

{% for detail in current_account.custom.toevoegingen %}
  {{ detail.datum }} 
{% endfor %}

Let us know if it works :wink: