More than one Indicator

Can anyone explain me how the indicator works if you have more than one?
In my example i have the current account with a value that must be the same as the sum of some calculations.
There is also a place the use can select another account, and the closing value of that account has to be the same of another calculation.

the thing is that, when both indicators are red, the indicator on top of the screen is green!
when only one is red, the one on top is red to.
when both are green, the one on the top is green, and that is the only correct situation

Hello @Katrien,

Can you paste the code concerning this issue?

I would like to take a look at.

Hierbij een deel van het sjabloon met de bijhorende code:

{% t= "Omschrijving" fr:"DĂ©finition" %}
{% t= "Datum" fr:"Date" %}
{% t= "Verkoopprijs" fr:"Prix de vente" %}
{% t= "Verkoopkosten" fr:"Coûts de vente" %}
{% t= "Boekwaarde" fr:"Valeur comptable" %}
{% t= "Meerwaarde" fr:"Plus-value" %}
{% t= "Uitsplitsing meerwaarde" fr:"RĂ©partition de la plus-value" %}
{% t= "Te herbeleggen verkoopprijs" fr:"Prix de vente à réinvestir" %}
{% t= "Aanvangstermijn herbeleggingen" fr:"Délai initial de réinvestissement" %}
{% t= "Herbeleggingen" fr:"RĂ©investissements" %}
{% t= "Afschrijving" fr:"Amortissement" %}
{% t= "Bedrag" fr:"Montant" %}
{% t= "Totaal" fr:"Total" %}
{% t= "Onttrekking aan de belastingvrije reserves" fr:"Prélèvements sur les réserves immunisées" %}
{% t= "Onttrekking aan de belastingen" fr:"Prélèvements sur les taxes" %}

{% fori detail in  custom.details %}


{% comment %}RESET VARS{% endcomment %}
{% assign $0 = 0 %}
{% assign $10 = 0 %}
{% assign $1 = 0 %}
{% assign $2 = 0 %}
{% assign $3 = 0 %}
{% assign $4 = 0 %}

{% capture verkoop_key %}verkoop_{{ detail.custom.key }}{% endcapture %}
{% capture herbelegging_key %}herbelegging_{{ detail.custom.key }}{% endcapture %}

{% input detail.aanslagjaar %}  
{% unless detail.aanslagjaar == blank %}

|----------------|---3%---|---12%-----|------12%-------:|-------3%-------:|---12%--:|-----3%------:|---12%---:|---12%---:+
| _{% t "Omschrijving" %}_ |    |_{% t "Datum" %}_ | _{% t "Verkoopprijs" %}_ || _{% t "Verkoopkosten" %}_ || _{% t "Boekwaarde" %}_ | _{% t "Meerwaarde" %}_ {% fori verkoopdetail in custom[verkoop_key] %}
|{% input verkoopdetail.omschrijving %}|{% input verkoopdetail.doc as:file %}|{% input verkoopdetail.datum %}|{%$0+input verkoopdetail.prijs as:currency %}|-|{% input verkoopdetail.kosten as:currency %}|-|{% =$10+input verkoopdetail.boekwaarde as:currency %}|{%=$1+ verkoopdetail.prijs-verkoopdetail.boekwaarde-verkoopdetail.kosten | currency %}{% endfori %}
|   | | | {{ $0 | currency }} | | | | {{ $10 | currency }} | {{ $1 | currency }} | | 

|------|-----|--12%---:|-----12%---:+
|
| {% t "Aanvangstermijn herbeleggingen" %}: | | | {% input detail.herbel_datum %} 
|

| {% t "Herbeleggingen" %}|{% t "Afschrijving" %}
|:-----------:|:---12%---:+

|----------------|-----|--------:|------:|-----12%----:+
| _{% t "Omschrijving" %}_ |     | _{% t "Datum" %}_ | _{% t "Bedrag" %}_ | {% input detail.afschr_jaar %}{% fori herbeleggingsdetail in custom[herbelegging_key] %}
|{% input herbeleggingsdetail.omschrijving %} | {% input herbeleggingsdetail.doc as:file %} |{% input herbeleggingsdetail.datum %}|{%$2+input herbeleggingsdetail.bedrag as:currency %}|{%$3+input herbeleggingsdetail.afschr as:currency %}{% endfori %}
|**{% t "Totaal" %}**      |     |         |**{{$2 | currency}}**|**{{$3 | currency}}**
|

|-----------:|-----------12%------:|:--5%--:|---12%---:|:--5%--:|---12%--:+
| {% t "Meerwaarde" %} | {{ $1 | currency }} |   X    |_{{ $3 | currency }}_| = | {% if $2 == 0 %}{%=$4+ 0 %}{% else %}{%=$4+ $1*$3/$2 %}{% endif %}
|            |                     |        | {{ $2 | currency }}
|

|-----------|-----:|---12%---:+
| {% t "Onttrekking aan de belastingen" %}             | {% input detail.perc as:percentage %} | {%=$6+ $4*detail.perc %}     |{%assign $6 = $6 | round %} 
| {% t "Onttrekking aan de belastingvrije reserves" %} | {{ 1-detail.perc | percentage }}| {%=$5+ $4*(1-detail.perc) %} | {%assign $5 = $5 | round %} 
|
|
{% endunless detail not persisted %}

{% endfori %}

{% assign account_onttrekking = period.accounts | range:custom.account.onttrekking | first %}
{% assign $6 = 0+$6 | round %}
{% assign $5 = 0+$5 | round %}
|-----------|-----:|---12%---:+
| {{ account_onttrekking.number }} {{ account_onttrekking.name }} {% input custom.account.onttrekking as:account_collection range:780 %} | {% unexplained $6+account_onttrekking.value as:indicator %} {{ $6 | currency }} | 
| {{ current_account.number }} {{ current_account.name }} | {% unexplained $5-current_account.value as:indicator %} {{ $5 | currency }} | 
|

