{"en_US": "<data name=\"Payment on My Invoices\" inherit_id=\"account.portal_invoice_page\">\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//h2[1]\" position=\"after\">\n            <t t-set=\"pending_txs\" t-value=\"invoice.transaction_ids.filtered(lambda tx: tx.state in ('pending', 'authorized') and tx.provider_code not in ('none', 'custom'))\"/>\n            <div t-if=\"invoice.currency_id.is_zero(invoice.amount_residual)\" class=\"rounded text-bg-success fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Paid\n            </div>\n            <div t-if=\"invoice.payment_state == 'in_payment' and not invoice.currency_id.is_zero(invoice.amount_residual)\" class=\"rounded text-bg-info fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Processing Payment\n            </div>\n            <div t-elif=\"pending_txs\" class=\"rounded text-bg-info fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Pending\n            </div>\n        </xpath>\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//div[hasclass('o_download_pdf')]\" position=\"before\">\n            <a t-if=\"invoice._has_to_be_paid()\" href=\"#\" class=\"btn btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#pay_with\">\n                <i class=\"fa fa-fw fa-arrow-circle-right\"/> Pay Now\n            </a>\n        </xpath>\n        <xpath expr=\"//div[@id='invoice_content']//div[hasclass('o_portal_html_view')]\" position=\"before\">\n            <t t-set=\"tx\" t-value=\"invoice.get_portal_last_transaction()\"/>\n            <div t-if=\"invoice.get_portal_last_transaction() and invoice.amount_total and not success and not error and (invoice.payment_state != 'not_paid' or tx.state in ('pending', 'authorized'))\" class=\"o_account_payment_tx_status\" t-att-data-invoice-id=\"invoice.id\">\n                <t t-call=\"payment.state_header\"/>\n            </div>\n            <div t-if=\"invoice._has_to_be_paid()\" id=\"portal_pay\" t-att-data-payment=\"payment\">\n                <t t-call=\"account_payment.portal_invoice_payment\"/>\n            </div>\n            <div t-else=\"\" id=\"portal_pay\" t-att-data-payment=\"payment\">\n                <t t-call=\"account_payment.portal_invoice_payment_paid\"/>\n            </div>\n        </xpath>\n    </data>", "es_ES": "<data name=\"Payment on My Invoices\" inherit_id=\"account.portal_invoice_page\">\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//h2[1]\" position=\"after\">\n            <t t-set=\"pending_txs\" t-value=\"invoice.transaction_ids.filtered(lambda tx: tx.state in ('pending', 'authorized') and tx.provider_code not in ('none', 'custom'))\"/>\n            <div t-if=\"invoice.currency_id.is_zero(invoice.amount_residual)\" class=\"rounded text-bg-success fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Pagado\n            </div>\n            <div t-if=\"invoice.payment_state == 'in_payment' and not invoice.currency_id.is_zero(invoice.amount_residual)\" class=\"rounded text-bg-info fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Procesando pago\n            </div>\n            <div t-elif=\"pending_txs\" class=\"rounded text-bg-info fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Pendiente\n            </div>\n        </xpath>\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//div[hasclass('o_download_pdf')]\" position=\"before\">\n            <a t-if=\"invoice._has_to_be_paid()\" href=\"#\" class=\"btn btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#pay_with\">\n                <i class=\"fa fa-fw fa-arrow-circle-right\"/> Pagar ahora\n            </a>\n        </xpath>\n        <xpath expr=\"//div[@id='invoice_content']//div[hasclass('o_portal_html_view')]\" position=\"before\">\n            <t t-set=\"tx\" t-value=\"invoice.get_portal_last_transaction()\"/>\n            <div t-if=\"invoice.get_portal_last_transaction() and invoice.amount_total and not success and not error and (invoice.payment_state != 'not_paid' or tx.state in ('pending', 'authorized'))\" class=\"o_account_payment_tx_status\" t-att-data-invoice-id=\"invoice.id\">\n                <t t-call=\"payment.state_header\"/>\n            </div>\n            <div t-if=\"invoice._has_to_be_paid()\" id=\"portal_pay\" t-att-data-payment=\"payment\">\n                <t t-call=\"account_payment.portal_invoice_payment\"/>\n            </div>\n            <div t-else=\"\" id=\"portal_pay\" t-att-data-payment=\"payment\">\n                <t t-call=\"account_payment.portal_invoice_payment_paid\"/>\n            </div>\n        </xpath>\n    </data>", "pt_PT": "<data name=\"Payment on My Invoices\" inherit_id=\"account.portal_invoice_page\">\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//h2[1]\" position=\"after\">\n            <t t-set=\"pending_txs\" t-value=\"invoice.transaction_ids.filtered(lambda tx: tx.state in ('pending', 'authorized') and tx.provider_code not in ('none', 'custom'))\"/>\n            <div t-if=\"invoice.currency_id.is_zero(invoice.amount_residual)\" class=\"rounded text-bg-success fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Pago\n            </div>\n            <div t-if=\"invoice.payment_state == 'in_payment' and not invoice.currency_id.is_zero(invoice.amount_residual)\" class=\"rounded text-bg-info fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> A Processar Pagamento\n            </div>\n            <div t-elif=\"pending_txs\" class=\"rounded text-bg-info fw-normal badge\">\n                <i class=\"fa fa-fw fa-check-circle\"/> Pendente\n            </div>\n        </xpath>\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//div[hasclass('o_download_pdf')]\" position=\"before\">\n            <a t-if=\"invoice._has_to_be_paid()\" href=\"#\" class=\"btn btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#pay_with\">\n                <i class=\"fa fa-fw fa-arrow-circle-right\"/> Pagar Agora\n            </a>\n        </xpath>\n        <xpath expr=\"//div[@id='invoice_content']//div[hasclass('o_portal_html_view')]\" position=\"before\">\n            <t t-set=\"tx\" t-value=\"invoice.get_portal_last_transaction()\"/>\n            <div t-if=\"invoice.get_portal_last_transaction() and invoice.amount_total and not success and not error and (invoice.payment_state != 'not_paid' or tx.state in ('pending', 'authorized'))\" class=\"o_account_payment_tx_status\" t-att-data-invoice-id=\"invoice.id\">\n                <t t-call=\"payment.state_header\"/>\n            </div>\n            <div t-if=\"invoice._has_to_be_paid()\" id=\"portal_pay\" t-att-data-payment=\"payment\">\n                <t t-call=\"account_payment.portal_invoice_payment\"/>\n            </div>\n            <div t-else=\"\" id=\"portal_pay\" t-att-data-payment=\"payment\">\n                <t t-call=\"account_payment.portal_invoice_payment_paid\"/>\n            </div>\n        </xpath>\n    </data>"}