{"en_US": "<data name=\"Payment on My Invoices\" inherit_id=\"account.portal_invoice_page\">\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//div[hasclass('o_download_pdf')]\" position=\"before\">\n            <t t-set=\"tx_ids\" t-value=\"invoice.transaction_ids.filtered(lambda tx: tx.state in ('pending', 'authorized'))\"/>\n            <t t-set=\"pending_manual_txs\" t-value=\"tx_ids.filtered(lambda tx: tx.state == 'pending' and tx.provider_code in ('none', 'custom'))\"/>\n            <div class=\"d-grid\">\n                <a href=\"#\" t-if=\"invoice.state == 'posted' and invoice.payment_state in ('not_paid', 'partial') and invoice.amount_total and invoice.move_type == 'out_invoice' and (pending_manual_txs or not tx_ids or invoice.amount_paid &lt; invoice.amount_total)\" class=\"btn btn-primary mb-2\" data-bs-toggle=\"modal\" data-bs-target=\"#pay_with\">\n                    <i class=\"fa fa-fw fa-arrow-circle-right\"/> Pay Now\n                </a>\n                <div t-if=\"tx_ids and not pending_manual_txs and not invoice.amount_residual and invoice.payment_state not in ('paid', 'in_payment')\" class=\"alert alert-info py-1 mb-2\">\n                    <i class=\"fa fa-fw fa-check-circle\"/> Pending\n                </div>\n                <div t-if=\"invoice.payment_state in ('paid', 'in_payment')\" class=\"alert alert-success py-1 mb-2\">\n                    <i class=\"fa fa-fw fa-check-circle\"/> Paid\n                </div>\n            </div>\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.transaction_ids 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.transaction_status\"/>\n            </div>\n            <t t-set=\"tx_ids\" t-value=\"invoice.transaction_ids.filtered(lambda tx: tx.state in ('authorized', 'done'))\"/>\n            <div t-if=\"(invoice.amount_residual or not tx_ids) and invoice.state == 'posted' and invoice.payment_state in ('not_paid', 'partial') and invoice.amount_total\" id=\"portal_pay\">\n                <t t-call=\"account_payment.portal_invoice_payment\"/>\n            </div>\n            <div class=\"panel-body\" t-if=\"existing_token\">\n                <div class=\"offset-lg-3 col-lg-6\">\n                    <i class=\"fa fa-info\"/> You have credits card registered, you can log-in to be able to use them.\n                </div>\n            </div>\n        </xpath>\n    </data>", "vi_VN": "<data name=\"Payment on My Invoices\" inherit_id=\"account.portal_invoice_page\">\n        <xpath expr=\"//t[@t-call='portal.portal_record_sidebar']//div[hasclass('o_download_pdf')]\" position=\"before\">\n            <t t-set=\"tx_ids\" t-value=\"invoice.transaction_ids.filtered(lambda tx: tx.state in ('pending', 'authorized'))\"/>\n            <t t-set=\"pending_manual_txs\" t-value=\"tx_ids.filtered(lambda tx: tx.state == 'pending' and tx.provider_code in ('none', 'custom'))\"/>\n            <div class=\"d-grid\">\n                <a href=\"#\" t-if=\"invoice.state == 'posted' and invoice.payment_state in ('not_paid', 'partial') and invoice.amount_total and invoice.move_type == 'out_invoice' and (pending_manual_txs or not tx_ids or invoice.amount_paid &lt; invoice.amount_total)\" class=\"btn btn-primary mb-2\" data-bs-toggle=\"modal\" data-bs-target=\"#pay_with\">\n                    <i class=\"fa fa-fw fa-arrow-circle-right\"/> Trả ngay\n                </a>\n                <div t-if=\"tx_ids and not pending_manual_txs and not invoice.amount_residual and invoice.payment_state not in ('paid', 'in_payment')\" class=\"alert alert-info py-1 mb-2\">\n                    <i class=\"fa fa-fw fa-check-circle\"/> Đang đợi\n                </div>\n                <div t-if=\"invoice.payment_state in ('paid', 'in_payment')\" class=\"alert alert-success py-1 mb-2\">\n                    <i class=\"fa fa-fw fa-check-circle\"/> Đã trả\n                </div>\n            </div>\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.transaction_ids 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.transaction_status\"/>\n            </div>\n            <t t-set=\"tx_ids\" t-value=\"invoice.transaction_ids.filtered(lambda tx: tx.state in ('authorized', 'done'))\"/>\n            <div t-if=\"(invoice.amount_residual or not tx_ids) and invoice.state == 'posted' and invoice.payment_state in ('not_paid', 'partial') and invoice.amount_total\" id=\"portal_pay\">\n                <t t-call=\"account_payment.portal_invoice_payment\"/>\n            </div>\n            <div class=\"panel-body\" t-if=\"existing_token\">\n                <div class=\"offset-lg-3 col-lg-6\">\n                    <i class=\"fa fa-info\"/> Bạn đã đăng ký thẻ tín dụng, bạn có thể đăng nhập để có thể sử dụng chúng.\n                </div>\n            </div>\n        </xpath>\n    </data>"}