{% import "@SyliusShop/shared/macro/money.html.twig" as money %} {% set order = hookable_metadata.context.order %} {% set tax_included = order.getTaxIncludedTotal() %} {% set tax_excluded = order.getTaxExcludedTotal() %} {{ 'sylius.ui.taxes_total'|trans }}: {% if tax_included %}
({{ 'sylius.ui.included_in_price'|trans }})
{% endif %} {% if not tax_included and not tax_excluded %}
{{ money.convertAndFormat(0) }}
{% endif %} {% if tax_excluded %}
{{ money.convertAndFormat(tax_excluded) }}
{% endif %} {% if tax_included %}
{{ money.convertAndFormat(tax_included) }}
{% endif %}