diff --git a/tests/Application/templates/bundles/SyliusAdminBundle/Order/Show/Summary/_item.html.twig b/tests/Application/templates/bundles/SyliusAdminBundle/Order/Show/Summary/_item.html.twig index 89b0cb7..daf5aa7 100644 --- a/tests/Application/templates/bundles/SyliusAdminBundle/Order/Show/Summary/_item.html.twig +++ b/tests/Application/templates/bundles/SyliusAdminBundle/Order/Show/Summary/_item.html.twig @@ -49,11 +49,14 @@ {{ money.format(item.total, order.currencyCode) }} +{% set discounts = item.getAdjustments(adminOrderItemDiscountAdjustment) %} +{% if discounts is not empty %} {{ 'setono_sylius_order_edit.ui.discounts'|trans }}: - {% for discount in item.getAdjustments(adminOrderItemDiscountAdjustment) %} + {% for discount in discounts %} {{ money.format(discount.amount, order.currencyCode) }}{% if not loop.last %}, {% endif %} {% endfor %} +{% endif %}