Hello @Katrien,

{% unexplained $5-current_account.value as:indicator %}

It’s this one that is gonna give the green dot or not, right above your detail, because that’s the one linked to your current_account.value .

Look at our template of “Leningen & leasingen”: works the same way, with 2 indicators but only one of them will cause the green dot right above.

| {% t "af te lossen per einde boekjaar" %}| {{ last_saldo | currency}}
| {% t "af te lossen binnen het jaar" %}  | {% unexplained current_account.value+last_min_1_jaar as:indicator %} {{ last_min_1_jaar | currency}}
| {% t "af te lossen op meer dan Ă©Ă©n jaar" %}| {% unexplained account_17.value+(last_saldo-last_min_1_jaar) as:indicator %} {{ last_saldo-last_min_1_jaar | currency}}

However, the second indicator is also attached to the current_account.value but not directly: in that calculation the amount of the current_account (which is last_min_1_jaar) is involved.

And it seems that your 2 indicators have nothing to do which each other, right? One of them can be linked to the current_account.value, the other not, right?

Hope I’m making some sense here?

Hi @sven

In a reconciliation template, the unexplained indicator on the top is green, while there is still a red indicator in the template.

How can I make sure the the top indicator only turn green, when all the onthers are green?

Thijs waarover gaat dit? Kun je meer uitleg geven?

Met vriendelijke groeten,
Katrien Naert
IT Manager

Katrien.Naert@titeca.bemailto:Katrien.Naert@titeca.be
(t) +32 51 68 06 37

[logo Titeca]

Kantoor Roeselare
Heirweg 198, 8800 Roeselare
www.titeca.behttp://www.titeca.be

disclaimerhttp://www.titeca.be/nl/disclaimer | facturatievoorwaardenhttps://www.titeca.be/nl/algemene-voorwaarden

[/uploads/getsilverfin/original/1X/8ce80b79b0b71f8e92f9fcd17be489da5b3783eb.jpg]https://www.facebook.com/Titeca-Accountancy-160382697387619/

[/uploads/getsilverfin/original/1X/31e103804474aad8edb7ca5e4d94295524e74e36.jpg]https://www.linkedin.com/company-beta/554832/

[Banner Titeca]https://registration.n200.com/survey/3imy4sw1qdeen?actioncode=NTWO000436DDH&partner-contact=254gjnxs32is5

Hi @Thijs

Can you show us your code?
Because normally the green cirkel on top should only be showing when both indicators are green.
Something must be wrong…

Part 1

{% capture eind_datum_boekjaar %}{{ period.year_end_date | date:'%d/%m' }}{% endcapture %}

{% assign total_days_in_book_year = period.end_date-period.year_start_date+1 %}
{% if total_days_in_book_year > 366 %}{% capture boekjaar %}JA{% endcapture %}{% endif %}
{% if total_days_in_book_year < 365 %}{% capture boekjaar %}NEE{% endcapture %}{% endif %}

{% comment %} verkort boekjaar, 1 kalenderjaar {% endcomment %}{% if boekjaar == 'NEE' and period.calendar_years.size == 1  %}{% capture index %}1{% endcapture %}{% endif %}
{% comment %} verkort boekjaar, 2 kalenderjaar {% endcomment %}{% if boekjaar == 'NEE' and period.calendar_years.size == 2  %}{% capture index %}2{% endcapture %}{% endif %}
{% comment %} gewoon boekjaar {% endcomment %}{% if eind_datum_boekjaar != '31/12' and total_days_in_book_year == 365 or 366 %}{% capture index %}3{% endcapture %}{% endif %}
{% comment %} gewoon boekjaar 31/12 {% endcomment %}{% if eind_datum_boekjaar == '31/12' and total_days_in_book_year == 365 or 366 %}{% capture index %}4{% endcapture %}{% endif %}
{% comment %} verlengd boekjaar, 2 kalenderjaren {% endcomment %}{% if boekjaar == 'JA' and period.calendar_years.size == 2 and eind_datum_boekjaar != '31/12' and period.minus_1y.exists == true %}{% capture index %}5{% endcapture %}{% endif %}
{% comment %} verlengd boekjaar, 2 kalenderjaren  31/12{% endcomment %}{% if boekjaar == 'JA' and period.calendar_years.size == 2 and eind_datum_boekjaar == '31/12' and period.minus_1y.exists == true %}{% capture index %}6{% endcapture %}{% endif %}
{% comment %} verlengd boekjaar, 3 kalenderjaren  {% endcomment %}{% if boekjaar == 'JA' and period.calendar_years.size == 3 and period.minus_1y.exists == true %}{% capture index %}7{% endcapture %}{% endif %}
{% comment %} verlengd eerste boekjaar, 2 kalenderjaren  {% endcomment %}{% if boekjaar == 'JA' and period.calendar_years.size == 2 and eind_datum_boekjaar != '31/12' and period.minus_1y.exists == false %}{% capture index %}8{% endcapture %}{% endif %}
{% comment %} verlengd eerste boekjaar, 2 kalenderjaren, 31/12  {% endcomment %}{% if boekjaar == 'JA' and period.calendar_years.size == 2 and eind_datum_boekjaar == '31/12' and period.minus_1y.exists == false %}{% capture index %}9{% endcapture %}{% endif %}
{% comment %} verlengd eerste boekjaar, 3 kalenderjaren  {% endcomment %}{% if boekjaar == 'JA' and period.calendar_years.size == 3 and period.minus_1y.exists == false  %}{% capture index %}10{% endcapture %}{% endif %}

{% assign huidig_jaar = period.year_end_date | date:'%Y' %}
{% if eind_datum_boekjaar == '31/12' %}{% assign vorig_jaar = period.fiscal_year-2 | remove: ".0" %}{% else %}{% assign vorig_jaar = period.fiscal_year-1 | remove: ".0" %}{% endif %}
{% if eind_datum_boekjaar == '31/12' %}{% assign eerste_jaar = period.fiscal_year-3 | remove: ".0" %}{% else %}{% assign eerste_jaar = period.fiscal_year-2 | remove: ".0" %}{% endif %}

