Skip to content

Commit

Permalink
Conditie voor btwPercentage. Die lijkt te ontbreken, hoewel de databa…
Browse files Browse the repository at this point in the history
…se overal btw percentages heeft. Geldt voor de hele tuple/record.
  • Loading branch information
lwo committed Jan 11, 2024
1 parent 8960920 commit bc8e82f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/resources/templates/reproduction_materials.ftlh
Expand Up @@ -62,10 +62,11 @@
<#if tuplePayedAmounts?size gt 0>
<ul class="reproduction_totals">
<#list tuplePayedAmounts as tuple>
<#if tuple.get('btwPercentage')??>
<li>
<strong>
${tuple.get('totalItems')} ${_("items", "items")}
<#if tuple.get('btwPercentage')??>${_("inclusive" "incl.")} ${tuple.get('btwPercentage')?c}&percnt; ${_("btw", "BTW")}:</#if>
${_("inclusive" "incl.")} ${tuple.get('btwPercentage')?c}&percnt; ${_("btw", "BTW")}:
</strong>

<ul>
Expand All @@ -85,6 +86,7 @@
</li>
</ul>
</li>
</#if>
</#list>
</ul>
</#if>
Expand Down

0 comments on commit bc8e82f

Please sign in to comment.