{"en_US": "<t name=\"Invoice Payment\" t-name=\"account_payment.portal_invoice_payment\">\n        <div class=\"row\">\n            <div class=\"modal fade\" id=\"pay_with\" role=\"dialog\">\n                <div class=\"modal-dialog\">\n                    <div class=\"modal-content\">\n                        <div class=\"modal-header pb-0\">\n                            <h3 class=\"modal-title\">Pay</h3>\n                            <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"/>\n                        </div>\n                        <div class=\"modal-body\">\n                            <div t-if=\"company_mismatch\">\n                                <t t-call=\"payment.company_mismatch_warning\"/>\n                            </div>\n                            <div t-elif=\"installment_state in ('next', 'overdue') and amount_due != next_amount_to_pay\" id=\"o_payment_installments_modal\">\n                                <div class=\"btn-group w-100\" id=\"o_payment_tabs\" role=\"tablist\">\n                                    <button class=\"btn btn-outline-primary o_btn_payment_tab active\" id=\"o_payment_installments_tab\" data-bs-toggle=\"pill\" data-bs-target=\"#o_payment_installments\" type=\"button\" role=\"tab\" aria-controls=\"o_payment_installments\" aria-selected=\"true\">\n                                        <strong>Installment</strong>\n                                        <br/>\n                                        <t t-out=\"next_amount_to_pay\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                    </button>\n                                    <button class=\"btn btn-outline-primary o_btn_payment_tab\" id=\"o_payment_full_tab\" data-bs-toggle=\"pill\" data-bs-target=\"#o_payment_full\" type=\"button\" role=\"tab\" aria-controls=\"o_payment_full\" aria-selected=\"false\">\n                                        <strong>Full Amount</strong><br/>\n                                        <t t-out=\"amount_due\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                    </button>\n                                </div>\n                                <div class=\"tab-content\" id=\"o_payment_tabcontent\">\n                                    <div t-if=\"payment_state == 'in_payment'\" class=\"alert alert-danger mt-2\">\n                                        A payment has already been made on this invoice, please make sure to not pay twice.\n                                    </div>\n                                    <div class=\"tab-pane my-3 show active\" id=\"o_payment_installments\" role=\"tabpanel\" aria-labelledby=\"o_payment_installments_tab\" tabindex=\"0\">\n                                        <div class=\"text-bg-light row row-cols-1 row-cols-md-2 mx-0 py-2 rounded\">\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'amount_installment'\"/>\n                                                <t t-set=\"label\">Amount</t>\n                                                <t t-set=\"value\" t-value=\"next_amount_to_pay\"/>\n                                                <t t-set=\"options\" t-value=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                            </t>\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'reference_installment'\"/>\n                                                <t t-set=\"label\">Reference</t>\n                                                <t t-set=\"value\" t-value=\"next_payment_reference\"/>\n                                                <t t-set=\"include_separator\" t-value=\"True\"/>\n                                            </t>\n                                        </div>\n                                    </div>\n                                    <div class=\"tab-pane my-3\" id=\"o_payment_full\" role=\"tabpanel\" aria-labelledby=\"o_payment_full_tab\" tabindex=\"0\">\n                                        <div t-if=\"show_epd\" class=\"alert alert-success\">\n                                            Early Payment Discount of <span t-out=\"epd_discount_amount_currency\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/> has been applied.\n                                        </div>\n                                        <div class=\"text-bg-light row row-cols-1 row-cols-md-2 mx-0 py-2 rounded\">\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'amount_full'\"/>\n                                                <t t-set=\"label\">Amount</t>\n                                                <t t-set=\"value\" t-value=\"amount_due\"/>\n                                                <t t-set=\"options\" t-value=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                            </t>\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'reference_full'\"/>\n                                                <t t-set=\"label\">Reference</t>\n                                                <t t-set=\"value\" t-value=\"invoice_name\"/>\n                                                <t t-set=\"include_separator\" t-value=\"True\"/>\n                                            </t>\n                                        </div>\n                                    </div>\n                                    <!-- set default amount as the max. amount due, the 'amount'\n                                         will be updated/set js-side depending the active tab -->\n                                    <t t-call=\"account_payment.form\">\n                                        <t t-set=\"amount\" t-value=\"amount_due\"/>\n                                    </t>\n                                </div>\n                            </div>\n                            <t t-else=\"\">\n                                <div t-if=\"show_epd\" class=\"alert alert-success\">\n                                    Early Payment Discount of <span t-out=\"epd_discount_amount_currency\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/> has been applied.\n                                </div>\n                                <div t-if=\"payment_state == 'in_payment'\" class=\"alert alert-danger\">\n                                    A payment has already been made on this invoice, please make sure to not pay twice.\n                                </div>\n                                <div class=\"text-bg-light row row-cols-1 row-cols-md-2 mx-0 mb-3 py-2 rounded\">\n                                    <t t-call=\"payment.summary_item\">\n                                        <t t-set=\"name\" t-value=\"'amount_full'\"/>\n                                        <t t-set=\"label\">Amount</t>\n                                        <t t-set=\"value\" t-value=\"amount_due\"/>\n                                        <t t-set=\"options\" t-value=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                    </t>\n                                    <t t-call=\"payment.summary_item\">\n                                        <t t-set=\"name\" t-value=\"'reference_full'\"/>\n                                        <t t-set=\"label\">Reference</t>\n                                        <t t-set=\"value\" t-value=\"next_payment_reference\"/>\n                                        <t t-set=\"include_separator\" t-value=\"True\"/>\n                                    </t>\n                                </div>\n                                <t t-call=\"account_payment.form\">\n                                    <t t-set=\"amount\" t-value=\"amount_due\"/>\n                                </t>\n                            </t>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </t>", "es_ES": "<t name=\"Invoice Payment\" t-name=\"account_payment.portal_invoice_payment\">\n        <div class=\"row\">\n            <div class=\"modal fade\" id=\"pay_with\" role=\"dialog\">\n                <div class=\"modal-dialog\">\n                    <div class=\"modal-content\">\n                        <div class=\"modal-header pb-0\">\n                            <h3 class=\"modal-title\">Pagar</h3>\n                            <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Cerrar\"/>\n                        </div>\n                        <div class=\"modal-body\">\n                            <div t-if=\"company_mismatch\">\n                                <t t-call=\"payment.company_mismatch_warning\"/>\n                            </div>\n                            <div t-elif=\"installment_state in ('next', 'overdue') and amount_due != next_amount_to_pay\" id=\"o_payment_installments_modal\">\n                                <div class=\"btn-group w-100\" id=\"o_payment_tabs\" role=\"tablist\">\n                                    <button class=\"btn btn-outline-primary o_btn_payment_tab active\" id=\"o_payment_installments_tab\" data-bs-toggle=\"pill\" data-bs-target=\"#o_payment_installments\" type=\"button\" role=\"tab\" aria-controls=\"o_payment_installments\" aria-selected=\"true\">\n                                        <strong>Cuota</strong>\n                                        <br/>\n                                        <t t-out=\"next_amount_to_pay\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                    </button>\n                                    <button class=\"btn btn-outline-primary o_btn_payment_tab\" id=\"o_payment_full_tab\" data-bs-toggle=\"pill\" data-bs-target=\"#o_payment_full\" type=\"button\" role=\"tab\" aria-controls=\"o_payment_full\" aria-selected=\"false\">\n                                        <strong>Importe completo</strong><br/>\n                                        <t t-out=\"amount_due\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                    </button>\n                                </div>\n                                <div class=\"tab-content\" id=\"o_payment_tabcontent\">\n                                    <div t-if=\"payment_state == 'in_payment'\" class=\"alert alert-danger mt-2\">\n                                        Ya ha realizado un pago para esta factura, asegúrese de no pagar dos veces.\n                                    </div>\n                                    <div class=\"tab-pane my-3 show active\" id=\"o_payment_installments\" role=\"tabpanel\" aria-labelledby=\"o_payment_installments_tab\" tabindex=\"0\">\n                                        <div class=\"text-bg-light row row-cols-1 row-cols-md-2 mx-0 py-2 rounded\">\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'amount_installment'\"/>\n                                                <t t-set=\"label\">Importe</t>\n                                                <t t-set=\"value\" t-value=\"next_amount_to_pay\"/>\n                                                <t t-set=\"options\" t-value=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                            </t>\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'reference_installment'\"/>\n                                                <t t-set=\"label\">Referencia</t>\n                                                <t t-set=\"value\" t-value=\"next_payment_reference\"/>\n                                                <t t-set=\"include_separator\" t-value=\"True\"/>\n                                            </t>\n                                        </div>\n                                    </div>\n                                    <div class=\"tab-pane my-3\" id=\"o_payment_full\" role=\"tabpanel\" aria-labelledby=\"o_payment_full_tab\" tabindex=\"0\">\n                                        <div t-if=\"show_epd\" class=\"alert alert-success\">\n                                            Descuento por pago anticipado de <span t-out=\"epd_discount_amount_currency\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/> se ha aplicado.\n                                        </div>\n                                        <div class=\"text-bg-light row row-cols-1 row-cols-md-2 mx-0 py-2 rounded\">\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'amount_full'\"/>\n                                                <t t-set=\"label\">Importe</t>\n                                                <t t-set=\"value\" t-value=\"amount_due\"/>\n                                                <t t-set=\"options\" t-value=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                            </t>\n                                            <t t-call=\"payment.summary_item\">\n                                                <t t-set=\"name\" t-value=\"'reference_full'\"/>\n                                                <t t-set=\"label\">Referencia</t>\n                                                <t t-set=\"value\" t-value=\"invoice_name\"/>\n                                                <t t-set=\"include_separator\" t-value=\"True\"/>\n                                            </t>\n                                        </div>\n                                    </div>\n                                    <!-- set default amount as the max. amount due, the 'amount'\n                                         will be updated/set js-side depending the active tab -->\n                                    <t t-call=\"account_payment.form\">\n                                        <t t-set=\"amount\" t-value=\"amount_due\"/>\n                                    </t>\n                                </div>\n                            </div>\n                            <t t-else=\"\">\n                                <div t-if=\"show_epd\" class=\"alert alert-success\">\n                                    Descuento por pago anticipado de <span t-out=\"epd_discount_amount_currency\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/> se ha aplicado.\n                                </div>\n                                <div t-if=\"payment_state == 'in_payment'\" class=\"alert alert-danger\">\n                                    Ya ha realizado un pago para esta factura, asegúrese de no pagar dos veces.\n                                </div>\n                                <div class=\"text-bg-light row row-cols-1 row-cols-md-2 mx-0 mb-3 py-2 rounded\">\n                                    <t t-call=\"payment.summary_item\">\n                                        <t t-set=\"name\" t-value=\"'amount_full'\"/>\n                                        <t t-set=\"label\">Importe</t>\n                                        <t t-set=\"value\" t-value=\"amount_due\"/>\n                                        <t t-set=\"options\" t-value=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                                    </t>\n                                    <t t-call=\"payment.summary_item\">\n                                        <t t-set=\"name\" t-value=\"'reference_full'\"/>\n                                        <t t-set=\"label\">Referencia</t>\n                                        <t t-set=\"value\" t-value=\"next_payment_reference\"/>\n                                        <t t-set=\"include_separator\" t-value=\"True\"/>\n                                    </t>\n                                </div>\n                                <t t-call=\"account_payment.form\">\n                                    <t t-set=\"amount\" t-value=\"amount_due\"/>\n                                </t>\n                            </t>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </t>"}