"Brutomarge" on "jaarverslag"

Hello,

I wanted to change te code of the “jaarverslag” so that the accountnumbers 61 would be included in the “brutomarge” instead of in the “bedrijfsresultaat”.
I tought dragging the line from under the “brutomarge” to above the “brutomarge” would do the trick but instead the line just disappears in my “jaarverslag”.
Only when I select “VOL” schema instead of “VKT” schema the line appears in my “brutomarge”

What should I add to my code?

Kind Regards,
Wendy

This is the part of the code that I adjusted from “jaarverslag”

|:-----------------------------|-----15%------:|{% if previous_period.exists %}-----15%------:|------15%-------:|—15%—:{% endif %}+
| Resultatenrekening |{{period.year_end_date | date: ‘%d/%m/%Y’}}|{% if previous_period.exists %}{{previous_period.year_end_date | date: ‘%d/%m/%Y’}}|Verschil EUR|Verschil %{% endif %}
|{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Omzet |{%=$0+ -1*#70 %} |{% if previous_period.exists %}{%=$1+ -1*#70:1y %}|{{ $0-$1 | currency }}|{{ ($0-$1)/$1 | percentage }} {% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Handelsgoederen |{%=$0+ -1*#60 %} |{% if previous_period.exists %}{%=$1+ -1*#60:1y %}|{{ ($0-$1) | currency }}|{{ ($0-$1)/$1 | percentage }}{% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% if choice_vol_vkt == “VOL schema” %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Diensten & diverse goederen |{%=$0+ -1*#61 %} |{% if previous_period.exists %}{%=$1+ -1*#61:1y %}|{{ ($0-$1) | currency }}|{{ ($0-$1)/$1 | percentage }}{% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Voorraad goederen in bewerking en gereed product en bestellingen in uitvoering |{%=$0+ -1*#71 %} |{% if previous_period.exists %}{%=$1+ -1*#71:1y %}|{{ $0-$1 | currency }}|{{ ($0-$1)/$1 | percentage }} {% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Geproduceerde vaste activa |{%=$0+ -1*#72 %} |{% if previous_period.exists %}{%=$1+ -1*#72:1y %}|{{ $0-$1 | currency }}|{{ ($0-$1)/$1 | percentage }} {% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Andere bedrijfsopbrengsten |{%=$0+ -1*#74 %} |{% if previous_period.exists %}{%=$1+ -1*#74:1y %}|{{ $0-$1 | currency }}|{{ ($0-$1)/$1 | percentage }} {% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% else %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Andere bedrijfsopbrengsten |{%=$0+ -1*#71__74 %} |{% if previous_period.exists %}{%=$1+ -1*#71__74:1y %}|{{ $0-$1 | currency }}|{{ ($0-$1)/$1 | percentage }} {% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% endif %}{% if new_mar %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Niet-recurrente bedrijfsopbrengsten |{%=$0+ -1*(#760+#7620+#7630+#764__768) %} |{% if previous_period.exists %}{%=$1+ -1*(#760+#7620+#7630+#764__768):1y %}|{{ $0-$1 | currency }}|{{ ($0-$1)/$1 | percentage }}{% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% endif %}
| |
|Brutomarge |{{ $10 | currency }} |{% if previous_period.exists %}{{ $11 | currency }}|{{ $10-$11| currency }}|{{ ($10-$11)/$11 | percentage }}{% endif %}
|{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}

|Personeelskosten |{%=$0+ -1*#62 %} |{% if previous_period.exists %}{%=$1+ -1*#62:1y %}|{{ ($0-$1) | currency }}|{{ ($0-$1)/$1 | percentage }}{% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Afschrijving/waardeverminderingen |{%=$0+ -1*#63 %} |{% if previous_period.exists %}{%=$1+ -1*#63:1y %}|{{ ($0-$1) | currency }}|{{ ($0-$1)/$1 | percentage }}{% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Andere bedrijfskosten |{%=$0+ -1*#64 %} |{% if previous_period.exists %}{%=$1+ -1*#64:1y %}|{{ ($0-$1) | currency }}|{{ ($0-$1)/$1 | percentage }}{% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% if new_mar %}{% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
|Niet-recurrente bedrijfskosten |{%=$0+ -1*(#660+#6620+#6630+#664__667+#6690) %} |{% if previous_period.exists %}{%=$1+ -1*(#660+#6620+#6630+#664__667+#6690):1y %}|{{ -1*($0-$1) | currency }}|{{ ($0-$1)/$1 | percentage }}{% endif %}{%$10+ $0 %}{%$11+ $1 %}{% endcapture %}{% unless $0 == 0 and $1 == 0 %}{{ subtabel }}{% endunless %}{% endif %}
|
|Bedrijfsresultaat |{{ $10 | currency }} |{% if previous_period.exists %}{{ $11 | currency }}|{{ $10-$11| currency }}|{{ ($10-$11)/$11 | percentage }}{% endif %}
|

Hi Wendy

if I look at the code, I see that indeed the part of the 61-accountnumbers is between an if statement that says : if you choose VOL, show this part :

{% if choice_vol_vkt == “VOL schema” %}
    {% capture subtabel %}{% assign $0 = 0 %}{% assign $1 = 0 %}
    |Diensten & diverse goederen |{%=$0+ -1*#61 %} 
    |{% if previous_period.exists %}{%=$1+ -1*#61:1y %}|{{ ($0-$1) | currency }}
    |{{ ($0-$1)/$1 | percentage }}
{% endif %}

You can remove the if-statement, to show the 61-accounts in VKT

Kind regards
Sofie