{% if index == '1' %}{% capture hoofding %}||||||{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '2' %}{% capture hoofding %}|||{{period.year_end_date | date: '%d/%m/'}}{{ vorig_jaar }}|31/12/{{vorig_jaar}}|{{vorig_jaar}}|{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ vorig_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '3' %}{% capture hoofding %}|||{{period.year_end_date | date: '%d/%m/'}}{{ vorig_jaar }}|31/12/{{vorig_jaar}}|{{vorig_jaar}}|{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ vorig_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '4' %}{% capture hoofding %}||||||{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '5' %}{% capture hoofding %}|||{{ period.minus_1y.end_date | date: '%d/%m/%Y'}}|31/12/{{vorig_jaar}}|{{vorig_jaar}}|{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ vorig_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '6' %}{% capture hoofding %}||{{ period.minus_1y.end_date | date: '%d/%m/%Y'}}|31/12/{{vorig_jaar}}|{{ vorig_jaar }}|31/12/{{huidig_jaar}}|{{ huidig_jaar }}|{{ vorig_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '7' %}{% capture hoofding %}|{{ period.minus_1y.end_date | date: '%d/%m/%Y'}}|31/12/{{eerste_jaar}}|{{ eerste_jaar }}|31/12/{{ vorig_jaar }}|{{ vorig_jaar }}|{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ eerste_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '8' %}{% capture hoofding %}||||31/12/{{vorig_jaar}}|{{vorig_jaar}}|{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ vorig_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '9' %}{% capture hoofding %}|||31/12/{{vorig_jaar}}|{{ vorig_jaar }}|31/12/{{huidig_jaar}}|{{ huidig_jaar }}|{{ vorig_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}
{% if index == '10' %}{% capture hoofding %}||31/12/{{eerste_jaar}}|{{ eerste_jaar }}|31/12/{{vorig_jaar}}|{{vorig_jaar}}|{{period.year_end_date | date: '%d/%m/'}}{{ huidig_jaar }}|{{ eerste_jaar }}/{{ huidig_jaar }}{% endcapture %}{% endif %}


{% capture aaa %}{% assign key_boekh = rubriek | append:'_boekh' %}{% input custom[key_boekh].numbers1 as:account_collection range:6,7 accounts_var:accounts %}{% for account in accounts %}<font color="ffffff">{%=$31+ account.value %}</font>{% endfor %}{% endcapture %}

{% capture bbb %}{% assign key_boekh = rubriek | append:'_boekh' %}{% input custom[key_boekh].numbers2 as:account_collection range:6,7 accounts_var:accounts %}{% for account in accounts %}<font color="ffffff">{%=$32+ account.value %}</font>{% endfor %}{% endcapture %}

{% capture ccc %}{% assign key_boekh = rubriek | append:'_boekh' %}{% input custom[key_boekh].numbers3 as:account_collection range:6,7 accounts_var:accounts %}{% for account in accounts %}<font color="ffffff">{%=$33+ account.value %}</font>{% endfor %}{% endcapture %}

{% capture ddd %}{% assign key_boekh = rubriek | append:'_boekh' %}{% input custom[key_boekh].numbers4 as:account_collection range:6,7 accounts_var:accounts %}{% for account in accounts %}<font color="ffffff">{%=$34+ account.value %}</font>{% endfor %}{% endcapture %}


{% if index == '7' %}
  {% capture kolom %}|----|--11%--:|--11%--:|--11%--:|--11%--:|--11%--:|--11%--:|--11%--:{% endcapture %}
{% endif %}

{% if index == '10' or index == '6' %}
  {% capture kolom %}|----|----:|--12%--:|--12%--:|--12%--:|--12%--:|--12%--:|--12%--:{% endcapture %}
{% else %}
  {% capture kolom %}|----|----:|----:|--13%--:|--13%--:|--13%--:|--13%--:|--13%--:{% endcapture %}
{% endif %}

Part 2

{% if index == '1' or index == '4' %}
{% capture bezoldiging %}{% fori bezoldiging in period.custom.bezoldiging %}
|{% input bezoldiging.omschrijving %}||||||{% $3+input bezoldiging.bedrag3 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag2+bezoldiging.bedrag3 | currency }}{% endfori %}
||||||||{% unexplained $31-$2-$3 as:indicator %}**{{ $2+$3 | currency }}**
|{% endcapture %}
{% capture sociale_bijdragen %}{% fori sociale_bijdragen in period.custom.sociale_bijdragen %}
|{% input sociale_bijdragen.omschrijving %}||||||{% $7+input sociale_bijdragen.bedrag7 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag6+sociale_bijdragen.bedrag7 | currency }}{% endfori %}
||||||||{% unexplained $32-$6-$7 as:indicator %}**{{ $6+$7 | currency }}**
|**Fiscaal attest**|||||||{% $21+input custom.sociale_bijdragen.fiscaal_attest as:currency %}
|Verschil|||||||**{{ $6+$7-$21 | currency }}**
|{% endcapture %}
{% capture vapz %}{% fori vapz in period.custom.vapz %}
|{% input vapz.omschrijving %}||||||{% $12+input vapz.bedrag12 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag11+vapz.bedrag12 | currency }}{% endfori %}
||||||||{% unexplained $33-$11-$12 as:indicator %}**{{ $11+$12 | currency }}**
|**Fiscaal attest**|||||||{% $22+input custom.vapz.fiscaal_attest as:currency %}
|Verschil|||||||**{{ $11+$12-$22 | currency }}**
|{% endcapture %}
{% capture vaa %}{% fori vaa in period.custom.vaa %}
|{% input vaa.omschrijving %}||||||{% $17+input vaa.bedrag17 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag16+vaa.bedrag17 | currency }}{% endfori %}
||||||||{% unexplained $34-$16-$17 as:indicator %}**{{ $16+$17 | currency }}**
|{% endcapture %}
{% capture overeenstemming %}
|OVEREENSTEMMING WEDDE|||||||{{ huidig_jaar }}
{{ kolom }}+
|Bezoldigingen|||||||{{ $2+$3 | currency }}
|Tantième|||||||{% input custom.tantieme.huidig as:currency placeholder:'bedrag' %}
|Sociale Bijdragen|||||||{{ $6+$7 | currency }}
|VAPZ|||||||{{ $11+$12 | currency }}
|Voordellen alle aard|||||||{{ $16+$17 | currency }}
|Totaal|||||||{{ $2+$3+custom.tantieme.huidig+$6+$7+$11+$12+$16+$17 | currency }}
|Fiche 281.20|||||||{% input custom.fiche.huidig as:currency placeholder:'bedrag' %}
|Verschil|||||||{{ $2+$3+custom.tantieme.huidig+$6+$7+$11+$12+$16+$17-custom.fiche.huidig | currency }}
|{% endcapture %}
{% endif %}

