{% import '@SyliusShop/Common/Macro/custom_buttons.html.twig' as buttons %} {% import '@SyliusUi/Macro/flags.html.twig' as flags %}

{{ 'sylius.ui.order'|trans }}

n° {{ order.number }} -- {{ order.checkoutCompletedAt|format_date }}

{% if order.paymentState in ['awaiting_payment'] %} {{ buttons.default(path('sylius_shop_order_show', {'tokenValue': order.tokenValue}), 'sylius.ui.pay', null, 'credit card alternative', 'fluid blue') }} {% endif %}