{% for position in positionsMiscellaneous %} {# check whether there are different prices used, e.g. one uses uses includes vat and one not #} {% if lastIncludesVat is not null and lastIncludesVat != position.includesVat %} {% set vatWarning = true %} {% endif %} {% set lastIncludesVat = position.includesVat %} {% endfor %}
{{ 'invoice.position.additional'|trans }} {{ 'invoice.position.amount'|trans }} {{ 'invoice.price.single'|trans }} {{ 'invoice.vat'|trans }} {{ 'invoice.price.total'|trans }}
{{ position.description }} {{ position.amount }} {{ position.price|number_format(2, ',', '.') }} {% if is_decimal_place_0(position.vat) %} {{ position.vat|number_format(0, ',', '.') }} {% else %} {{ position.vat|number_format(2, ',', '.') }} {% endif %} {{ position.totalPrice }}
{{ miscTotal|number_format(2, ',', '.') }}