{% if index == '2' or index == '3' or index == '5' %}
{% capture bezoldiging %}{% fori bezoldiging in period.custom.bezoldiging %}
|{% input bezoldiging.omschrijving %}|||{% $1+input bezoldiging.bedrag1 as:currency placeholder:'bedrag' %}|{% $2+input bezoldiging.bedrag2 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag1+bezoldiging.bedrag2 | currency }}|{% $3+input bezoldiging.bedrag3 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag2+bezoldiging.bedrag3 | currency }}{% endfori %}
||||||**{{ $1+$2 | currency }}**||{% unexplained $31-$2-$3 as:indicator %}**{{ $2+$3 | currency }}**
|{% endcapture %}
{% capture sociale_bijdragen %}{% fori sociale_bijdragen in period.custom.sociale_bijdragen %}
|{% input sociale_bijdragen.omschrijving %}|||{% $5+input sociale_bijdragen.bedrag5 as:currency placeholder:'bedrag' %}|{% $6+input sociale_bijdragen.bedrag6 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag5+sociale_bijdragen.bedrag6 | currency }}|{% $7+input sociale_bijdragen.bedrag7 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag6+sociale_bijdragen.bedrag7 | currency }}{% endfori %}
||||||**{{ $5+$6 | currency }}**||{% unexplained $32-$6-$7 as:indicator %}**{{ $6+$7 | currency }}**
|**Fiscaal attest**|||||{% $21+input custom.sociale_bijdragen.fiscaal_attest as:currency %}||
|Verschil|||||**{{ $5+$6-$21 | currency }}**||
|{% endcapture %}
{% capture vapz %}{% fori vapz in period.custom.vapz %}
|{% input vapz.omschrijving %}|||{% $10+input vapz.bedrag10 as:currency placeholder:'bedrag' %}|{% $11+input vapz.bedrag11 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag10+vapz.bedrag11 | currency }}|{% $12+input vapz.bedrag12 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag11+vapz.bedrag12 | currency }}{% endfori %}
||||||**{{ $10+$11 | currency }}**||{% unexplained $33-$11-$12 as:indicator %}**{{ $11+$12 | currency }}**
|**Fiscaal attest**|||||{% $22+input custom.vapz.fiscaal_attest as:currency %}||
|Verschil|||||**{{ $10+$11-$22 | currency }}**||
|{% endcapture %}
{% capture vaa %}{% fori vaa in period.custom.vaa %}
|{% input vaa.omschrijving %}|||{% $15+input vaa.bedrag15 as:currency placeholder:'bedrag' %}|{% $16+input vaa.bedrag16 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}|{% $17+input vaa.bedrag17 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag16+vaa.bedrag17 | currency }}{% endfori %}
||||||**{{ $15+$16 | currency }}**||{% unexplained $34-$16-$17 as:indicator %}**{{ $16+$17 | currency }}**
|{% endcapture %}
{% capture overeenstemming %}
|OVEREENSTEMMING WEDDE|||||{{ vorig_jaar }}||<font color="ffffff">a</font>
{{ kolom }}+
|Bezoldigingen|||||{{ $1+$2 | currency }}||
|Tantième|||||{% input custom.tantieme.huidig as:currency placeholder:'bedrag' %}||
|Sociale Bijdragen|||||{{ $5+$6 | currency }}||
|VAPZ|||||{{ $10+$11 | currency }}||
|Voordellen alle aard|||||{{ $15+$16 | currency }}||
|Totaal|||||{{ $1+$2+custom.tantieme.huidig+$5+$6+$10+$11+$15+$16 | currency }}||
|Fiche 281.20|||||{% input custom.fiche.huidig as:currency placeholder:'bedrag' %}||
|Verschil|||||{{ $1+$2+custom.tantieme.huidig+$5+$6+$10+$11+$15+$16-custom.fiche.huidig | currency }}||
|{% endcapture %}
{% endif %}

