{# Notice for plugins and theme developer: Do not extend this template! This template will be rendered over the `block` function. Templates which are rendered over the `block` function can not be extended. Instead of extending this template, simply extend the `base.html.twig` (or the document specific template) and override the block you want. All blocks of this template are available in the template which renders this template over the `block` function. #} {% block summary %} {% block document_sum %}
{% block document_sum_table %} {% block document_sum_table_inner %} {% block document_sum_total_net %} {% block document_sum_total_net_label %} {% endblock %} {% block document_sum_total_net_price %} {% endblock %} {% endblock %} {% block document_sum_taxes %} {% for calculatedTax in order.price.calculatedTaxes.sortByTax %} {% block document_sum_tax_label %} {% endblock %} {% block document_sum_tax_rate %} {% endblock %} {% endfor %} {% endblock %} {% block document_sum_total %} {% set displayRounded = order.totalRounding.interval != 0.01 or order.totalRounding.decimals != order.itemRounding.decimals %} {% if displayRounded %} {% block document_sum_total_raw_label %} {% endblock %} {% block document_sum_total_raw_price %} {% endblock %} {% block document_sum_total_rounded_label %} {% endblock %} {% block document_sum_total_rounded_price %} {% endblock %} {% else %} {% block document_sum_total_label %} {% endblock %} {% block document_sum_total_price %} {% endblock %} {% endif %} {% endblock %} {% endblock %}
{{ 'document.lineItems.totalNet'|trans|sw_sanitize }}{{ order.amountNet|currency(currencyIsoCode, languageId) }}
{{ 'document.lineItems.tax'|trans({'%taxRate%': calculatedTax.taxRate})|sw_sanitize }}{{ calculatedTax.tax|currency(currencyIsoCode, languageId) }}
{{ 'document.lineItems.total'|trans|sw_sanitize }}{{ order.price.rawTotal|currency(currencyIsoCode, languageId) }}
{{ 'document.lineItems.roundedTotal'|trans|sw_sanitize }}{{ order.price.totalPrice|currency(currencyIsoCode=currencyIsoCode, decimals=order.totalRounding.decimals, languageId=languageId) }}
{{ 'document.lineItems.total'|trans|sw_sanitize }}{{ order.price.totalPrice|currency(currencyIsoCode) }}
{% endblock %}
{% endblock %} {% endblock %}