{"en_US": "<t name=\"Sales Order Portal Content\" t-name=\"sale.sale_order_portal_content\">\n        <!-- Intro -->\n        <div id=\"introduction\" t-attf-class=\"pb-2 pt-3 #{'card-header bg-white' if report_type == 'html' else ''}\">\n          <h2 class=\"my-0\">\n                <t t-out=\"sale_order.type_name\"/>\n                <em t-out=\"sale_order.name\"/>\n            </h2>\n        </div>\n\n        <div t-attf-class=\"#{'card-body' if report_type == 'html' else ''}\">\n            <!-- Informations -->\n            <div id=\"informations\">\n                <div t-if=\"sale_order.transaction_ids and not invoices and sale_order.state in ('sent', 'sale') and portal_confirmation == 'pay' and not success and not error\" t-att-data-order-id=\"sale_order.id\">\n                    <t t-if=\"sale_order.transaction_ids\">\n                        <t t-call=\"payment.transaction_status\">\n                            <t t-set=\"tx\" t-value=\"sale_order.get_portal_last_transaction()\"/>\n                        </t>\n                    </t>\n                </div>\n                <div class=\"row\" id=\"so_date\">\n                    <div class=\"mb-3 col-6\">\n                      <t t-if=\"sale_order.state in ['sale', 'done', 'cancel']\">\n                        <strong>Order Date:</strong>\n                      </t>\n                      <t t-else=\"\">\n                         <strong>Quotation Date:</strong>\n                      </t>\n                      <span t-field=\"sale_order.date_order\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/>\n                    </div>\n                    <div class=\"mb-3 col-6\" t-if=\"sale_order.validity_date and sale_order.state in ['draft', 'sent']\">\n                        <strong>Expiration Date:</strong> <span t-field=\"sale_order.validity_date\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/>\n                    </div>\n                </div>\n                <div class=\"row\" id=\"invoicing_shipping_address\">\n                    <div class=\"col-lg-6\">\n                        <strong class=\"d-block mb-1\">\n                            <t t-if=\"sale_order.partner_shipping_id == sale_order.partner_invoice_id\">\n                                Invoicing and Shipping Address:\n                            </t>\n                            <t t-else=\"\">\n                                Invoicing Address:\n                            </t>\n                        </strong>\n                        <address t-field=\"sale_order.partner_invoice_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}\"/>\n                    </div>\n                    <div t-if=\"sale_order.partner_shipping_id != sale_order.partner_invoice_id\" id=\"shipping_address\" class=\"col-lg-6\">\n                        <strong class=\"d-block mb-1\">\n                            Shipping Address:\n                        </strong>\n                        <address t-field=\"sale_order.partner_shipping_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}\"/>\n                    </div>\n                </div>\n\n                <t t-set=\"invoices\" t-value=\"sale_order.invoice_ids.filtered(lambda i: i.state not in ['draft', 'cancel'])\"/>\n                <div t-if=\"invoices\" class=\"row\">\n                    <div class=\"col\">\n                        <strong class=\"d-block mb-1\">Invoices</strong>\n                        <ul class=\"list-group mb-4\">\n                            <t t-foreach=\"invoices\" t-as=\"i\">\n                                <t t-set=\"report_url\" t-value=\"i.get_portal_url(report_type='pdf', download=True)\"/>\n                                <t t-set=\"authorized_tx_ids\" t-value=\"i.transaction_ids.filtered(lambda tx: tx.state == 'authorized')\"/>\n                                <div class=\"d-flex flex-wrap align-items-center justify-content-between\">\n                                    <div>\n                                        <a t-att-href=\"report_url\">\n                                            <span t-out=\"i.name\"/>\n                                        </a>\n                                        <div class=\"small d-lg-inline-block\">Date: <span class=\"text-muted\" t-field=\"i.invoice_date\"/></div>\n                                    </div>\n                                    <span t-if=\"i.payment_state in ('paid', 'in_payment')\" class=\"small badge text-bg-success orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-check\"/> <b>Paid</b>\n                                    </span>\n                                    <span t-elif=\"i.payment_state == 'reversed'\" class=\"small badge text-bg-success orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-check\"/> <b>Reversed</b>\n                                    </span>\n                                    <span t-elif=\"authorized_tx_ids\" class=\"small badge text-bg-success orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-check\"/> <b>Authorized</b>\n                                    </span>\n                                    <span t-else=\"\" class=\"small badge text-bg-info orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-clock-o\"/> <b>Waiting Payment</b>\n                                    </span>\n                                </div>\n                            </t>\n                        </ul>\n                    </div>\n                </div>\n            </div>\n\n            <section id=\"details\" style=\"page-break-inside: auto;\" class=\"mt32\">\n                <h3 id=\"details\">Pricing</h3>\n\n                <t t-set=\"display_discount\" t-value=\"True in [line.discount &gt; 0 for line in sale_order.order_line]\"/>\n\n                <div class=\"table-responsive\">\n                    <table t-att-data-order-id=\"sale_order.id\" t-att-data-token=\"sale_order.access_token\" class=\"table table-sm\" id=\"sales_order_table\">\n                        <thead class=\"bg-100\">\n                            <tr>\n                                <th class=\"text-start\" id=\"product_name_header\">Products</th>\n                                <th class=\"text-end\">Quantity</th>\n                                <th t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                    Unit Price\n                                </th>\n                                <th t-if=\"display_discount\" t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                    <span>Disc.%</span>\n                                </th>\n                                <th t-attf-class=\"text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}\">\n                                    <span>Taxes</span>\n                                </th>\n                                <th class=\"text-end\">\n                                    <span groups=\"account.group_show_line_subtotals_tax_excluded\">Amount</span>\n                                    <span groups=\"account.group_show_line_subtotals_tax_included\">Total Price</span>\n                                </th>\n                            </tr>\n                        </thead>\n                        <tbody class=\"sale_tbody\">\n\n                            <t t-set=\"current_subtotal\" t-value=\"0\"/>\n                            <t t-set=\"lines_to_report\" t-value=\"sale_order._get_order_lines_to_report()\"/>\n\n                            <t t-foreach=\"lines_to_report\" t-as=\"line\">\n\n                                    <t t-set=\"current_subtotal\" t-value=\"current_subtotal + line.price_subtotal\" groups=\"account.group_show_line_subtotals_tax_excluded\"/>\n                                    <t t-set=\"current_subtotal\" t-value=\"current_subtotal + line.price_total\" groups=\"account.group_show_line_subtotals_tax_included\"/>\n\n                                <tr t-att-class=\"'bg-200 fw-bold o_line_section' if line.display_type == 'line_section' else 'fst-italic o_line_note' if line.display_type == 'line_note' else ''\">\n                                    <t t-if=\"not line.display_type\">\n                                        <td id=\"product_name\">\n                                            <span t-field=\"line.name\"/>\n                                        </td>\n                                        <td class=\"text-end\">\n                                            <div id=\"quote_qty\">\n                                                <span t-field=\"line.product_uom_qty\"/>\n                                                <span t-field=\"line.product_uom\"/>\n                                            </div>\n                                        </td>\n                                        <td t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                            <div t-if=\"line.discount &gt;= 0\" t-field=\"line.price_unit\" t-att-style=\"line.discount and 'text-decoration: line-through' or None\" t-att-class=\"(line.discount and 'text-danger' or '') + ' text-end'\"/>\n                                            <div t-if=\"line.discount\">\n                                                <t t-out=\"(1-line.discount / 100.0) * line.price_unit\" t-options=\"{&quot;widget&quot;: &quot;float&quot;, &quot;decimal_precision&quot;: &quot;Product Price&quot;}\"/>\n                                            </div>\n                                        </td>\n                                        <td t-if=\"display_discount\" t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                            <strong t-if=\"line.discount &gt; 0\" class=\"text-info\">\n                                                <t t-out=\"((line.discount % 1) and '%s' or '%d') % line.discount\"/>%\n                                            </strong>\n                                        </td>\n                                        <td t-attf-class=\"text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}\">\n                                            <span t-out=\"', '.join(map(lambda x: (x.description or x.name), line.tax_id))\"/>\n                                        </td>\n                                        <td t-if=\"not line.is_downpayment\" class=\"text-end\">\n                                            <span class=\"oe_order_line_price_subtotal\" t-field=\"line.price_subtotal\" groups=\"account.group_show_line_subtotals_tax_excluded\"/>\n                                            <span class=\"oe_order_line_price_total\" t-field=\"line.price_total\" groups=\"account.group_show_line_subtotals_tax_included\"/>\n                                        </td>\n                                    </t>\n                                    <t t-if=\"line.display_type == 'line_section'\">\n                                        <td colspan=\"99\">\n                                            <span t-field=\"line.name\"/>\n                                        </td>\n                                        <t t-set=\"current_section\" t-value=\"line\"/>\n                                        <t t-set=\"current_subtotal\" t-value=\"0\"/>\n                                    </t>\n                                    <t t-if=\"line.display_type == 'line_note'\">\n                                        <td colspan=\"99\">\n                                            <span t-field=\"line.name\"/>\n                                        </td>\n                                    </t>\n                                </tr>\n                                <tr t-if=\"current_section and (line_last or lines_to_report[line_index+1].display_type == 'line_section') and not line.is_downpayment\" class=\"is-subtotal text-end\">\n                                    <td colspan=\"99\">\n                                        <strong class=\"mr16\">Subtotal</strong>\n                                        <span t-out=\"current_subtotal\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.pricelist_id.currency_id}\"/>\n                                    </td>\n                                </tr>\n                            </t>\n                        </tbody>\n                    </table>\n                </div>\n\n                <div id=\"total\" class=\"row\" name=\"total\" style=\"page-break-inside: avoid;\">\n                    <div t-attf-class=\"#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto\">\n                        <t t-call=\"sale.sale_order_portal_content_totals_table\"/>\n                    </div>\n                </div>\n            </section>\n\n            <section t-if=\"sale_order.signature\" id=\"signature\" name=\"Signature\">\n                <div class=\"row mt-4\" name=\"signature\">\n                    <div t-attf-class=\"#{'col-3' if report_type != 'html' else 'col-sm-7 col-md-4'} ms-auto text-center\">\n                        <h5>Signature</h5>\n                        <img t-att-src=\"image_data_uri(sale_order.signature)\" style=\"max-height: 6rem; max-width: 100%;\"/>\n                        <p t-field=\"sale_order.signed_by\"/>\n                    </div>\n                </div>\n            </section>\n\n            <section t-if=\"not is_html_empty(sale_order.note)\" id=\"terms\" class=\"mt-5\">\n                <h3 class=\"\">Terms &amp; Conditions</h3>\n                <hr class=\"mt-0 mb-1\"/>\n                <t t-if=\"sale_order.terms_type == 'html'\">\n                    <!-- Note is plain text. This ensures a clickable link  -->\n                    <t t-set=\"tc_url\" t-value=\"'%s/terms' % (sale_order.get_base_url())\"/>\n                    <em>Terms &amp; Conditions: <a href=\"/terms\"><t t-out=\"tc_url\"/></a></em>\n                </t>\n                <t t-else=\"\">\n                    <em t-field=\"sale_order.note\"/>\n                </t>\n            </section>\n\n            <section t-if=\"sale_order.payment_term_id\" class=\"mt-5\">\n                <h3 class=\"\">Payment terms</h3>\n                <hr class=\"mt-0 mb-1\"/>\n                <span t-field=\"sale_order.payment_term_id.note\"/>\n            </section>\n        </div>\n    </t>", "vi_VN": "<t name=\"Sales Order Portal Content\" t-name=\"sale.sale_order_portal_content\">\n        <!-- Intro -->\n        <div id=\"introduction\" t-attf-class=\"pb-2 pt-3 #{'card-header bg-white' if report_type == 'html' else ''}\">\n          <h2 class=\"my-0\">\n                <t t-out=\"sale_order.type_name\"/>\n                <em t-out=\"sale_order.name\"/>\n            </h2>\n        </div>\n\n        <div t-attf-class=\"#{'card-body' if report_type == 'html' else ''}\">\n            <!-- Informations -->\n            <div id=\"informations\">\n                <div t-if=\"sale_order.transaction_ids and not invoices and sale_order.state in ('sent', 'sale') and portal_confirmation == 'pay' and not success and not error\" t-att-data-order-id=\"sale_order.id\">\n                    <t t-if=\"sale_order.transaction_ids\">\n                        <t t-call=\"payment.transaction_status\">\n                            <t t-set=\"tx\" t-value=\"sale_order.get_portal_last_transaction()\"/>\n                        </t>\n                    </t>\n                </div>\n                <div class=\"row\" id=\"so_date\">\n                    <div class=\"mb-3 col-6\">\n                      <t t-if=\"sale_order.state in ['sale', 'done', 'cancel']\">\n                        <strong>Ngày đặt hàng:</strong>\n                      </t>\n                      <t t-else=\"\">\n                         <strong>Ngày báo giá:</strong>\n                      </t>\n                      <span t-field=\"sale_order.date_order\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/>\n                    </div>\n                    <div class=\"mb-3 col-6\" t-if=\"sale_order.validity_date and sale_order.state in ['draft', 'sent']\">\n                        <strong>Ngày hết hạn:</strong> <span t-field=\"sale_order.validity_date\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/>\n                    </div>\n                </div>\n                <div class=\"row\" id=\"invoicing_shipping_address\">\n                    <div class=\"col-lg-6\">\n                        <strong class=\"d-block mb-1\">\n                            <t t-if=\"sale_order.partner_shipping_id == sale_order.partner_invoice_id\">\n                                Địa chỉ xuất hóa đơn và giao hàng\n                            </t>\n                            <t t-else=\"\">\n                                Địa chỉ xuất hoá đơn\n                            </t>\n                        </strong>\n                        <address t-field=\"sale_order.partner_invoice_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}\"/>\n                    </div>\n                    <div t-if=\"sale_order.partner_shipping_id != sale_order.partner_invoice_id\" id=\"shipping_address\" class=\"col-lg-6\">\n                        <strong class=\"d-block mb-1\">\n                            Địa chỉ giao hàng:\n                        </strong>\n                        <address t-field=\"sale_order.partner_shipping_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}\"/>\n                    </div>\n                </div>\n\n                <t t-set=\"invoices\" t-value=\"sale_order.invoice_ids.filtered(lambda i: i.state not in ['draft', 'cancel'])\"/>\n                <div t-if=\"invoices\" class=\"row\">\n                    <div class=\"col\">\n                        <strong class=\"d-block mb-1\">Hoá đơn</strong>\n                        <ul class=\"list-group mb-4\">\n                            <t t-foreach=\"invoices\" t-as=\"i\">\n                                <t t-set=\"report_url\" t-value=\"i.get_portal_url(report_type='pdf', download=True)\"/>\n                                <t t-set=\"authorized_tx_ids\" t-value=\"i.transaction_ids.filtered(lambda tx: tx.state == 'authorized')\"/>\n                                <div class=\"d-flex flex-wrap align-items-center justify-content-between\">\n                                    <div>\n                                        <a t-att-href=\"report_url\">\n                                            <span t-out=\"i.name\"/>\n                                        </a>\n                                        <div class=\"small d-lg-inline-block\">Ngày: <span class=\"text-muted\" t-field=\"i.invoice_date\"/></div>\n                                    </div>\n                                    <span t-if=\"i.payment_state in ('paid', 'in_payment')\" class=\"small badge text-bg-success orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-check\"/> <b>Đã thanh toán</b>\n                                    </span>\n                                    <span t-elif=\"i.payment_state == 'reversed'\" class=\"small badge text-bg-success orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-check\"/> <b>Reversed</b>\n                                    </span>\n                                    <span t-elif=\"authorized_tx_ids\" class=\"small badge text-bg-success orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-check\"/> <b>Được ủy quyền</b>\n                                    </span>\n                                    <span t-else=\"\" class=\"small badge text-bg-info orders_label_text_align\">\n                                        <i class=\"fa fa-fw fa-clock-o\"/> <b>Đang chờ thanh toán</b>\n                                    </span>\n                                </div>\n                            </t>\n                        </ul>\n                    </div>\n                </div>\n            </div>\n\n            <section id=\"details\" style=\"page-break-inside: auto;\" class=\"mt32\">\n                <h3 id=\"details\">Định giá</h3>\n\n                <t t-set=\"display_discount\" t-value=\"True in [line.discount &gt; 0 for line in sale_order.order_line]\"/>\n\n                <div class=\"table-responsive\">\n                    <table t-att-data-order-id=\"sale_order.id\" t-att-data-token=\"sale_order.access_token\" class=\"table table-sm\" id=\"sales_order_table\">\n                        <thead class=\"bg-100\">\n                            <tr>\n                                <th class=\"text-start\" id=\"product_name_header\">Sản phẩm</th>\n                                <th class=\"text-end\">Số lượng</th>\n                                <th t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                    Đơn giá\n                                </th>\n                                <th t-if=\"display_discount\" t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                    <span>% chiết khấu</span>\n                                </th>\n                                <th t-attf-class=\"text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}\">\n                                    <span>Thuế</span>\n                                </th>\n                                <th class=\"text-end\">\n                                    <span groups=\"account.group_show_line_subtotals_tax_excluded\">Số tiền</span>\n                                    <span groups=\"account.group_show_line_subtotals_tax_included\">Tổng tiền</span>\n                                </th>\n                            </tr>\n                        </thead>\n                        <tbody class=\"sale_tbody\">\n\n                            <t t-set=\"current_subtotal\" t-value=\"0\"/>\n                            <t t-set=\"lines_to_report\" t-value=\"sale_order._get_order_lines_to_report()\"/>\n\n                            <t t-foreach=\"lines_to_report\" t-as=\"line\">\n\n                                    <t t-set=\"current_subtotal\" t-value=\"current_subtotal + line.price_subtotal\" groups=\"account.group_show_line_subtotals_tax_excluded\"/>\n                                    <t t-set=\"current_subtotal\" t-value=\"current_subtotal + line.price_total\" groups=\"account.group_show_line_subtotals_tax_included\"/>\n\n                                <tr t-att-class=\"'bg-200 fw-bold o_line_section' if line.display_type == 'line_section' else 'fst-italic o_line_note' if line.display_type == 'line_note' else ''\">\n                                    <t t-if=\"not line.display_type\">\n                                        <td id=\"product_name\">\n                                            <span t-field=\"line.name\"/>\n                                        </td>\n                                        <td class=\"text-end\">\n                                            <div id=\"quote_qty\">\n                                                <span t-field=\"line.product_uom_qty\"/>\n                                                <span t-field=\"line.product_uom\"/>\n                                            </div>\n                                        </td>\n                                        <td t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                            <div t-if=\"line.discount &gt;= 0\" t-field=\"line.price_unit\" t-att-style=\"line.discount and 'text-decoration: line-through' or None\" t-att-class=\"(line.discount and 'text-danger' or '') + ' text-end'\"/>\n                                            <div t-if=\"line.discount\">\n                                                <t t-out=\"(1-line.discount / 100.0) * line.price_unit\" t-options=\"{&quot;widget&quot;: &quot;float&quot;, &quot;decimal_precision&quot;: &quot;Product Price&quot;}\"/>\n                                            </div>\n                                        </td>\n                                        <td t-if=\"display_discount\" t-attf-class=\"text-end {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}\">\n                                            <strong t-if=\"line.discount &gt; 0\" class=\"text-info\">\n                                                <t t-out=\"((line.discount % 1) and '%s' or '%d') % line.discount\"/>%\n                                            </strong>\n                                        </td>\n                                        <td t-attf-class=\"text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}\">\n                                            <span t-out=\"', '.join(map(lambda x: (x.description or x.name), line.tax_id))\"/>\n                                        </td>\n                                        <td t-if=\"not line.is_downpayment\" class=\"text-end\">\n                                            <span class=\"oe_order_line_price_subtotal\" t-field=\"line.price_subtotal\" groups=\"account.group_show_line_subtotals_tax_excluded\"/>\n                                            <span class=\"oe_order_line_price_total\" t-field=\"line.price_total\" groups=\"account.group_show_line_subtotals_tax_included\"/>\n                                        </td>\n                                    </t>\n                                    <t t-if=\"line.display_type == 'line_section'\">\n                                        <td colspan=\"99\">\n                                            <span t-field=\"line.name\"/>\n                                        </td>\n                                        <t t-set=\"current_section\" t-value=\"line\"/>\n                                        <t t-set=\"current_subtotal\" t-value=\"0\"/>\n                                    </t>\n                                    <t t-if=\"line.display_type == 'line_note'\">\n                                        <td colspan=\"99\">\n                                            <span t-field=\"line.name\"/>\n                                        </td>\n                                    </t>\n                                </tr>\n                                <tr t-if=\"current_section and (line_last or lines_to_report[line_index+1].display_type == 'line_section') and not line.is_downpayment\" class=\"is-subtotal text-end\">\n                                    <td colspan=\"99\">\n                                        <strong class=\"mr16\">Thành tiền</strong>\n                                        <span t-out=\"current_subtotal\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.pricelist_id.currency_id}\"/>\n                                    </td>\n                                </tr>\n                            </t>\n                        </tbody>\n                    </table>\n                </div>\n\n                <div id=\"total\" class=\"row\" name=\"total\" style=\"page-break-inside: avoid;\">\n                    <div t-attf-class=\"#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto\">\n                        <t t-call=\"sale.sale_order_portal_content_totals_table\"/>\n                    </div>\n                </div>\n            </section>\n\n            <section t-if=\"sale_order.signature\" id=\"signature\" name=\"Signature\">\n                <div class=\"row mt-4\" name=\"signature\">\n                    <div t-attf-class=\"#{'col-3' if report_type != 'html' else 'col-sm-7 col-md-4'} ms-auto text-center\">\n                        <h5>Chữ ký</h5>\n                        <img t-att-src=\"image_data_uri(sale_order.signature)\" style=\"max-height: 6rem; max-width: 100%;\"/>\n                        <p t-field=\"sale_order.signed_by\"/>\n                    </div>\n                </div>\n            </section>\n\n            <section t-if=\"not is_html_empty(sale_order.note)\" id=\"terms\" class=\"mt-5\">\n                <h3 class=\"\">Điều khoản &amp; Điều kiện</h3>\n                <hr class=\"mt-0 mb-1\"/>\n                <t t-if=\"sale_order.terms_type == 'html'\">\n                    <!-- Note is plain text. This ensures a clickable link  -->\n                    <t t-set=\"tc_url\" t-value=\"'%s/terms' % (sale_order.get_base_url())\"/>\n                    <em>Điều khoản &amp; Điều kiện <a href=\"/terms\"><t t-out=\"tc_url\"/></a></em>\n                </t>\n                <t t-else=\"\">\n                    <em t-field=\"sale_order.note\"/>\n                </t>\n            </section>\n\n            <section t-if=\"sale_order.payment_term_id\" class=\"mt-5\">\n                <h3 class=\"\">Điều khoản thanh toán</h3>\n                <hr class=\"mt-0 mb-1\"/>\n                <span t-field=\"sale_order.payment_term_id.note\"/>\n            </section>\n        </div>\n    </t>"}