{% if index == '8' %}
{% capture bezoldiging %}{% fori bezoldiging in period.custom.bezoldiging %}
|{% input bezoldiging.omschrijving %}||||{% $2+input bezoldiging.bedrag2 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag1+bezoldiging.bedrag2 | currency }}|{% $3+input bezoldiging.bedrag3 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag2+bezoldiging.bedrag3 | currency }}{% endfori %}
||||||**{{ $1+$2 | currency }}**||{% unexplained $31-$2-$3 as:indicator %}**{{ $2+$3 | currency }}**
|{% endcapture %}
{% capture sociale_bijdragen %}{% fori sociale_bijdragen in period.custom.sociale_bijdragen %}
|{% input sociale_bijdragen.omschrijving %}||||{% $6+input sociale_bijdragen.bedrag6 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag5+sociale_bijdragen.bedrag6 | currency }}|{% $7+input sociale_bijdragen.bedrag7 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag6+sociale_bijdragen.bedrag7 | currency }}{% endfori %}
||||||**{{ $5+$6 | currency }}**||{% unexplained $32-$6-$7 as:indicator %}**{{ $6+$7 | currency }}**
|**Fiscaal attest**|||||{% $21+input custom.sociale_bijdragen.fiscaal_attest as:currency %}||
|Verschil|||||**{{ $5+$6-$21 | currency }}**||
|{% endcapture %}
{% capture vapz %}{% fori vapz in period.custom.vapz %}
|{% input vapz.omschrijving %}||||{% $11+input vapz.bedrag11 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag10+vapz.bedrag11 | currency }}|{% $12+input vapz.bedrag12 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag11+vapz.bedrag12 | currency }}{% endfori %}
||||||**{{ $10+$11 | currency }}**||{% unexplained $33-$11-$12 as:indicator %}**{{ $11+$12 | currency }}**
|**Fiscaal attest**|||||{% $22+input custom.vapz.fiscaal_attest as:currency %}||
|Verschil|||||**{{ $11+$12-$22 | currency }}**||
|{% endcapture %}
{% capture vaa %}{% fori vaa in period.custom.vaa %}
|{% input vaa.omschrijving %}||||{% $16+input vaa.bedrag16 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}|{% $17+input vaa.bedrag17 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag16+vaa.bedrag17 | currency }}{% endfori %}
||||||**{{ $15+$16 | currency }}**||{% unexplained $34-$16-$17 as:indicator %}**{{ $16+$17 | currency }}**
|{% endcapture %}
{% capture overeenstemming %}
|OVEREENSTEMMING WEDDE|||||{{ vorig_jaar }}||<font color="ffffff">a</font>
{{ kolom }}+
|Bezoldigingen|||||{{ $1+$2 | currency }}||
|Tantième|||||{% input custom.tantieme.huidig as:currency placeholder:'bedrag' %}||
|Sociale Bijdragen|||||{{ $5+$6 | currency }}||
|VAPZ|||||{{ $10+$11 | currency }}||
|Voordellen alle aard|||||{{ $15+$16 | currency }}||
|Totaal|||||{{ $1+$2+custom.tantieme.huidig+$5+$6+$10+$11+$15+$16 | currency }}||
|Fiche 281.20|||||{% input custom.fiche.huidig as:currency placeholder:'bedrag' %}||
|Verschil|||||{{ $1+$2+custom.tantieme.huidig+$5+$6+$10+$11+$15+$16-custom.fiche.huidig | currency }}||
|{% endcapture %}
{% endif %}

{% if index == '6' %}
{% capture bezoldiging %}{% fori bezoldiging in period.custom.bezoldiging %}
|{% input bezoldiging.omschrijving %}||{% $1+input bezoldiging.bedrag1 as:currency placeholder:'bedrag' %}|{% $2+input bezoldiging.bedrag2 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag1+bezoldiging.bedrag2 | currency }}|{% $3+input bezoldiging.bedrag3 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag3 | currency }}|{{ bezoldiging.bedrag2+bezoldiging.bedrag3 | currency }}{% endfori %}
|||||**{{ $1+$2 | currency }}**||**{{ $3 | currency }}**|{% unexplained $31-$2-$3 as:indicator %}**{{ $2+$3 | currency }}**
|{% endcapture %}
{% capture sociale_bijdragen %}{% fori sociale_bijdragen in period.custom.sociale_bijdragen %}
|{% input sociale_bijdragen.omschrijving %}||{% $5+input sociale_bijdragen.bedrag5 as:currency placeholder:'bedrag' %}|{% $6+input sociale_bijdragen.bedrag6 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag5+sociale_bijdragen.bedrag6 | currency }}|{% $7+input sociale_bijdragen.bedrag7 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag7 | currency }}|{{ sociale_bijdragen.bedrag6+sociale_bijdragen.bedrag7 | currency }}{% endfori %}
|||||**{{ $5+$6 | currency }}**||**{{ $7 | currency }}**|{% unexplained $32-$6-$7 as:indicator %}**{{ $6+$7 | currency }}**
|**Fiscaal attest**||||{% $21+input custom.sociale_bijdragen_vorig.fiscaal_attest as:currency %}||{% $22+input custom.sociale_bijdragen.fiscaal_attest as:currency %}|
|Verschil||||**{{ $5+$6-$21 | currency }}**||**{{ $7-$22 | currency }}**|
|{% endcapture %}
{% capture vapz %}{% fori vapz in period.custom.vapz %}
|{% input vapz.omschrijving %}||{% $10+input vapz.bedrag10 as:currency placeholder:'bedrag' %}|{% $11+input vapz.bedrag11 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag10+vapz.bedrag11 | currency }}|{% $12+input vapz.bedrag12 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag12 | currency }}|{{ vapz.bedrag11+vapz.bedrag12 | currency }}{% endfori %}
|||||**{{ $10+$11 | currency }}**||**{{ $12 | currency }}**|{% unexplained $33-$11-$12 as:indicator %}**{{ $11+$12 | currency }}**
|**Fiscaal attest**||||{% $23+input custom.vapz_vorig.fiscaal_attest as:currency %}||{% $24+input custom.vapz.fiscaal_attest as:currency %}|
|Verschil||||**{{ $10+$11-$23 | currency }}**||**{{ $12-$24 | currency }}**|
|{% endcapture %}
{% capture vaa %}{% fori vaa in period.custom.vaa %}
|{% input vaa.omschrijving %}||{% $15+input vaa.bedrag15 as:currency placeholder:'bedrag' %}|{% $16+input vaa.bedrag16 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}|{% $17+input vaa.bedrag3 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag17 | currency }}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}{% endfori %}
|||||**{{ $15+$16 | currency }}**||**{{ $17 | currency }}**|{% unexplained $34-$16-$17 as:indicator %}**{{ $16+$17 | currency }}**
|{% endcapture %}
{% capture overeenstemming %}
|OVEREENSTEMMING WEDDE||||{{ vorig_jaar }}||{{ huidig_jaar }}|<font color="ffffff">a</font>
{{ kolom }}+
|Bezoldigingen||||{{ $1+$2 | currency }}||{{ $3 | currency }}|
|Tantième||||{% input custom.tantieme.vorig as:currency placeholder:'bedrag' %}||{% input custom.tantieme.huidig as:currency placeholder:'bedrag' %}|
|Sociale Bijdragen||||{{ $5+$6 | currency }}||{{ $7 | currency }}|
|VAPZ||||{{ $10+$11 | currency }}||{{ $12 | currency }}|
|Voordellen alle aard||||{{ $15+$16 | currency }}||{{ $17 | currency }}|
|Totaal||||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16 | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17 | currency }}|
|Fiche 281.20||||{% input custom.fiche.vorig as:currency placeholder:'bedrag' %}||{% input custom.fiche.huidig as:currency placeholder:'bedrag' %}|
|Verschil||||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16-custom.fiche.vorig | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17-custom.fiche.huidig | currency }}|
|{% endcapture %}
{% endif %}

