{"en_US": "<t t-name=\"website_sale.payment_confirmation_status\">\n        <div class=\"oe_website_sale_tx_status mt-3\" t-att-data-order-id=\"order.id\" t-att-data-order-tracking-info=\"json.dumps(order_tracking_info)\">\n            <t t-set=\"tx_sudo\" t-value=\"order.get_portal_last_transaction()\"/>\n            <div t-attf-class=\"alert px-3 pb-0 pt-3 #{                     (tx_sudo.state == 'pending' and 'alert-info') or                     (tx_sudo.state == 'done' and order.amount_total == tx_sudo.amount and 'alert-success') or                     (tx_sudo.state == 'done' and order.amount_total != tx_sudo.amount and 'alert-warning') or                     (tx_sudo.state == 'authorized' and 'alert-success') or                     'alert-danger'}\" role=\"alert\">\n                <a title=\"Edit\" class=\"btn btn-sm btn-link text-dark float-end\" role=\"button\" groups=\"base.group_system\" target=\"_blank\" aria-label=\"Edit\" t-attf-href=\"/odoo/action-payment.action_payment_provider/{{tx_sudo.provider_id.id}}\">\n                    <i class=\"fa fa-pencil\"/>\n                </a>\n                <div>\n                    <t t-if=\"tx_sudo.state == 'pending'\">\n                        <t t-out=\"tx_sudo.provider_id.sudo().pending_msg\"/>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'done'\">\n                        <span t-if=\"tx_sudo.provider_id.sudo().done_msg\" t-out=\"tx_sudo.provider_id.sudo().done_msg\"/>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'done' and order.amount_total != tx_sudo.amount\">\n                        <span>Unfortunately your order can not be confirmed as the amount of your payment does not match the amount of your cart.\n                        Please contact the responsible of the shop for more information.</span>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'cancel'\">\n                        <t t-out=\"tx_sudo.provider_id.sudo().cancel_msg\"/>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'authorized'\">\n                        <t t-if=\"tx_sudo.provider_id.sudo().auth_msg\" t-out=\"tx_sudo.provider_id.sudo().auth_msg\"/>\n                        <span t-else=\"\">Your payment has been authorized.</span>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'error'\">\n                        <span t-esc=\"tx_sudo.state_message\"/>\n                    </t>\n                </div>\n                <t t-if=\"tx_sudo.provider_code == 'custom'\">\n                    <div id=\"order_reference\" t-if=\"order.reference\" class=\"mt-2\">\n                        <b>Communication: </b><span t-esc=\"order.reference\"/>\n                    </div>\n                    <div t-if=\"tx_sudo.provider_id.sudo().qr_code\">\n                        <t t-set=\"qr_code\" t-value=\"tx_sudo.company_id.partner_id.bank_ids[:1].build_qr_code_base64(order.amount_total,tx_sudo.reference, None, tx_sudo.currency_id, tx_sudo.partner_id)\"/>\n                        <div class=\"mt-2\" t-if=\"qr_code\">\n                            <h3>Or scan me with your banking app.</h3>\n                            <img class=\"border border-dark rounded\" t-att-src=\"qr_code\"/>\n                        </div>\n                    </div>\n                </t>\n            </div>\n        </div>\n    </t>", "fr_FR": "<t t-name=\"website_sale.payment_confirmation_status\">\n        <div class=\"oe_website_sale_tx_status mt-3\" t-att-data-order-id=\"order.id\" t-att-data-order-tracking-info=\"json.dumps(order_tracking_info)\">\n            <t t-set=\"tx_sudo\" t-value=\"order.get_portal_last_transaction()\"/>\n            <div t-attf-class=\"alert px-3 pb-0 pt-3 #{                     (tx_sudo.state == 'pending' and 'alert-info') or                     (tx_sudo.state == 'done' and order.amount_total == tx_sudo.amount and 'alert-success') or                     (tx_sudo.state == 'done' and order.amount_total != tx_sudo.amount and 'alert-warning') or                     (tx_sudo.state == 'authorized' and 'alert-success') or                     'alert-danger'}\" role=\"alert\">\n                <a title=\"Modifier\" class=\"btn btn-sm btn-link text-dark float-end\" role=\"button\" groups=\"base.group_system\" target=\"_blank\" aria-label=\"Modifier\" t-attf-href=\"/odoo/action-payment.action_payment_provider/{{tx_sudo.provider_id.id}}\">\n                    <i class=\"fa fa-pencil\"/>\n                </a>\n                <div>\n                    <t t-if=\"tx_sudo.state == 'pending'\">\n                        <t t-out=\"tx_sudo.provider_id.sudo().pending_msg\"/>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'done'\">\n                        <span t-if=\"tx_sudo.provider_id.sudo().done_msg\" t-out=\"tx_sudo.provider_id.sudo().done_msg\"/>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'done' and order.amount_total != tx_sudo.amount\">\n                        <span>Malheureusement, il est impossible de confirmer votre commande, puisque votre paiement ne couvre pas le montant total de votre panier.\n                        Veuillez contacter le responsable de la boutique pour avoir plus d'informations.</span>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'cancel'\">\n                        <t t-out=\"tx_sudo.provider_id.sudo().cancel_msg\"/>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'authorized'\">\n                        <t t-if=\"tx_sudo.provider_id.sudo().auth_msg\" t-out=\"tx_sudo.provider_id.sudo().auth_msg\"/>\n                        <span t-else=\"\">Votre paiement a été autorisé.</span>\n                    </t>\n                    <t t-if=\"tx_sudo.state == 'error'\">\n                        <span t-esc=\"tx_sudo.state_message\"/>\n                    </t>\n                </div>\n                <t t-if=\"tx_sudo.provider_code == 'custom'\">\n                    <div id=\"order_reference\" t-if=\"order.reference\" class=\"mt-2\">\n                        <b>Communication : </b><span t-esc=\"order.reference\"/>\n                    </div>\n                    <div t-if=\"tx_sudo.provider_id.sudo().qr_code\">\n                        <t t-set=\"qr_code\" t-value=\"tx_sudo.company_id.partner_id.bank_ids[:1].build_qr_code_base64(order.amount_total,tx_sudo.reference, None, tx_sudo.currency_id, tx_sudo.partner_id)\"/>\n                        <div class=\"mt-2\" t-if=\"qr_code\">\n                            <h3>Ou scannez-moi avec votre application bancaire.</h3>\n                            <img class=\"border border-dark rounded\" t-att-src=\"qr_code\"/>\n                        </div>\n                    </div>\n                </t>\n            </div>\n        </div>\n    </t>"}