{"en_US": "<t name=\"My Purchase Orders\" t-name=\"purchase.portal_my_purchase_orders\">\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\">Purchase Orders</t>\n          </t>\n          <t t-if=\"not orders\">\n              <p>There are currently no purchase orders for your account.</p>\n          </t>\n          <t t-if=\"orders\" t-call=\"portal.portal_table\">\n              <thead>\n                  <tr class=\"active\">\n                      <th>\n                          <span class=\"d-none d-md-inline\">Purchase Order #</span>\n                          <span class=\"d-block d-md-none\">Ref.</span>\n                      </th>\n                      <th class=\"text-end\">\n                          <span class=\"d-none d-md-inline\">Confirmation Date</span>\n                          <span class=\"d-block d-md-none\">Confirmation</span>\n                      </th>\n                      <th class=\"text-center\"/>\n                      <th class=\"text-end\">Total</th>\n                  </tr>\n              </thead>\n              <t t-foreach=\"orders\" t-as=\"order\">\n                  <tr>\n                      <td><a t-att-href=\"order.get_portal_url()\"><t t-esc=\"order.name\"/></a></td>\n                      <td class=\"text-end\">\n                          <span t-field=\"order.date_approve\" t-options=\"{'widget': 'date'}\"/>&amp;nbsp;\n                          <span class=\"d-none d-md-inline\" t-field=\"order.date_approve\" t-options=\"{'time_only': True}\"/>\n                      </td>\n                      <td class=\"text-center\">\n                          <span t-if=\"order.invoice_status == 'to invoice'\" class=\"badge rounded-pill text-bg-info\">\n                              <i class=\"fa fa-fw fa-file-text\" role=\"img\" aria-label=\"Waiting for Bill\" title=\"Waiting for Bill\"/><span class=\"d-none d-md-inline\"> Waiting for Bill</span>\n                          </span>\n                          <span t-if=\"order.state == 'cancel'\" class=\"badge rounded-pill text-bg-secondary\">\n                              <i class=\"fa fa-fw fa-remove\" role=\"img\" aria-label=\"Cancelled\" title=\"Cancelled\"/><span class=\"d-none d-md-inline\"> Cancelled</span>\n                          </span>\n                          <span t-if=\"order.state == 'done'\" class=\"badge rounded-pill text-bg-success\">\n                              <i class=\"fa fa-fw fa-check\" role=\"img\" aria-label=\"Done\" title=\"Done\"/><span class=\"d-none d-md-inline\"> Done</span>\n                          </span>\n                      </td>\n                      <td class=\"text-end\"><span t-field=\"order.amount_total\"/></td>\n                  </tr>\n              </t>\n          </t>\n      </t>\n  </t>", "vi_VN": "<t name=\"My Purchase Orders\" t-name=\"purchase.portal_my_purchase_orders\">\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\">Đơn mua hàng</t>\n          </t>\n          <t t-if=\"not orders\">\n              <p>Tài khoản của bạn hiện không có đơn mua hàng nào.</p>\n          </t>\n          <t t-if=\"orders\" t-call=\"portal.portal_table\">\n              <thead>\n                  <tr class=\"active\">\n                      <th>\n                          <span class=\"d-none d-md-inline\">Đơn mua hàng #</span>\n                          <span class=\"d-block d-md-none\">Mã</span>\n                      </th>\n                      <th class=\"text-end\">\n                          <span class=\"d-none d-md-inline\">Ngày xác nhận</span>\n                          <span class=\"d-block d-md-none\">Xác nhận</span>\n                      </th>\n                      <th class=\"text-center\"/>\n                      <th class=\"text-end\">Tổng</th>\n                  </tr>\n              </thead>\n              <t t-foreach=\"orders\" t-as=\"order\">\n                  <tr>\n                      <td><a t-att-href=\"order.get_portal_url()\"><t t-esc=\"order.name\"/></a></td>\n                      <td class=\"text-end\">\n                          <span t-field=\"order.date_approve\" t-options=\"{'widget': 'date'}\"/>&amp;nbsp;\n                          <span class=\"d-none d-md-inline\" t-field=\"order.date_approve\" t-options=\"{'time_only': True}\"/>\n                      </td>\n                      <td class=\"text-center\">\n                          <span t-if=\"order.invoice_status == 'to invoice'\" class=\"badge rounded-pill text-bg-info\">\n                              <i class=\"fa fa-fw fa-file-text\" role=\"img\" aria-label=\"Waiting for Bill\" title=\"Chờ hoá đơn\"/><span class=\"d-none d-md-inline\"> Chờ hoá đơn</span>\n                          </span>\n                          <span t-if=\"order.state == 'cancel'\" class=\"badge rounded-pill text-bg-secondary\">\n                              <i class=\"fa fa-fw fa-remove\" role=\"img\" aria-label=\"Cancelled\" title=\"Đã huỷ\"/><span class=\"d-none d-md-inline\"> Đã huỷ</span>\n                          </span>\n                          <span t-if=\"order.state == 'done'\" class=\"badge rounded-pill text-bg-success\">\n                              <i class=\"fa fa-fw fa-check\" role=\"img\" aria-label=\"Done\" title=\"Hoàn thành\"/><span class=\"d-none d-md-inline\"> Hoàn thành</span>\n                          </span>\n                      </td>\n                      <td class=\"text-end\"><span t-field=\"order.amount_total\"/></td>\n                  </tr>\n              </t>\n          </t>\n      </t>\n  </t>"}