{% if index == '9' %}
{% capture bezoldiging %}{% fori bezoldiging in period.custom.bezoldiging %}
|{% input bezoldiging.omschrijving %}|||{% $2+input bezoldiging.bedrag2 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag1+bezoldiging.bedrag2 | currency }}|{% $3+input bezoldiging.bedrag3 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag3 | currency }}|{{ bezoldiging.bedrag2+bezoldiging.bedrag3 | currency }}{% endfori %}
|||||**{{ $1+$2 | currency }}**||**{{ $3 | currency }}**|{% unexplained $31-$2-$3 as:indicator %}**{{ $2+$3 | currency }}**
|{% endcapture %}
{% capture sociale_bijdragen %}{% fori sociale_bijdragen in period.custom.sociale_bijdragen %}
|{% input sociale_bijdragen.omschrijving %}|||{% $6+input sociale_bijdragen.bedrag6 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag5+sociale_bijdragen.bedrag6 | currency }}|{% $7+input sociale_bijdragen.bedrag7 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag7 | currency }}|{{ sociale_bijdragen.bedrag6+sociale_bijdragen.bedrag7 | currency }}{% endfori %}
|||||**{{ $5+$6 | currency }}**||**{{ $7 | currency }}**|{% unexplained $32-$6-$7 as:indicator %}**{{ $6+$7 | currency }}**
|**Fiscaal attest**||||{% $21+input custom.sociale_bijdragen_vorig.fiscaal_attest as:currency %}||{% $22+input custom.sociale_bijdragen.fiscaal_attest as:currency %}|
|Verschil||||**{{ $5+$6-$21 | currency }}**||**{{ $7-$22 | currency }}**|
|{% endcapture %}
{% capture vapz %}{% fori vapz in period.custom.vapz %}
|{% input vapz.omschrijving %}|||{% $11+input vapz.bedrag11 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag10+vapz.bedrag11 | currency }}|{% $12+input vapz.bedrag12 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag12 | currency }}|{{ vapz.bedrag11+vapz.bedrag12 | currency }}{% endfori %}
|||||**{{ $10+$11 | currency }}**||**{{ $12 | currency }}**|{% unexplained $33-$11-$12 as:indicator %}**{{ $11+$12 | currency }}**
|**Fiscaal attest**||||{% $23+input custom.vapz_vorig.fiscaal_attest as:currency %}||{% $24+input custom.vapz.fiscaal_attest as:currency %}|
|Verschil||||**{{ $10+$11-$23 | currency }}**||**{{ $12-$24 | currency }}**|
|{% endcapture %}
{% capture vaa %}{% fori vaa in period.custom.vaa %}
|{% input vaa.omschrijving %}|||{% $16+input vaa.bedrag16 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}|{% $17+input vaa.bedrag3 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag17 | currency }}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}{% endfori %}
|||||**{{ $15+$16 | currency }}**||**{{ $17 | currency }}**|{% unexplained $34-$16-$17 as:indicator %}**{{ $16+$17 | currency }}**
|{% endcapture %}
{% capture overeenstemming %}
|OVEREENSTEMMING WEDDE||||{{ vorig_jaar }}||{{ huidig_jaar }}|<font color="ffffff">a</font>
{{ kolom }}+
|Bezoldigingen||||{{ $1+$2 | currency }}||{{ $3 | currency }}|
|Tantième||||{% input custom.tantieme.vorig as:currency placeholder:'bedrag' %}||{% input custom.tantieme.huidig as:currency placeholder:'bedrag' %}|
|Sociale Bijdragen||||{{ $5+$6 | currency }}||{{ $7 | currency }}|
|VAPZ||||{{ $10+$11 | currency }}||{{ $12 | currency }}|
|Voordellen alle aard||||{{ $15+$16 | currency }}||{{ $17 | currency }}|
|Totaal||||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16 | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17 | currency }}|
|Fiche 281.20||||{% input custom.fiche.vorig as:currency placeholder:'bedrag' %}||{% input custom.fiche.huidig as:currency placeholder:'bedrag' %}|
|Verschil||||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16-custom.fiche.vorig | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17-custom.fiche.huidig | currency }}|
|{% endcapture %}
{% endif %}

