- {{ "PayonePayment.checkoutFinishPage.mandateIdentification" | trans }}: - {{ page.extensions.payone.mandate.identification }} + {{ "PayonePayment.checkoutFinishPage.mandateIdentification"|trans|sw_sanitize }}: + {{ payoneData.mandateIdentification }}
{% endif %} - {% endblock %} + {% endif %} + {% endblock %} diff --git a/src/Resources/views/storefront/payone/account/mandate.html.twig b/src/Resources/views/storefront/payone/account/mandate.html.twig deleted file mode 100644 index c77ec8c72..000000000 --- a/src/Resources/views/storefront/payone/account/mandate.html.twig +++ /dev/null @@ -1,55 +0,0 @@ -{% sw_extends '@Storefront/storefront/page/account/_page.html.twig' %} - -{# @var page \PayonePayment\Storefront\Page\Mandate\AccountMandatePage #} -{# @var card \PayonePayment\DataAbstractionLayer\Entity\Card\PayonePaymentCardEntity #} - -{% block page_account_main_content %} -{{ "PayonePayment.mandatePage.pageSubTitle" | trans }}
- {% endblock %} -{{ "PayonePayment.mandatePage.tableIdentification" | trans }} | -{{ "PayonePayment.mandatePage.tableSignatureDate" | trans }} | -- |
---|---|---|
{{ mandate.identification }} | -{{ mandate.signatureDate | date }} | -- - {{ "PayonePayment.mandatePage.downloadButton" | trans }} - - | -
{{ "PayonePayment.mandatePage.noEntries" | trans }}
- {% endblock %} - {% endif %} -