{% import "@SyliusAdmin/Common/Macro/money.html.twig" as money %} {% import '@SyliusUi/Macro/labels.html.twig' as label %}
{% include '@SyliusAdmin/Common/Label/paymentState.html.twig' with {'data': payment.state} %}
{{ payment.method }}
{{ money.format(payment.amount, payment.order.currencyCode) }}
{% if sm_can(payment, 'complete', 'sylius_payment') %}
{% endif %} {% if sm_can(payment, 'refund', 'sylius_payment') %}
{% endif %} {% if payment.method.gatewayConfig.factoryName == 'sylius.pay_pal' and payment.state == 'refunded' %}

{{ 'sylius.pay_pal.tender_type'|trans }}

{% endif %}