{% if index == '7' %}
{% capture bezoldiging %}{% fori bezoldiging in period.custom.bezoldiging %}
|{% input bezoldiging.omschrijving %}|{% $1+input bezoldiging.bedrag1 as:currency placeholder:'bedrag' %}|{% $2+input bezoldiging.bedrag2 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag1+bezoldiging.bedrag2 | currency }}|{% $3+input bezoldiging.bedrag3 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag3 | currency }}|{% $4+input bezoldiging.bedrag4 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag2+bezoldiging.bedrag3+bezoldiging.bedrag4 | currency }}{% endfori %}
||||**{{ $1+$2 | currency }}**||**{{ $3 | currency }}**||{% unexplained $31-$2-$3-$4 as:indicator %}**{{ $2+$3+$4 | currency }}**
|{% endcapture %}
{% capture sociale_bijdragen %}{% fori sociale_bijdragen in period.custom.sociale_bijdragen %}
|{% input sociale_bijdragen.omschrijving %}|{% $5+input sociale_bijdragen.bedrag5 as:currency placeholder:'bedrag' %}|{% $6+input sociale_bijdragen.bedrag6 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag5+sociale_bijdragen.bedrag6 | currency }}|{% $7+input sociale_bijdragen.bedrag7 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag7 | currency }}|{% $8+input sociale_bijdragen.bedrag8 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag6+sociale_bijdragen.bedrag7+sociale_bijdragen.bedrag8 | currency }}{% endfori %}
||||**{{ $5+$6 | currency }}**||**{{ $7 | currency }}**||{% unexplained $32-$6-$7-$8 as:indicator %}**{{ $6+$7+$8 | currency }}**
|**Fiscaal attest**|||{% $21+input custom.sociale_bijdragen_vorig.fiscaal_attest as:currency %}||{% $22+input custom.sociale_bijdragen.fiscaal_attest as:currency %}||
|Verschil|||**{{ $5+$6-$21 | currency }}**||**{{ $7-$22 | currency }}**||
|{% endcapture %}
{% capture vapz %}{% fori vapz in period.custom.vapz %}
|{% input vapz.omschrijving %}|{% $10+input vapz.bedrag10 as:currency placeholder:'bedrag' %}|{% $11+input vapz.bedrag11 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag10+vapz.bedrag11 | currency }}|{% $12+input vapz.bedrag13 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag12 | currency }}|{% $13+input vapz.bedrag13 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag11+vapz.bedrag12+vapz.bedrag13 | currency }}{% endfori %}
||||**{{ $10+$11 | currency }}**||**{{ $12 | currency }}**||{% unexplained $33-$11-$12-$13 as:indicator %}**{{ $11+$12+$13 | currency }}**
|**Fiscaal attest**|||{% $23+input custom.vapz_vorig.fiscaal_attest as:currency %}||{% $24+input custom.vapz.fiscaal_attest as:currency %}||
|Verschil|||**{{ $10+$11-$23 | currency }}**||**{{ $12-$24 | currency }}**||
|{% endcapture %}
{% capture vaa %}{% fori vaa in period.custom.vaa %}
|{% input vaa.omschrijving %}|{% $15+input vaa.bedrag15 as:currency placeholder:'bedrag' %}|{% $16+input vaa.bedrag16 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}|{% $17+input vaa.bedrag17 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag17 | currency }}|{% $18+input vaa.bedrag18 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag16+vaa.bedrag17+vaa.bedrag18 | currency }}{% endfori %}
||||**{{ $15+$16 | currency }}**||**{{ $17 | currency }}**||{% unexplained $34-$16-$17-$18 as:indicator %}**{{ $16+$17+$18 | currency }}**
|{% endcapture %}
{% capture overeenstemming %}
|OVEREENSTEMMING WEDDE|||{{ eerste_jaar }}||{{ vorig_jaar }}||<font color="ffffff">a</font>
{{ kolom }}+
|Bezoldigingen|||{{ $1+$2 | currency }}||{{ $3 | currency }}|
|Tantième|||{% input custom.tantieme.vorig as:currency placeholder:'bedrag' %}||{% input custom.tantieme.huidig as:currency placeholder:'bedrag' %}|
|Sociale Bijdragen|||{{ $5+$6 | currency }}||{{ $7 | currency }}|
|VAPZ|||{{ $10+$11 | currency }}||{{ $12 | currency }}|
|Voordellen alle aard|||{{ $15+$16 | currency }}||{{ $17 | currency }}|
|Totaal|||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16 | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17 | currency }}|
|Fiche 281.20|||{% input custom.fiche.vorig as:currency placeholder:'bedrag' %}||{% input custom.fiche.huidig as:currency placeholder:'bedrag' %}|
|Verschil|||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16-custom.fiche.vorig | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17-custom.fiche.huidig | currency }}|
|{% endcapture %}
{% endif %}

