{% import "@SyliusShop/Common/Macro/money.html.twig" as money %} {% set itemsSubtotal = sylius_order_items_subtotal(order) %} {% set taxIncluded = sylius_order_tax_included(order) %} {% set taxExcluded = sylius_order_tax_excluded(order) %} {% set orderPromotionAdjustment = constant('Sylius\\Component\\Core\\Model\\AdjustmentInterface::ORDER_PROMOTION_ADJUSTMENT') %} {% set orderPromotions = sylius_aggregate_adjustments(order.adjustmentsRecursively(orderPromotionAdjustment)) %} {{ 'sylius.ui.items_total'|trans }}: {{ money.convertAndFormat(itemsSubtotal) }}
{{ 'sylius.ui.taxes_total'|trans }}: 
{% if not taxIncluded and not taxExcluded %}
{{ money.convertAndFormat(0) }}
{% endif %} {% if taxExcluded %}
{{ money.convertAndFormat(taxExcluded) }}
{% endif %} {% if taxIncluded %}
({{ 'sylius.ui.included_in_price'|trans }}) {{ money.convertAndFormat(taxIncluded) }}
{% endif %}
{{ 'sylius.ui.discount'|trans }}: {{ money.convertAndFormat(order.orderPromotionTotal) }} {% if order.orderPromotionTotal != 0 %} {% endif %} {% include '@SyliusShop/Common/Order/Table/_shipping.html.twig' with {'order': order} %} {{ 'sylius.ui.total'|trans }}: {{ money.convertAndFormat(order.total) }} {% if order.currencyCode is not same as(sylius.currencyCode) %} {{ 'sylius.ui.total_in_base_currency'|trans }}: {{ money.format(order.total, order.currencyCode) }} {% endif %}