{"en_US": "<t name=\"My Invoices and Payments\" t-name=\"account.portal_my_invoices\">\n      <t t-call=\"portal.portal_layout\">\n        <t t-set=\"breadcrumbs_searchbar\" t-value=\"True\"/>\n\n        <t t-call=\"portal.portal_searchbar\">\n            <t t-set=\"title\">Invoices</t>\n        </t>\n        <t t-if=\"not invoices\">\n            <p>There are currently no invoices and payments for your account.</p>\n        </t>\n        <t t-if=\"invoices\" t-call=\"portal.portal_table\">\n            <thead>\n                <tr class=\"active\">\n                    <th>Invoice #</th>\n                    <th>Invoice Date</th>\n                    <th class=\"d-none d-md-table-cell\">Due Date</th>\n                    <th class=\"text-center\">Status</th>\n                    <th class=\"text-end\">Amount Due</th>\n                </tr>\n            </thead>\n            <tbody>\n                <t t-foreach=\"invoices\" t-as=\"invoice\">\n                    <tr>\n                        <td>\n                            <a t-att-href=\"invoice.get_portal_url()\" t-att-title=\"invoice.name\">\n                                <t t-esc=\"invoice.name\" t-if=\"invoice.name != '/'\"/>\n                                <em t-else=\"\">Draft Invoice</em>\n                            </a>\n                        </td>\n                        <td><span t-field=\"invoice.invoice_date\"/></td>\n                        <td class=\"d-none d-md-table-cell\"><span t-field=\"invoice.invoice_date_due\"/></td>\n                        <td class=\"tx_status text-center\">\n                            <t t-if=\"invoice.state == 'posted' and invoice.payment_state not in ('in_payment', 'paid', 'reversed')\">\n                                <span class=\"badge rounded-pill text-bg-info\"><i class=\"fa fa-fw fa-clock-o\" aria-label=\"Opened\" title=\"Opened\" role=\"img\"/><span class=\"d-none d-md-inline\"> Waiting for Payment</span></span>\n                            </t>\n                            <t t-if=\"invoice.state == 'posted' and invoice.payment_state in ('paid', 'in_payment')\">\n                                <span class=\"badge rounded-pill text-bg-success\"><i class=\"fa fa-fw fa-check\" aria-label=\"Paid\" title=\"Paid\" role=\"img\"/><span class=\"d-none d-md-inline\"> Paid</span></span>\n                            </t>\n                            <t t-if=\"invoice.state == 'posted' and invoice.payment_state == 'reversed'\">\n                                <span class=\"badge rounded-pill text-bg-success\"><i class=\"fa fa-fw fa-check\" aria-label=\"Reversed\" title=\"Reversed\" role=\"img\"/><span class=\"d-none d-md-inline\"> Reversed</span></span>\n                            </t>\n                            <t t-if=\"invoice.state == 'cancel'\">\n                                <span class=\"badge rounded-pill text-bg-warning\"><i class=\"fa fa-fw fa-remove\" aria-label=\"Cancelled\" title=\"Cancelled\" role=\"img\"/><span class=\"d-none d-md-inline\"> Cancelled</span></span>\n                            </t>\n                        </td>\n                        <td class=\"text-end\"><span t-esc=\"-invoice.amount_residual if invoice.move_type == 'out_refund' else invoice.amount_residual\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: invoice.currency_id}\"/></td>\n                    </tr>\n                </t>\n            </tbody>\n        </t>\n      </t>\n    </t>", "vi_VN": "<t name=\"My Invoices and Payments\" t-name=\"account.portal_my_invoices\">\n      <t t-call=\"portal.portal_layout\">\n        <t t-set=\"breadcrumbs_searchbar\" t-value=\"True\"/>\n\n        <t t-call=\"portal.portal_searchbar\">\n            <t t-set=\"title\">Hóa đơn</t>\n        </t>\n        <t t-if=\"not invoices\">\n            <p>Hiện không có hóa đơn và thanh toán nào cho tài khoản của bạn.</p>\n        </t>\n        <t t-if=\"invoices\" t-call=\"portal.portal_table\">\n            <thead>\n                <tr class=\"active\">\n                    <th>Hóa đơn #</th>\n                    <th>Ngày hóa đơn</th>\n                    <th class=\"d-none d-md-table-cell\">Ngày phải trả</th>\n                    <th class=\"text-center\">Trạng thái</th>\n                    <th class=\"text-end\">Số tiền phải trả</th>\n                </tr>\n            </thead>\n            <tbody>\n                <t t-foreach=\"invoices\" t-as=\"invoice\">\n                    <tr>\n                        <td>\n                            <a t-att-href=\"invoice.get_portal_url()\" t-att-title=\"invoice.name\">\n                                <t t-esc=\"invoice.name\" t-if=\"invoice.name != '/'\"/>\n                                <em t-else=\"\">Hóa đơn Nháp</em>\n                            </a>\n                        </td>\n                        <td><span t-field=\"invoice.invoice_date\"/></td>\n                        <td class=\"d-none d-md-table-cell\"><span t-field=\"invoice.invoice_date_due\"/></td>\n                        <td class=\"tx_status text-center\">\n                            <t t-if=\"invoice.state == 'posted' and invoice.payment_state not in ('in_payment', 'paid', 'reversed')\">\n                                <span class=\"badge rounded-pill text-bg-info\"><i class=\"fa fa-fw fa-clock-o\" aria-label=\"Opened\" title=\"Opened\" role=\"img\"/><span class=\"d-none d-md-inline\"> Đợi thanh toán</span></span>\n                            </t>\n                            <t t-if=\"invoice.state == 'posted' and invoice.payment_state in ('paid', 'in_payment')\">\n                                <span class=\"badge rounded-pill text-bg-success\"><i class=\"fa fa-fw fa-check\" aria-label=\"Paid\" title=\"Paid\" role=\"img\"/><span class=\"d-none d-md-inline\"> Đã trả</span></span>\n                            </t>\n                            <t t-if=\"invoice.state == 'posted' and invoice.payment_state == 'reversed'\">\n                                <span class=\"badge rounded-pill text-bg-success\"><i class=\"fa fa-fw fa-check\" aria-label=\"Reversed\" title=\"Reversed\" role=\"img\"/><span class=\"d-none d-md-inline\"> Đảo</span></span>\n                            </t>\n                            <t t-if=\"invoice.state == 'cancel'\">\n                                <span class=\"badge rounded-pill text-bg-warning\"><i class=\"fa fa-fw fa-remove\" aria-label=\"Cancelled\" title=\"Cancelled\" role=\"img\"/><span class=\"d-none d-md-inline\"> Đã hủy</span></span>\n                            </t>\n                        </td>\n                        <td class=\"text-end\"><span t-esc=\"-invoice.amount_residual if invoice.move_type == 'out_refund' else invoice.amount_residual\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: invoice.currency_id}\"/></td>\n                    </tr>\n                </t>\n            </tbody>\n        </t>\n      </t>\n    </t>"}