{% if index == '10' %}
{% capture bezoldiging %}{% fori bezoldiging in period.custom.bezoldiging %}
|{% input bezoldiging.omschrijving %}||{% $2+input bezoldiging.bedrag2 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag1+bezoldiging.bedrag2 | currency }}|{% $3+input bezoldiging.bedrag3 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag3 | currency }}|{% $4+input bezoldiging.bedrag4 as:currency placeholder:'bedrag' %}|{{ bezoldiging.bedrag2+bezoldiging.bedrag3+bezoldiging.bedrag4 | currency }}{% endfori %}
||||**{{ $1+$2 | currency }}**||**{{ $3 | currency }}**||{% unexplained $31-$2-$3-$4 as:indicator %}**{{ $2+$3+$4 | currency }}**
|{% endcapture %}
{% capture sociale_bijdragen %}{% fori sociale_bijdragen in period.custom.sociale_bijdragen %}
|{% input sociale_bijdragen.omschrijving %}||{% $6+input sociale_bijdragen.bedrag6 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag5+sociale_bijdragen.bedrag6 | currency }}|{% $7+input sociale_bijdragen.bedrag7 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag7 | currency }}|{% $8+input sociale_bijdragen.bedrag8 as:currency placeholder:'bedrag' %}|{{ sociale_bijdragen.bedrag6+sociale_bijdragen.bedrag7+sociale_bijdragen.bedrag8 | currency }}{% endfori %}
||||**{{ $5+$6 | currency }}**||**{{ $7 | currency }}**||{% unexplained $32-$6-$7-$8 as:indicator %}**{{ $6+$7+$8 | currency }}**
|**Fiscaal attest**|||{% $21+input custom.sociale_bijdragen_vorig.fiscaal_attest as:currency %}||{% $22+input custom.sociale_bijdragen.fiscaal_attest as:currency %}||
|Verschil|||**{{ $5+$6-$21 | currency }}**||**{{ $7-$22 | currency }}**||
|{% endcapture %}
{% capture vapz %}{% fori vapz in period.custom.vapz %}
|{% input vapz.omschrijving %}||{% $11+input vapz.bedrag11 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag10+vapz.bedrag11 | currency }}|{% $12+input vapz.bedrag12 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag12 | currency }}|{% $13+input vapz.bedrag13 as:currency placeholder:'bedrag' %}|{{ vapz.bedrag11+vapz.bedrag12+vapz.bedrag13 | currency }}{% endfori %}
||||**{{ $10+$11 | currency }}**||**{{ $12 | currency }}**||{% unexplained $33-$11-$12-$13 as:indicator %}**{{ $11+$12+$13 | currency }}**
|**Fiscaal attest**|||{% $23+input custom.vapz_vorig.fiscaal_attest as:currency %}||{% $24+input custom.vapz.fiscaal_attest as:currency %}||
|Verschil|||**{{ $10+$11-$23 | currency }}**||**{{ $12-$24 | currency }}**||
|{% endcapture %}
{% capture vaa %}{% fori vaa in period.custom.vaa %}
|{% input vaa.omschrijving %}||{% $16+input vaa.bedrag16 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag15+vaa.bedrag16 | currency }}|{% $17+input vaa.bedrag17 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag17 | currency }}|{% $18+input vaa.bedrag18 as:currency placeholder:'bedrag' %}|{{ vaa.bedrag16+vaa.bedrag17+vaa.bedrag18 | currency }}{% endfori %}
||||**{{ $15+$16 | currency }}**||**{{ $17 | currency }}**||{% unexplained $34-$16-$17-$18 as:indicator %}**{{ $16+$17+$18 | currency }}**
|{% endcapture %}
{% capture overeenstemming %}
|OVEREENSTEMMING WEDDE|||{{ eerste_jaar }}||{{ vorig_jaar }}||<font color="ffffff">a</font>
{{ kolom }}+
|Bezoldigingen|||{{ $1+$2 | currency }}||{{ $3 | currency }}|
|Tantième|||{% input custom.tantieme.vorig as:currency placeholder:'bedrag' %}||{% input custom.tantieme.huidig as:currency placeholder:'bedrag' %}|
|Sociale Bijdragen|||{{ $5+$6 | currency }}||{{ $7 | currency }}|
|VAPZ|||{{ $10+$11 | currency }}||{{ $12 | currency }}|
|Voordellen alle aard|||{{ $15+$16 | currency }}||{{ $17 | currency }}|
|Totaal|||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16 | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17 | currency }}|
|Fiche 281.20|||{% input custom.fiche.vorig as:currency placeholder:'bedrag' %}||{% input custom.fiche.huidig as:currency placeholder:'bedrag' %}|
|Verschil|||{{ $1+$2+custom.tantieme.vorig+$5+$6+$10+$11+$15+$16-custom.fiche.vorig | currency }}||{{ $3+custom.tantieme.huidig+$7+$12+$17-custom.fiche.huidig | currency }}|
|{% endcapture %}
{% endif %}


|Bezoldiging  {% ic %} ({{ $31 | currency }}){% endic %}{% ic %}{{aaa}}{% endic %}{{ hoofding }}
{{ kolom }}+{{ bezoldiging }}

|Sociale Bijdragen  {% ic %} ({{ $32 | currency }}){% endic %}{% ic %}{{bbb}}{% endic %}{{ hoofding }}
{{ kolom }}+{{ sociale_bijdragen }}

|VAPZ  {% ic %} ({{ $33 | currency }}){% endic %}{% ic %}{{ccc}}{% endic %}{{ hoofding }}
{{ kolom }}+{{ vapz }}

|Voordelen alle aard  {% ic %} ({{ $34 | currency }}){% endic %}{% ic %}{{ddd}}{% endic %}{{ hoofding }}
{{ kolom }}+{{ vaa }}

{{ overeenstemming }}

{% ifi custom.free.verklaring != blank %}{% input custom.free.verklaring as:text %}{% endifi %}

Quite some template you have there. Looks awesome. I had a quick look and didn’t found the error yet. From experience I know that using indicators in captures and forloops can give some problems but I don’t see where the bug is in your template at the moment.

I’ll have another look later.
I just wanted to let you know that we didn’t forget you. :wink:

1 Like

Hi Thijs

Not 100% sure but it seems to be a caching issue. I contacted our dev team to take a look at it.

@SamVanEenoo

I’ve rewritten the code in another structure and solved the problem (got rid of the capture tags)

@Thijs nice and great job! In the past we also found out that the combinations of capture tags and unexplained indicators sometimes give problems. Glad you solved it!

Hi,
Did something recently change to the way multiple unexplained-tags are handled?
Currently, the top indicator seems to be adding all of the amounts of the multiple unexplained tags,
whereas previously, the last unexplained tag was being used to determine the top indicator, if I am not mistaken…

Hello @robin.bailleul,

I don’t think we changed something the way we handle those unexplained-tags; otherwise it would mean a lot of green would become red.

However, do you experience this with all templates, or only just one custom template that you are building now?
And does it happen when you star from scratch (that is, delete the detail and make it again)?