@finan-me/fe-reports 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ReadMe.md +102 -0
- package/dist/index.es.js +1 -0
- package/dist/index.js +1 -0
- package/index.d.ts +2 -0
- package/package.json +54 -0
package/ReadMe.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
### 1. Publish the project
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
npm run minor # 1.0.0 -> 1.1.0
|
|
5
|
+
npm run patch # 1.0.0 -> 1.0.1
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
### 2. Use this package in the other project:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
yarn add js-base64 numeral nunjucks qrcode bwip-js
|
|
12
|
+
yarn add @finan/fe-reports@latest
|
|
13
|
+
yarn add github:dragonnpoulp/bwip-js # patch for react-native
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```javascript
|
|
17
|
+
const render = require("@finan/fe-reports").default;
|
|
18
|
+
// import render from "@finan/fe-reports"
|
|
19
|
+
|
|
20
|
+
render("Bill", {
|
|
21
|
+
bussiness: {
|
|
22
|
+
name: "Bếp nhà - Thực phẩm handmade",
|
|
23
|
+
address: "1/1b Khu phố 2, phường Tân Thới Nhất, quận 12, Tp.HCM",
|
|
24
|
+
phone_number: "+84903219921",
|
|
25
|
+
domain: "https://bepnha.sieure",
|
|
26
|
+
avatar:
|
|
27
|
+
"https://scontent.fsgn5-10.fna.fbcdn.net/v/t1.6435-9/198218119_347706013544026_3377113891238894001_n.jpg?_nc_cat=107&ccb=1-6&_nc_sid=09cbfe&_nc_ohc=fSg4t_7wJFgAX-UGAN5&_nc_ht=scontent.fsgn5-10.fna&oh=00_AT9D1cd02ZwHhbqO4B90d-srFJBiMSEFoVoSlcGLHwR5EA&oe=62A094A0",
|
|
28
|
+
},
|
|
29
|
+
paymentInfo: [],
|
|
30
|
+
order: {
|
|
31
|
+
id: "eaaddaaf-fd04-47fa-bfc5-9310178f4024",
|
|
32
|
+
order_number: "XDGBKN",
|
|
33
|
+
is_printed: false,
|
|
34
|
+
is_debit: false,
|
|
35
|
+
amount_paid: 3_000_000,
|
|
36
|
+
debt_amount: 2_095_800,
|
|
37
|
+
delivery_fee: 10_000,
|
|
38
|
+
other_discount: 5_000,
|
|
39
|
+
grand_total: 3_080_000,
|
|
40
|
+
ordered_grand_total: 3_095_800,
|
|
41
|
+
buyer_info: {
|
|
42
|
+
name: "Hiếu lầu 6",
|
|
43
|
+
phone_number: "0912345234",
|
|
44
|
+
address: "195 Điện Biên Phủ, phường 25, Bình Thạnh, TP.HCM",
|
|
45
|
+
},
|
|
46
|
+
note: "Giao lúc 5h chiều",
|
|
47
|
+
order_item: [
|
|
48
|
+
{
|
|
49
|
+
id: "fd944f19-3259-4340-a19a-33ddb9cfc655",
|
|
50
|
+
product_name: "Túi đeo chéo nữ nắp gập Tweed Two Tone",
|
|
51
|
+
product_normal_price: 1_590_000,
|
|
52
|
+
product_selling_price: 790_000,
|
|
53
|
+
quantity: 1,
|
|
54
|
+
total_amount: 790_000,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "1441bac8-19b5-4772-8fb5-454a4a17dcc4",
|
|
58
|
+
product_name: "Túi đeo vai chữ nhật vải bố New Rico Mini",
|
|
59
|
+
product_normal_price: 2_290_000,
|
|
60
|
+
product_selling_price: 2_290_000,
|
|
61
|
+
quantity: 1,
|
|
62
|
+
total_amount: 2_290_000,
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: "43bcfd74-9e08-473b-a3a1-4b22e0c2b938",
|
|
66
|
+
product_name: "Dây chun buộc tóc (tặng kèm)",
|
|
67
|
+
product_normal_price: 0,
|
|
68
|
+
product_selling_price: 0,
|
|
69
|
+
quantity: 3,
|
|
70
|
+
total_amount: 0,
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
configs: {
|
|
75
|
+
address_type: true,
|
|
76
|
+
amount_paid: true,
|
|
77
|
+
avatar: true,
|
|
78
|
+
bank_account: true,
|
|
79
|
+
business_id: "",
|
|
80
|
+
created_at: "",
|
|
81
|
+
creator_id: "",
|
|
82
|
+
debt_amount: false,
|
|
83
|
+
font_size: "default",
|
|
84
|
+
footer: "",
|
|
85
|
+
id: "",
|
|
86
|
+
logo_sbh: true,
|
|
87
|
+
name_buyer: true,
|
|
88
|
+
name_seller: true,
|
|
89
|
+
note: "Giao lúc 5h nah",
|
|
90
|
+
note_buyer: true,
|
|
91
|
+
other_discount: true,
|
|
92
|
+
phone_buyer: true,
|
|
93
|
+
qr_code: true,
|
|
94
|
+
phone_seller: "0903219921",
|
|
95
|
+
address_buyer: true,
|
|
96
|
+
title: "Hóa đơn bán hàng",
|
|
97
|
+
updated_at: "",
|
|
98
|
+
updater_id: "",
|
|
99
|
+
vat: 8,
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
```
|
package/dist/index.es.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n from"nunjucks";import e from"qrcode";import i from"bwip-js";import{Base64 as t}from"js-base64";import o from"numeral";function s(n){return n.toLocaleString("vi-VN")}o.register("locale","fr",{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(n){return 1===n?"er":"ème"},currency:{symbol:"€"}}),o.locale("fr");const d={Bill:function(o,d={},{size:r}){const a={Grid:' {% if design %}\n <pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse">\n <path d="M 100 0 L 0 0 0 100" fill="none" stroke="gray" stroke-width="1"></path>\n </pattern>\n <rect width="800" height="2000" fill="url(#grid)"></rect>\n <line x1="800" x2="800" y1="0" y2="2000" stroke="gray" stroke-width="0.5"></line>\n <line x1="0" x2="800" y1="2000" y2="2000" stroke="gray" stroke-width="0.5"></line>\n {% endif %}',...d},l=new n.Environment({getSource:n=>({src:a[n],path:"",noCache:!1})});l.addFilter("qr",(async(n,i)=>{e.toString(`https://${n}`,{margin:0,type:"svg"},(function(n,e){if(n)return i(n);i(null,`data:image/svg+xml;base64,${t.encode(e)}`)}))}),!0),l.addFilter("bankQr",(async(n,i)=>{e.toString(n,{margin:0,type:"svg"},(function(n,e){if(n)return i(n);i(null,`data:image/svg+xml;base64,${t.encode(e)}`)}))}),!0),l.addFilter("number",(n=>s(n))),l.addFilter("textsize",(n=>`${n}px`)),l.addFilter("alignHeaderInfo",(n=>n?"left":"center")),l.addFilter("orderItemTextSize",((n,e)=>String(n).length>=9?+e>=16?+e-4+"px":+e>=14?+e-3+"px":+e-2+"px":String(n).length>=7?+e>=16?+e-3+"px":+e>=14?+e-2+"px":+e-1+"px":+e>=16?+e-2+"px":+e>=14?+e-1+"px":+e+"px")),l.addFilter("addOnSellPrice",(n=>{const{order_item_add_on:e,price:i}=n;return s(e.reduce(((n,e)=>n+e.quantity*e.price),0)+i)})),l.addFilter("addOnNormalPrice",(n=>{const{order_item_add_on:e,product_normal_price:i}=n;return s(e.reduce(((n,e)=>n+e.quantity*e.price),0)+i)})),l.addFilter("barcode",(async(n,e)=>{try{const t={bcid:"code128",text:n.toString(),height:5,scale:3,includetext:!1,textxalign:"center"};let o=document.createElement("canvas");i.toCanvas(o,t),e(null,o.toDataURL("image/png"))}catch(n){return e(n)}}),!0),l.addFilter("datetime",(n=>{const e=new Date(n),i=e.getDate(),t=e.getMonth()+1,o=e.getFullYear(),s=e.getHours(),d=e.getMinutes();return`${s<10?"0"+s:s}:${d<10?"0"+d:d} ${i<10?"0"+i:i}/${t<10?"0"+t:t}/${o.toString()}`})),l.addFilter("time",(n=>{const e=new Date(n),i=e.getHours(),t=e.getMinutes();return`${i<10?"0"+i:i}:${t<10?"0"+t:t}`})),l.addFilter("datestring",(n=>{const e=n?new Date(n):new Date;return`${String(e.getDate()).padStart(2,"0")}/${String(e.getMonth()+1).padStart(2,"0")} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}`})),l.addFilter("phone",(n=>n?n.replace(/^\+84/,"0"):n)),l.addFilter("buyer_address",(n=>{if(!function(n){return!!n&&Object.values(n).some((n=>"string"==typeof n&&n.length>0))}(n))return"";let e=[n.province_name,n.district_name,n.ward_name].reduce(((n,e)=>e?`, ${e}`+n:n+e),"");return n.address||(e=e.slice(1)),`${n.address}${e}`})),l.addFilter("get_total_amount",(n=>{const{item_rate:e,total_amount:i}=n;return s(e?e.total_amount:i)})),l.addFilter("get_quantity",(n=>{const{item_rate:e,quantity:i}=n;return s(e?e.hours_used*e.quantity:i)})),l.addFilter("get_selling_price",(n=>{const{item_rate:e,price:i}=n;return s(e?e.price:i)})),l.addFilter("get_normal_price",(n=>{const{item_rate:e,product_normal_price:i}=n;return s(e?e.rate:i)})),l.addFilter("has_uom",(n=>n.some((n=>n.uom)))),l.addFilter("get_total_items",(n=>{const e=n.order_item.reduce(((n,e)=>e?.item_rate?n:n+e.quantity),0),i=n.order_item.reduce(((n,e)=>e?.item_rate?n+e.quantity:n),0),t=s(e),o=s(i);return 0===e?`(${o}DV)`:0===i?`(${t}SP)`:`(${t}SP + ${o}DV)`}));const f=n.compile(o,l);return n=>{const e=r(n);return f.render({$size:e,...n})}}('<div style="max-width: 100%; background-color: white;">\n <div style="margin: 0 auto; margin-left: 0mm color: black; background-color: white;">\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillHeader" -%}\n </div>\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillDetail" -%}\n </div>\n {% if configs.template_type === \'standard\' %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillOrderItemsDefault" -%}\n </div>\n {% endif %}\n {% if configs.template_type === \'border\' %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillOrderItemsBorder" -%}\n </div>\n {% endif %}\n {% if configs.template_type === \'framed\' %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillOrderItemsFramed" -%}\n </div>\n {% endif %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillPaymentInfo" -%}\n </div>\n {% if configs.provisional_invoice_qr.active === true and qrImage %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillQrPayment" -%}\n </div>\n {% endif %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillPaymentMethod" -%}\n </div>\n {% if order.invoice_link %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillEInvoice" -%}\n </div>\n {% endif %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillFooter" -%}\n </div>\n </div>\n</div>',{BillHeader:'<div style="display: flex; flex-direction: column; align-items: center;">\n {% if configs.show_avatar %}\n <div>\n <img src="{{ business.avatar }}" alt="shop_avatar" style="max-width: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n min-width: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n max-height: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n min-height: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n border-radius: 9999px; object-fit: cover; border: 1px solid #EDEFF2;\n "></div>\n {% endif %}\n <div style="display: flex; align-items:center; justify-content: center; margin-top: 14px; width: 100%; column-gap: 12px;">\n {% if configs.qr_code %}\n <div style="background-image: url({{ business.domain|qr }}); border-radius: 2px; background-position: top; background-repeat:\n no-repeat; background-size: contain; min-width: 66px; min-height: 66px;">\n {% endif %}\n </div>\n <div style="display: flex; flex-direction: column; row-gap: 4px; align-self: stretch; text-align: {{\n configs.qr_code|alignHeaderInfo }};">\n <p style="font-weight: 600; padding: 0; margin: 0; color: black; word-break: break-word; font-size: {{\n (+configs.font_size)|textsize }};">\n {{ business.name }}\n </p>\n {% if configs.show_store_description %}\n <p style="font-weight: 400; padding: 0; margin: 0; color: black; font-style: italic; word-break: break-word; font-size: {{\n (+configs.font_size)|textsize }};">\n {% if configs.store_description %}\n {{ configs.store_description }}\n {% else %}\n {{ business.description }}\n {% endif %}\n </p>\n {% endif %}\n {% if configs.qr_code %}\n <p style="display: flex; align-item: center; padding: 0; margin: 0; font-size: {{ (+configs.font_size)|textsize }};\n font-weight: 400; line-height: 20px;">\n <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M3.86304 3.85892C2.23527 5.4867 1.3208 7.69443 1.3208 9.99644C1.3208 12.2985 2.23527 14.5062 3.86304 16.134C5.49082\n 17.7617 7.69855 18.6762 10.0006 18.6762C12.3026 18.6762 14.5103 17.7617 16.1381 16.134C17.7659 14.5062 18.6803 12.2985\n 18.6803 9.99644C18.6803 7.69443 17.7659 5.4867 16.1381 3.85892C14.5103 2.23115 12.3026 1.31668 10.0006 1.31668C7.69855\n 1.31668 5.49082 2.23115 3.86304 3.85892ZM7.16687 5.42181C7.2808 5.13564 7.40571 4.86656 7.53864 4.61744C8.08303 3.59671\n 8.72234 2.9783 9.35651 2.73113V5.69538C8.58331 5.66078 7.84848 5.56615 7.16687 5.42181ZM9.46475 2.57897C9.42865 2.58997\n 9.39257 2.60207 9.35651 2.6153C8.67558 2.86509 8.00472 3.51333 7.44306 4.56644C7.30556 4.82414 7.17669 5.10255 7.05954\n 5.39857C7.04616 5.43239 7.03292 5.46645 7.01985 5.50073C7.05539 5.50864 7.09108 5.51642 7.12691 5.52407C7.82088 5.67209\n 8.56922 5.76885 9.35651 5.80382C9.39251 5.80542 9.42859 5.80688 9.46475 5.80821C8.59689 5.77607 7.77521 5.66894 7.01985\n 5.50073C7.14735 5.16644 7.28985 4.85359 7.44306 4.56644C8.03449 3.45751 8.74689 2.79754 9.46475 2.57897ZM6.40127\n 4.01107C6.22434 4.34494 6.06133 4.70258 5.91644 5.08229C5.54648 4.95806 5.20097 4.81749 4.88269 4.66351C5.45146 4.11689\n 6.10356 3.66507 6.81405 3.32473C6.66404 3.54568 6.52622 3.77481 6.40127 4.01107ZM7.00871 3.23492C6.81966 3.49859 6.64865\n 3.77485 6.49689 4.0618C6.30842 4.41745 6.13583 4.8006 5.98436 5.20916L5.91644 5.08229L6.81405 3.32473C6.87846 3.29387\n 6.94336 3.26393 7.00871 3.23492ZM7.1365 3.06221C7.06988 3.08982 7.00372 3.11837 6.93802 3.14784C6.13881 3.50634 5.40821\n 4.00201 4.77945 4.61262C4.75213 4.63915 4.725 4.6659 4.69806 4.69287C4.73184 4.71004 4.76593 4.72705 4.80033\n 4.7439C5.13166 4.90622 5.49205 5.0539 5.87834 5.18377C5.91148 5.19491 5.94481 5.20592 5.97833 5.2168L5.98154\n 5.21784C5.51546 5.06677 5.08592 4.89001 4.69806 4.69287C5.39583 3.9943 6.22435 3.44021 7.1365 3.06221C7.13648 3.06223\n 7.13651 3.0622 7.1365 3.06221ZM10.5363 6.87966C10.5363 6.87966 10.5362 6.87966 10.5363 6.87966V6.87966ZM13.3123\n 6.52396C13.3123 6.52397 13.3123 6.52396 13.3123 6.52396V6.52396ZM10.6446 9.3524V6.98402C11.5502 6.9472 12.4212 6.83404\n 13.2338 6.65288C13.4585 7.53659 13.5905 8.44132 13.6275 9.3524H10.6446ZM7.06018 14.5952C7.04674 14.5615 7.0334 14.5274\n 7.02023 14.4931L7.02386 14.4923C7.02262 14.4926 7.02147 14.4929 7.02023 14.4931C7.1487 14.8271 7.2899 15.1396 7.44297\n 15.4264C8.03439 16.5354 8.74797 17.1943 9.46475 17.4139C9.42866 17.4029 9.39258 17.3907 9.35651 17.3774C8.67645 17.1267\n 8.00459 16.4795 7.44297 15.4264C7.30561 15.169 7.17782 14.8909 7.06018 14.5952ZM7.53864 15.3754C7.40596 15.1268 7.28199\n 14.858 7.16754 14.572C7.84897 14.4277 8.58357 14.3332 9.35651 14.2986V17.2615C8.72299 17.0135 8.08286 16.3959 7.53864\n 15.3754ZM5.9166 14.9103C6.05607 15.277 6.2179 15.6348 6.40121 15.9817C6.52647 16.2182 6.66466 16.4475 6.81504\n 16.6686C6.10434 16.3283 5.45203 15.8765 4.88309 15.3298C5.21844 15.1684 5.56362 15.0283 5.9166 14.9103ZM5.98154\n 14.775C5.98155 14.7751 5.98154 14.775 5.98154 14.775C5.54079 14.9167 5.11165 15.0922 4.69796 15.3C5.39573 15.9986 6.22439\n 16.5527 7.13654 16.9307C7.07032 16.9033 7.00463 16.8749 6.93931 16.8456C6.13965 16.4871 5.40864 15.9913 4.77957\n 15.3804C4.75221 15.3538 4.72494 15.327 4.69796 15.3C4.73206 15.2829 4.76635 15.266 4.80065 15.2493C5.18252 15.0635\n 5.57715 14.905 5.98154 14.775ZM10.5363 14.1857V17.4139C10.5362 17.4139 10.5363 17.4139 10.5363 17.4139V14.1857C10.5363\n 14.1857 10.5362 14.1857 10.5363 14.1857ZM10.6446 17.2618V14.2982C11.3807 14.329 12.113 14.4204 12.8341 14.5714C12.7202\n 14.8574 12.5954 15.1264 12.4625 15.3755C11.9181 16.3962 11.2788 17.0146 10.6446 17.2618ZM14.0852 5.08153C13.9396 4.70217\n 13.7767 4.34478 13.5999 4.01107C13.4723 3.77227 13.3345 3.54265 13.1877 3.326C13.8973 3.66574 14.5486 4.11667 15.117\n 4.66217C14.7822 4.82345 14.4376 4.96352 14.0852 5.08153ZM13.5041 4.0618C13.3481 3.76981 13.1772 3.4927 12.9931\n 3.23625C12.9509 3.17749 12.9081 3.11982 12.8645 3.06329C12.8646 3.06331 12.8645 3.06327 12.8645 3.06329C13.0981 3.36651\n 13.3123 3.70287 13.5041 4.0618C13.6938 4.41966 13.8673 4.80538 14.0205 5.2168C14.0204 5.21681 14.0205 5.21679 14.0205\n 5.2168C13.8673 4.80538 13.6938 4.41966 13.5041 4.0618ZM10.5363 2.57898C10.5363 2.57899 10.5362 2.57897 10.5363\n 2.57898L10.5362 5.80716C10.5361 5.80716 10.5362 5.80716 10.5362 5.80716L10.5363 2.57898ZM12.4623 4.61718C12.6006 4.87821\n 12.7246 5.14648 12.8339 5.42081C12.1524 5.56511 11.4177 5.65971 10.6446 5.6943V2.73132C11.2788 2.97925 11.9181 3.59675\n 12.4623 4.61718ZM3.9791 5.52327C3.14742 6.63993 2.64522 7.96642 2.5282 9.3524C2.52516 9.38847 2.52237 9.42458 2.51985\n 9.46073C2.6193 8.03559 3.12576 6.669 3.9791 5.52327C3.97913 5.52328 3.97908 5.52326 3.9791 5.52327ZM5.52497\n 6.30917C5.28047 7.24757 5.12782 8.27466 5.08438 9.3524H2.63693C2.75102 8.02077 3.22595 6.7452 4.01081 5.66306C4.49669\n 5.92016 5.00316 6.13628 5.52497 6.30917ZM6.26417 9.3524C6.2627 9.3885 6.26138 9.42461 6.26021 9.46073C6.29242 8.46882\n 6.43609 7.4837 6.68868 6.52395C6.68871 6.52395 6.68865 6.52394 6.68868 6.52395C6.44529 7.44874 6.30304 8.39712 6.26417\n 9.3524ZM9.35651 9.3524H6.37259C6.40997 8.44129 6.54225 7.53656 6.7673 6.65288C7.57982 6.8341 8.45085 6.94815 9.35651\n 6.98412V9.3524ZM6.26128 10.5322C6.26256 10.5683 6.26398 10.6045 6.26552 10.6405C6.30922 11.6575 6.45803 12.6132 6.68878\n 13.4689C6.68875 13.4689 6.68882 13.4689 6.68878 13.4689C6.44985 12.5829 6.29878 11.5897 6.26128 10.5322ZM6.76685\n 13.3405C6.55372 12.52 6.41587 11.6087 6.37396 10.6405H9.35651V13.0096C8.48519 13.0429 7.61854 13.1536 6.76685\n 13.3405ZM13.3123 13.4689C13.3123 13.4689 13.3123 13.4689 13.3123 13.4689V13.4689ZM13.6281 10.6405C13.5853 11.6085 13.4474\n 12.5197 13.2344 13.3401C12.4217 13.1588 11.5505 13.0447 10.6446 13.0088V10.6405H13.6281ZM2.63692 10.6405H5.08299C5.12159\n 11.6678 5.26992 12.6881 5.52547 13.6839C4.9794 13.8666 4.4718 14.083 4.01053 14.3295C3.22579 13.2474 2.75095 11.972\n 2.63692 10.6405ZM2.51985 10.5322C2.52237 10.5683 2.52515 10.6044 2.5282 10.6405C2.64516 12.0265 3.14737 13.353 3.97911\n 14.4696C3.97908 14.4696 3.97913 14.4696 3.97911 14.4696C3.12571 13.3239 2.61924 11.9573 2.51985 10.5322ZM14.0195\n 14.7761C13.8736 15.1721 13.7014 15.558 13.5041 15.9311C13.3524 16.2181 13.1814 16.4943 12.9923 16.758C12.9506 16.8162\n 12.908 16.8737 12.8645 16.9307C12.8645 16.9307 12.8646 16.9307 12.8645 16.9307C13.105 16.6157 13.3189 16.2814 13.5041\n 15.9311C13.7014 15.558 13.8736 15.1721 14.0195 14.7761C14.0195 14.7761 14.0195 14.7761 14.0195 14.7761ZM14.0845\n 14.9114C14.4371 15.0294 14.782 15.1695 15.117 15.3308C14.5486 15.8768 13.897 16.3281 13.1871 16.6681C13.3372 16.4472\n 13.475 16.218 13.5999 15.9817C13.7832 15.6352 13.945 15.2777 14.0845 14.9114ZM14.4757 13.6839C15.0217 13.8666 15.5293\n 14.083 15.9906 14.3295C16.7753 13.2474 17.2502 11.972 17.3642 10.6405H14.9181C14.8795 11.6678 14.7312 12.6881 14.4757\n 13.6839ZM16.0219 14.4697C16.0219 14.4697 16.0219 14.4696 16.0219 14.4697V14.4697ZM14.4761 6.3088C15.022 6.12615 15.5295\n 5.90982 15.9906 5.66343C16.7753 6.74547 17.2502 8.02091 17.3642 9.3524H14.9177C14.8733 8.27455 14.7206 7.24645 14.4761\n 6.3088ZM16.0219 5.52323C16.0219 5.52324 16.0219 5.52322 16.0219 5.52323V5.52323Z"\n fill="black"/>\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M16.1381 3.85892C17.7659 5.4867 18.6803 7.69443 18.6803 9.99644C18.6803 12.2985 17.7659 14.5062 16.1381 16.134C14.5103\n 17.7617 12.3026 18.6762 10.0006 18.6762C7.69855 18.6762 5.49082 17.7617 3.86304 16.134C2.23527 14.5062 1.3208 12.2985\n 1.3208 9.99644C1.3208 7.69443 2.23527 5.4867 3.86304 3.85892C5.49082 2.23115 7.69855 1.31668 10.0006 1.31668C12.3026\n 1.31668 14.5103 2.23115 16.1381 3.85892ZM12.8343 5.42181C12.7204 5.13564 12.5953 4.86631 12.4623 4.61718C11.9181 3.59675\n 11.2788 2.97925 10.6446 2.73132L10.6447 5.69538C11.4179 5.66078 12.1527 5.56615 12.8343 5.42181ZM10.5363 2.57898C10.5724\n 2.58997 10.6087 2.60207 10.6447 2.6153C11.3256 2.86509 11.9965 3.51333 12.5582 4.56644C12.6957 4.82414 12.8245 5.10255\n 12.9417 5.39857C12.9551 5.43239 12.9683 5.46645 12.9814 5.50073C12.9458 5.50864 12.9101 5.51642 12.8743 5.52407C12.1803\n 5.67209 11.432 5.76885 10.6447 5.80382C10.6087 5.80542 10.5726 5.80688 10.5365 5.80821C11.4043 5.77607 12.226 5.66894\n 12.9814 5.50073C12.8539 5.16644 12.7114 4.85359 12.5582 4.56644C11.9667 3.45751 11.2541 2.79755 10.5363 2.57898ZM13.5999\n 4.01107C13.7768 4.34494 13.9399 4.70258 14.0848 5.08229C14.4547 4.95806 14.8003 4.81749 15.1185 4.66351C14.5498 4.11689\n 13.8977 3.66507 13.1872 3.32473C13.3372 3.54568 13.4749 3.77481 13.5999 4.01107ZM12.9925 3.23492C13.1816 3.49859 13.3524\n 3.77485 13.5041 4.0618C13.6926 4.41744 13.8654 4.8006 14.0169 5.20916L14.0848 5.08229L13.1872 3.32473C13.1228 3.29387\n 13.0579 3.26393 12.9925 3.23492ZM12.8647 3.06221C12.9313 3.08982 12.9975 3.11837 13.0632 3.14784C13.8624 3.50634 14.593\n 4.00201 15.2218 4.61262C15.2491 4.63915 15.2762 4.6659 15.3032 4.69287C15.2694 4.71004 15.2353 4.72705 15.2009\n 4.7439C14.8696 4.90622 14.5092 5.0539 14.1229 5.18377C14.0897 5.19491 14.0564 5.20592 14.0229 5.2168L14.0197\n 5.21784C14.4858 5.06677 14.9153 4.89001 15.3032 4.69287C14.6054 3.9943 13.7769 3.44021 12.8647 3.06221C12.8647 3.06223\n 12.8647 3.0622 12.8647 3.06221ZM9.46494 6.87966C9.46491 6.87966 9.46498 6.87966 9.46494 6.87966V6.87966ZM6.68868\n 6.52395C6.68871 6.52395 6.68865 6.52394 6.68868 6.52395V6.52395ZM9.35651 9.3524V6.98412C8.45096 6.9473 7.5799 6.83404\n 6.7673 6.65288C6.54257 7.53659 6.41076 8.44132 6.37372 9.3524H9.35651ZM12.941 14.5952C12.9545 14.5615 12.9678 14.5274\n 12.981 14.4931L12.9774 14.4923C12.9786 14.4926 12.9797 14.4929 12.981 14.4931C12.8525 14.8271 12.7113 15.1396 12.5583\n 15.4264C11.9668 16.5354 11.2531 17.1943 10.5363 17.4139C10.5724 17.4029 10.6086 17.3907 10.6447 17.3774C11.3248 17.1267\n 11.9966 16.4795 12.5583 15.4264C12.6956 15.169 12.8234 14.8909 12.941 14.5952ZM12.4625 15.3755C12.5954 15.1264 12.7202\n 14.8574 12.8341 14.5714C12.1527 14.4271 11.4176 14.3328 10.6446 14.2982V17.2618C11.2781 17.0137 11.9183 16.3959 12.4625\n 15.3755ZM14.0846 14.9103C13.9452 15.277 13.7832 15.6348 13.5999 15.9817C13.4746 16.2182 13.3366 16.4475 13.1862\n 16.6686C13.8969 16.3283 14.5492 15.8765 15.1181 15.3298C14.7828 15.1684 14.4376 15.0283 14.0846 14.9103ZM14.0197\n 14.775C14.0197 14.7751 14.0197 14.775 14.0197 14.775C14.4604 14.9167 14.8896 15.0922 15.3033 15.3C14.6055 15.9986 13.7767\n 16.5527 12.8645 16.9307C12.9307 16.9032 12.9966 16.8749 13.0619 16.8456C13.8616 16.4871 14.5926 15.9913 15.2216\n 15.3804C15.249 15.3538 15.2763 15.327 15.3033 15.3C15.2692 15.2829 15.2349 15.266 15.2006 15.2493C14.8187 15.0635 14.4241\n 14.905 14.0197 14.775ZM9.46475 14.1857V17.4139C9.46478 17.414 9.46472 17.4139 9.46475 17.4139V14.1857C9.46472 14.1857\n 9.46478 14.1857 9.46475 14.1857ZM9.35651 17.2615V14.2986C8.62041 14.3294 7.88864 14.421 7.16754 14.572C7.28199 14.858\n 7.40596 15.1268 7.53864 15.3754C8.08303 16.3962 8.72234 17.0143 9.35651 17.2615ZM5.91599 5.08153C6.06162 4.70217 6.22443\n 4.34478 6.40127 4.01107C6.52887 3.77227 6.66674 3.54265 6.81347 3.326C6.10392 3.66574 5.45257 4.11667 4.88427\n 4.66217C5.21902 4.82345 5.56361 4.96352 5.91599 5.08153ZM6.49689 4.0618C6.65291 3.76981 6.82402 3.4927 7.00809\n 3.23625C7.05027 3.17749 7.09314 3.11982 7.13668 3.06329C7.13663 3.06331 7.13673 3.06327 7.13668 3.06329C6.90311 3.36651\n 6.68868 3.70288 6.49689 4.0618C6.30725 4.41966 6.13397 4.80538 5.98076 5.2168C5.98078 5.21681 5.98073 5.21679 5.98076\n 5.2168C6.13397 4.80538 6.30725 4.41966 6.49689 4.0618ZM9.46475 2.57897C9.46472 2.57898 9.46478 2.57896 9.46475\n 2.57897L9.46504 5.80716C9.46507 5.80716 9.46501 5.80716 9.46504 5.80716L9.46475 2.57897ZM7.53864 4.61744C7.40041 4.87847\n 7.27662 5.14648 7.16732 5.42081C7.84884 5.56511 8.58354 5.65971 9.35661 5.6943L9.35651 2.73113C8.72234 2.9783 8.08303\n 3.59671 7.53864 4.61744ZM16.0219 5.52323C16.8536 6.6399 17.356 7.96642 17.473 9.3524C17.4761 9.38847 17.4787 9.42458\n 17.4812 9.46073C17.3817 8.0356 16.8752 6.66897 16.0219 5.52323C16.0219 5.52324 16.0219 5.52322 16.0219 5.52323ZM14.4761\n 6.3088C14.7206 7.24721 14.8734 8.27466 14.9168 9.3524H17.3642C17.2502 8.02091 16.7753 6.74547 15.9906 5.66343C15.5047\n 5.92053 14.9979 6.13591 14.4761 6.3088ZM13.7371 9.3524C13.7385 9.3885 13.7398 9.42461 13.741 9.46073C13.7088 8.46882\n 13.5648 7.48371 13.3123 6.52396C13.3123 6.52397 13.3123 6.52396 13.3123 6.52396C13.5556 7.44876 13.6982 8.39712 13.7371\n 9.3524ZM10.6446 9.3524H13.6286C13.5912 8.44129 13.4588 7.53656 13.2338 6.65288C12.4213 6.8341 11.5503 6.94805 10.6446\n 6.98402V9.3524ZM13.7399 10.5322C13.7387 10.5683 13.7372 10.6045 13.7357 10.6405C13.692 11.6575 13.543 12.6132 13.3123\n 13.4689C13.3123 13.4689 13.3123 13.4689 13.3123 13.4689C13.5512 12.5828 13.7024 11.5897 13.7399 10.5322ZM13.2344\n 13.3401C13.4475 12.5196 13.5854 11.6087 13.6273 10.6405H10.6446L10.6447 13.0096C11.516 13.0429 12.3827 13.1532 13.2344\n 13.3401ZM6.68878 13.4689C6.68875 13.4689 6.68882 13.4689 6.68878 13.4689V13.4689ZM6.37309 10.6405C6.41592 11.6085 6.55379\n 12.5201 6.76685 13.3405C7.57953 13.1592 8.45074 13.0447 9.35661 13.0088L9.35651 10.6405H6.37309ZM17.3642\n 10.6405H14.9181C14.8795 11.6678 14.7312 12.6881 14.4757 13.6839C15.0217 13.8666 15.5293 14.083 15.9906 14.3295C16.7753\n 13.2474 17.2502 11.972 17.3642 10.6405ZM17.4814 10.5322C17.4788 10.5683 17.4761 10.6044 17.473 10.6405C17.3561 12.0265\n 16.8536 13.353 16.0219 14.4697C16.0219 14.4697 16.0219 14.4696 16.0219 14.4697C16.8753 13.324 17.382 11.9573 17.4814\n 10.5322ZM5.98174 14.7761C6.12764 15.1721 6.2998 15.558 6.49709 15.9311C6.64881 16.2181 6.81982 16.4943 7.0089\n 16.758C7.05062 16.8162 7.09307 16.8738 7.13654 16.9307C7.13658 16.9308 7.13649 16.9307 7.13654 16.9307C6.89605 16.6158\n 6.68229 16.2814 6.49709 15.9311C6.2998 15.558 6.12764 15.1721 5.98174 14.7761C5.98171 14.7761 5.98177 14.7761 5.98174\n 14.7761ZM5.91674 14.9114C5.56411 15.0294 5.21927 15.1695 4.88425 15.3308C5.45264 15.8768 6.10423 16.3281 6.81409\n 16.6681C6.66405 16.4472 6.52613 16.218 6.40121 15.9817C6.21795 15.6351 6.05624 15.2777 5.91674 14.9114ZM5.52547\n 13.6839C4.9794 13.8666 4.4718 14.083 4.01053 14.3295C3.22579 13.2474 2.75095 11.972 2.63692 10.6405H5.08299C5.12159\n 11.6678 5.26992 12.6881 5.52547 13.6839ZM3.97911 14.4696C3.97908 14.4696 3.97913 14.4696 3.97911 14.4696V14.4696ZM5.52497\n 6.30917C4.97906 6.12651 4.47195 5.90945 4.01081 5.66306C3.22595 6.7452 2.75102 8.02077 2.63693 9.3524H5.0835C5.12789\n 8.27455 5.28042 7.24682 5.52497 6.30917ZM3.9791 5.52327C3.97913 5.52328 3.97908 5.52326 3.9791 5.52327V5.52327Z"\n fill="black"/>\n </svg>\n <span style="font-size: {{ (+configs.font_size)|textsize }}; color:#191A1B; margin-left: 4px; word-break: break-word;">{{ business.domain }}</span>\n </p>\n {% endif %}\n <p style="font-size: {{ (+configs.font_size)|textsize }}; color:#191A1B, padding: 0; margin: 0; font-weight: 400;\n line-height: 20px; word-break: break-word;">\n {% if configs.show_phone_number %}\n <span>{{ configs.phone_number|phone }}</span>\n {% endif %}\n {% if configs.show_biz_address %}\n <span>\n - {{ business.address }}\n </span>\n {% endif %}\n </p>\n </div>\n </div>\n <div style="margin: 12px auto; width: 100%; color: black; border-bottom: 1px solid rgba(0,0,0,0.75); box-sizing: border-box"></div>\n </div>',BillDivider:'<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="6" viewBox="0 0 345 6">\n <path d="M0 1H345" fill="black" stroke="black" stroke-linecap="round" stroke-dasharray="2 5"/>\n</svg>',BillDetail:'<section style="margin: 0 auto;">\n <div>\n {% if configs.show_title %}\n <p style="text-align: center; margin: 0; line-height: 20px; color: black; text-transform: uppercase; font-style: normal;\n font-weight: 600; font-size: {{ (+configs.font_size + 2)|textsize }};">\n {{ configs.title }}\n </p>\n {% endif %}\n <p style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 18px; margin: 4px 0 0 0; font-weight: 400;\n text-align: center;">\n {% if order.order_number %}\n {{ order.order_number }} -\n {% endif %}\n {{ order.created_at|datetime }}\n </p>\n {% if configs.barcode and order.order_number %}\n <div style="margin-top: 8px; display:flex; justify-content:center;">\n <img src="{{ order.order_number|barcode }}" style="width: 60%; max-width: 100%; min-height: 60px; max-height: 60px;"/>\n </div>\n {% endif %}\n </div>\n <div style="margin-top: 8px">\n {% if configs.name_buyer %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Khách:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.buyer_info.name }}\n {% if configs.code_buyer and order.buyer_info.contact_code %}\n - {{ order.buyer_info.contact_code }}\n {% elseif configs.code_buyer and order.contact.contact_code %}\n - {{ order.contact.contact_code }}\n {% else %}\n {% endif %}\n </span>\n </div>\n {% endif %}\n {% if configs.phone_buyer and order.buyer_info.phone_number != \'+84999988888\' and order.buyer_info.phone_number != \'0999988888\' %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n SĐT:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.buyer_info.phone_number|phone }}\n </span>\n </div>\n {% endif %}\n {% if configs.address_buyer and (order.buyer_info.address or order.buyer_info.address_info|buyer_address) %}\n <div style="display: flex; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Địa chỉ:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {% if order.buyer_info.address_info|buyer_address %}\n {{ order.buyer_info.address_info|buyer_address }}\n {% elseif order.buyer_info.address %}\n {{ order.buyer_info.address }}\n {% else %}\n {% endif %}\n </span>\n </div>\n {% endif %}\n {% if configs.points_buyer and order.remaining_customer_point > 0 %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Tích luỹ:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.remaining_customer_point | number }} điểm\n </span>\n </div>\n {% endif %}\n {% if configs.note_buyer and order.note %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Ghi chú:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.note }}\n </span>\n </div>\n {% endif %}\n {% if configs.name_table and order.reservation_meta.sector_name and order.reservation_meta.table_name %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Khu vực:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.reservation_meta.sector_name }} - {{ order.reservation_meta.table_name }}\n </span>\n </div>\n {% endif %}\n {% if configs.time_service and order.created_order_at and order.updated_order_at and order.reservation_meta.sector_name and order.reservation_meta.table_name %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Thời gian:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.created_order_at|time }} - {{ order.updated_order_at|time }}\n </span>\n </div>\n {% endif %}\n {% if configs.name_seller and order.staff_info.staff_name %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n NVBH:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600; word-break: break-word;">\n {{ order.staff_info.staff_name }}\n </span>\n </div>\n {% endif %}\n </div>\n</section>\n{% if configs.template_type === \'border\' or configs.template_type === \'standard\' %}\n <div style="margin: 12px auto; width: 100%; color: black; border-bottom: 1px solid rgba(0,0,0,0.75); box-sizing: border-box"></div>\n{% endif %}',BillOrders:'<section class="bill__orders">\n <div style="width: 100%; max-width: 100%;">\n <div style="display: block; padding-bottom: 2px; box-shadow: inset 0px -1px 0px #9a9da2;">\n <div style="display: flex; width: 100%;">\n <div style="width: 50%; font-weight: 700; font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px;\n text-align: left;">\n ĐƠN GIÁ\n </div>\n <div style="width: 10%; font-weight: 700; font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px;\n text-align: left;">\n SL\n </div>\n <div style="width: 40%; font-weight: 700; font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px;\n text-align: right;">\n THÀNH TIỀN\n </div>\n </div>\n </div>\n <div style="display: block; margin-top: 2px;">\n {% for item in order.order_item %}\n <div style="display: flex">\n <div colspan="3">\n <div style="display: flex">\n <span style="display: block; font-weight: 500; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;">\n {{loop.index}}. \n </span>\n <span style="display: block; margin-left: 4px; font-weight: 400; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;">\n {{item.product_name}}\n {% if item.sku_name%}\n - {{item.sku_name}}\n {% endif %}\n {% if item.uom%}\n - {{item.uom}}\n {% endif %}\n </span>\n </div>\n </div>\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-left: 10px">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px; ">\n <div\n style="font-size: 10px; font-weight: 500; color: black; margin: 0; padding: 0; margin-right: 4px"\n >\n {{addOnItem.quantity + "x"}} \n </div>\n <div \n style="font-size: 10px; font-weight: 500; color: black; margin: 0; padding: 0"\n >\n {% if loop.index !== item.order_item_add_on.length%}\n {{addOnItem.name}};\n {% else %}\n {{addOnItem.name}}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.note %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-left: 10px; margin-top: 2px; \n font-size: {{(+configs.font_size - 4)|textsize}}; font-weight: 500; color: black; padding: 0">\n Ghi chú: {{item.note}}\n </div>\n {% endif %}\n <div style="display: flex; width: 100%; margin-top: 4px;">\n {% if item.order_item_add_on.length > 0 %}\n <div style="width: 50%; font-weight: 400; box-sizing: border-box; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;"\n >\n {% if configs.other_discount and item.price < item.product_normal_price %}\n {{ item | addOnSellPrice }}\n <del style="font-size: {{(+configs.font_size - 2)|textsize}}; line-height: 18px;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n {{ item | addOnSellPrice }}\n {% endif %}\n </div>\n {% else %}\n <div style="width: 50%; font-weight: 400; box-sizing: border-box; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;"\n >\n {% if configs.other_discount and item.price < item.product_normal_price %}\n {{item.price | number}}\n <del style="font-size: {{(+configs.font_size - 2)|textsize}}; line-height: 18px;">\n {{item.product_normal_price | number}}\n </del>\n {% else %}\n {{item.price | number}}\n {% endif %}\n </div>\n {% endif %}\n <div style="width: 15%; font-weight: 400; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;">\n x{{item.quantity}}\n </div>\n <div style="box-sizing: border-box; width: 35%; text-align: right; font-weight: 400; font-size: {{(item.price * item.quantity)|orderItemTextSize(+configs.font_size)}}; line-height: 20px;">\n {{item.total_amount | number}}\n </div>\n </div>\n {% endfor %}\n </div>\n </div>\n</section>\n<div style="margin: 3px auto; width: 100%; border-bottom: 1px dashed rgba(0,0,0,1)"></div>\n',BillPaymentInfo:'<section class=\'bill__payment__info\'>\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Tạm tính\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ order.ordered_grand_total|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% if order.delivery_fee > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Phí vận chuyển\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ order.delivery_fee|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.promotion_discount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Khuyến mãi\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n -{{ order.promotion_discount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.other_discount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Chiết khấu\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n -{{ order.other_discount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.customer_point_discount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Giảm giá từ điểm\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n -{{ order.customer_point_discount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.list_surcharge and order.list_surcharge.length > 0 %}\n {% for item in order.list_surcharge %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n {{ item.name }}\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ item.amount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endfor %}\n {% endif %}\n {% if tax.tax_label %}\n <div style="display: flex; justify-content: space-between; align-items: center;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {{ tax.tax_label }}\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ tax.tax_total_amount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if tax.tax_list and tax.tax_list.length > 0 and not tax.is_direct_tax %}\n {% for tax_item in tax.tax_list %}\n <div style="display: flex; justify-content: space-between; align-items: center; margin-left: 16px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Thuế GTGT\n {{ tax_item.percentage }}%\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ tax_item.amount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endfor %}\n {% endif %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding-top: 4px;">\n <span style="font-size: {{ (+configs.font_size + 1)|textsize }}; line-height: 20px; font-weight: 600;">\n Tổng cộng\n {{ order|get_total_items }}\n </span>\n <span style="font-size: {{ (+configs.font_size + 1)|textsize }}; line-height: 24px; font-weight: 600; text-align: right;">\n {{ order.grand_total|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size + 1)|textsize }};">đ</span>\n </span>\n </div>\n {% if configs.show_vat %}\n <div style="padding-bottom: 4px; text-align: right; font-weight: 400; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 18px; ">\n <span>Đã bao gồm {{ configs.vat }}% VAT: {{ (order.ordered_grand_total * configs.vat / 100)|number }}</span>\n </div>\n {% endif %}\n</section>\n<section>\n <div style="margin: 4px auto; width: 100%; border-bottom: 1px dashed rgba(0,0,0,1)"></div>\n {% if configs.amount_paid and order.amount_paid > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Khách đã trả\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ order.amount_paid|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if configs.amount_paid and order.amount_paid - order.grand_total > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Tiền thừa\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ (order.amount_paid - order.grand_total)|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if configs.amount_paid and order.grand_total - order.amount_paid > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {% if order.state === "complete" %}\n Còn nợ đơn này\n {% else %}\n Chưa thanh toán\n {% endif %}\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ (order.grand_total - order.amount_paid) |number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if configs.debt_amount and order.total_debt_amount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Công nợ cũ\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ (order.total_debt_amount)|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.total_debt_amount + (order.grand_total - order.amount_paid) > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; font-weight: 600">\n Còn phải thu\n </span>\n <span style="font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; font-weight: 600; text-align: right;">\n {{ (order.total_debt_amount + (order.grand_total - order.amount_paid)) |number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n</section>\n{% if (configs.amount_paid or order.debt_amount) %}\n <div style="margin: 8px auto; width: 100%; color: black; border-bottom: 1px solid rgba(0,0,0,1); box-sizing: border-box"></div>\n{% endif %}',BillPaymentMethod:'<section class="bill__payment__method">\n {% if configs.show_note %}\n <pre style="margin:0; pading-bottom: 4px; font-weight: 500; font-size: {{ (+configs.font_size)|textsize }}; line-height: 21px; font-family: inherit; text-align: center; white-space: pre-line">{{ configs.note }}</pre>\n {% endif %}\n {% if configs.bank_account and paymentInfo.length > 0 and (configs.provisional_invoice_qr.active === false or qrImage === "") %}\n {% for item in paymentInfo %}\n <div style="display: flex; align-items:center; justify-content: center; flex-direction: column;">\n <div style="display: flex; margin-top: 2px; justify-content: center;">\n <div style="font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; text-align: center;">\n {% if item.payment_method == "momo" %}\n <div>\n <div style="font-weight: 600;">\n MoMo - {{ item.information.phone_number }}\n </div>\n <div style="font-weight: 400;">\n {{ item.information.name }}\n </div>\n </div>\n {% else %}\n <div>\n <div style="font-weight: 600;">\n {{ item.information.bank_name }} -\n {{ item.information.account_number }}\n </div>\n <div style="font-weight: 400;">\n {{ item.information.account_owner }}\n </div>\n </div>\n {% endif %}\n </div>\n </div>\n {% if not loop.last %}\n <div style="height: 10px; display:flex; align-items:center; margin-bottom: 2px">-</div>\n {% endif %}\n </div>\n {% endfor %}\n {% endif %}\n</section>\n{% if (order.invoice_link) %}\n <div style="margin: 8px auto; width: 100%; border-bottom: 1px dashed #73787D"></div>\n{% elseif (configs.show_note or (order.bank_account and paymentInfo.length > 0)) %}\n <div style="margin: 8px auto; width: 100%; border-bottom: 1px solid #73787D"></div>\n{% endif %}',BillFooter:'{# <div style="margin: 8px auto; width: 100%; border-bottom: 1px dashed black"></div> #}\n<footer style="display: flex; flex-direction: column">\n {% if configs.logo_sbh %}\n <div style="margin-top: 8px ;font-weight: 500; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;\n text-align: center">\n Bán hàng chuyên nghiệp bằng ứng dụng\n </div>\n <div style="text-align: center; margin-top: 8px; display: flex; justify-content: center;">\n {%- include "Logo" -%}\n </div>\n {% endif %}\n {% if configs.show_footer %}\n <pre style="margin:0; margin-top: 12px; padding-bottom: 8px; font-weight: 600; font-size: {{ (+configs.font_size + 2)|textsize }}; line-height: 21px;\n text-align: center; font-family: inherit; white-space: pre-line">{{ configs.footer }}</pre>\n {% endif %}\n <div style="margin: 0; margin-bottom: 12mm; width: 100%;"></div>\n</footer>',BillEInvoice:'<section>\n <div style="font-weight: 600; font-size: {{ (+configs.font_size)|textsize }}; line-height: 24px; text-align: center">\n Hoá đơn điện tử\n </div>\n <div style="font-weight: 400; font-size: {{ (+configs.font_size - 3)|textsize }}; line-height: 20px; text-align: center;\n white-space: pre-line">{{ order.invoice_link }}</div>\n</section>\n{% if configs.logo_sbh or configs.show_footer %}\n <div style="margin: 8px auto; width: 100%; border-bottom: 1px solid black"></div>\n{% endif %}',BillOrderItemsDefault:'{% set showUom = order.order_item | has_uom %}\n<section class="bill__order_items_default">\n <div style="width: 100%; max-width: 100%;">\n <div style="display: block; padding-bottom: 2px; ">\n <div style="display: flex; width: 100%; margin-bottom: 10px">\n <div style="width: 1%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n left;"></div>\n <div style="width: {{ \'39%\' if showUom else \'49%\' }}; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }};\n line-height: 20px; text-align: left;">\n Đơn giá\n </div>\n {% if showUom %}\n <div style="width: 10%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n left;">\n ĐV\n </div>\n {% endif %}\n <div style="width: 10%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n left;">\n SL\n </div>\n <div style="width: 40%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n right;">\n T.tiền\n </div>\n </div>\n </div>\n <div style="display: block;">\n {% for item in order.order_item %}\n <div style="display: flex">\n <div colspan="1" style="width: 20px;">\n <span style="display: block; font-weight: 400; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {{ loop.index }}.\n </span>\n </div>\n <div colspan="3">\n <div style="display: flex">\n <span style="word-break: break-word; display: block; font-weight: 400; font-size: {{ (+configs.font_size - 1)|textsize }};\n line-height: 20px;">\n {{ item.product_name }}\n {% if item.sku_name %}\n - {{ item.sku_name }}\n {% endif %}\n </span>\n </div>\n </div>\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-left: 20px; margin-top: 2px">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px;">\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0;\n margin-right: 4px">\n {{ addOnItem.quantity + "x" }}\n </div>\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0">\n {% if loop.index !== item.order_item_add_on.length %}\n {{ addOnItem.name }};\n {% else %}\n {{ addOnItem.name }}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.item_rate %}\n <div style="margin-left: 20px; display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size\n - 3)|textsize }}; font-weight: 500; color: black; padding: 0">\n <i>Từ {{ item.start_time|datestring }} đến {{ item.end_time|datestring }}</i>\n </div>\n {% endif %}\n {% if item.note and (item.item_rate === null or item.item_rate === undefined or item.item_rate.is_show_note) %}\n <div style="margin-left: 20px; font-style:italic; display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{\n (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; padding: 0">\n Ghi chú:\n {{ item.note }}\n </div>\n {% endif %}\n <div style="margin-left: 20px; display: flex; width: 100%; margin-top: 8px; margin-bottom: 12px">\n {% if item.order_item_add_on.length > 0 %}\n <div style=" width: calc({{ \'40%\' if showUom else \'50%\' }} - 20px); display:flex; align-items:center; gap:4px; font-weight:\n 400; box-sizing: border-box; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {% if configs.other_discount and item.price < item.product_normal_price %}\n <div style="word-break: break-word;">\n {{ item | addOnSellPrice }}\n </div>\n <del style="color:#73787D; font-size: {{ (+configs.font_size - 2)|textsize }}; line-height: 18px; word-break: break-word;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n <div style="word-break: break-word;">\n {{ item | addOnSellPrice }}\n </div>\n {% endif %}\n </div>\n {% else %}\n <div style=" width: calc({{ \'40%\' if showUom else \'50%\' }} - 20px); display:flex; align-items:center; gap:4px; font-weight:\n 400; box-sizing: border-box; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {% if configs.other_discount and (item.price < item.product_normal_price or item.item_rate.price < item.item_rate.rate) %}\n <div style="word-break: break-word;">\n {{ item|get_selling_price }}\n </div>\n <del style="color:#73787D; font-size: {{ (+configs.font_size - 2)|textsize }}; line-height: 18px; word-break: break-word;">\n {{ item|get_normal_price }}\n </del>\n {% else %}\n <div style="word-break: break-word;">\n {{ item|get_selling_price }}\n </div>\n {% endif %}\n </div>\n {% endif %}\n {% if showUom %}\n <div style="width:10%; line-height: 20px; font-size: {{ (+configs.font_size - 1)|textsize }}">{{ item.uom }}</div>\n {% endif %}\n <div style="width: 15%; font-weight: 600; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; word-break:\n break-word;">\n {{ item|get_quantity }}\n </div>\n <div style="box-sizing: border-box; width: 35%; text-align: right; font-weight: 600; word-break: break-word; font-size: {{\n (item.price * item.quantity)|orderItemTextSize(+configs.font_size) }}; line-height: 20px;">\n {{ item|get_total_amount }}\n </div>\n </div>\n {% endfor %}\n </div>\n </div>\n</section>\n<div style="margin: 12px auto 8px; width: 100%; border-bottom: 1px solid rgba(0,0,0,1)"></div>',BillOrderItemsBorder:'{% set showUom = order.order_item | has_uom %}\n<section class="bill__order_items_default">\n <div style="width: 100%; max-width: 100%;">\n <div style="display: block; padding-bottom: 2px; ">\n <div style="display: flex; width: 100%;">\n <div style="width: {{ \'26%\' if showUom else \'30%\' }}; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }};\n line-height: 20px; text-align: left;">\n Sản phẩm\n </div>\n {% if showUom %}\n <div style="width: 11%; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; text-align:\n center;">\n ĐV\n </div>\n {% endif %}\n <div style="width: {{ \'26%\' if showUom else \'30%\' }}; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }};\n line-height: 20px; text-align: right;">\n Đơn giá\n </div>\n <div style="width: 10%; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; text-align:\n center;">\n SL\n </div>\n <div style="width: {{ \'27%\' if showUom else \'30%\' }}; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }};\n line-height: 20px; text-align: right;">\n T.tiền\n </div>\n </div>\n </div>\n <div style="display: block; margin-top: 2px;">\n {% for item in order.order_item %}\n <div style="display: flex;">\n <div style="word-break: break-word; width: {{ \'26%\' if showUom else \'30%\' }}; display: block; font-weight: 400; font-size: {{\n (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {{ item.product_name }}\n {% if item.sku_name %}\n - {{ item.sku_name }}\n {% endif %}\n </div>\n {% if showUom %}\n <div style="width: 11%; display: block; font-weight: 400; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height:\n 20px; text-align: center; word-break: break-word;">\n {{ item.uom }}\n </div>\n {% endif %}\n <div style="display: flex; width: {{ \'26%\' if showUom else \'30%\' }}; text-align: right;">\n {% if item.order_item_add_on.length > 0 %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px;">\n {% if configs.other_discount and item.price < item.product_normal_price %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }};">\n {{ item | addOnSellPrice }}\n </div>\n <del style="font-size: {{ (item | addOnNormalPrice)|orderItemTextSize(+configs.font_size) }}; line-height: 18px; word-break:\n break-word;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }};">\n {{ item | addOnSellPrice }}\n </div>\n {% endif %}\n </div>\n {% else %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px;">\n {% if configs.other_discount and (item.price < item.product_normal_price or item.item_rate.price < item.item_rate.rate) %}\n <div style="word-break: break-word; font-size: {{ (item.price | number)|orderItemTextSize(+configs.font_size) }};">\n {{ item|get_selling_price }}\n </div>\n <del style="font-size: {{ (item.product_normal_price | number)|orderItemTextSize(+configs.font_size) }}; line-height: 18px;\n word-break: break-word;">\n {{ item|get_normal_price }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item.product_normal_price | number)|orderItemTextSize(+configs.font_size)\n }};">\n {{ item|get_selling_price }}\n </div>\n {% endif %}\n </div>\n {% endif %}\n </div>\n <div style="width: 10%; display: block; font-weight: 400; font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px;\n text-align: center; word-break: break-word;">\n {{ item|get_quantity }}\n </div>\n <div style="box-sizing: border-box; width: {{ \'27%\' if showUom else \'30%\' }}; text-align: right; font-weight: 400; font-size:\n {{ ((item.price * item.quantity) | number)|orderItemTextSize(+configs.font_size) }}; line-height: 20px; word-break:\n break-word;">\n {{ item|get_total_amount }}\n </div>\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap;">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px; ">\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0;\n margin-right: 4px">\n {{ addOnItem.quantity + "x" }}\n </div>\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0">\n {% if loop.index !== item.order_item_add_on.length %}\n {{ addOnItem.name }};\n {% else %}\n {{ addOnItem.name }}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.item_rate %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>Từ {{ item.start_time|datestring }} đến {{ item.end_time|datestring }}</i>\n </div>\n {% endif %}\n {% if item.note and (item.item_rate === null or item.item_rate === undefined or item.item_rate.is_show_note) %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>{{ item.note }}</i>\n </div>\n {% endif %}\n {% if loop.index !== 0 %}\n <div style="margin: 4px auto 12px; width: 100%; border-top: 1px dashed rgba(0,0,0,1)"></div>\n {% endif %}\n {% endfor %}\n </div>\n </div>\n</section>',BillOrderItemsFramed:'{% set showUom = order.order_item | has_uom %}\n<section class="bill__order_items_default" style="margin-top: 8px; margin-bottom: 8px">\n <div style="margin: 8px auto 8px; width: 100%; border-bottom: 1px solid black"></div>\n <table style="border-collapse: collapse; width: 100%">\n <thead>\n <tr>\n <th style="padding: 2px 3px 4px; width: 4%; font-weight: 600; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 20px; text-align: center; border-bottom: 1px dotted black; border-right: 1px dashed black; border-top: 1px\n solid black; border-left: 1px solid black;">\n #\n </th>\n <th style="padding: 2px 3px 4px; width: {{ \'26%\' if showUom else \'32%\' }}; font-weight: 600; font-size: {{\n (+configs.font_size - 2)|textsize }}; line-height: 20px; text-align: left; border-bottom: 1px dotted black; border-right:\n 1px dashed black; border-top: 1px solid black; border-left: 1px solid black;">\n Sản phẩm\n </th>\n {% if showUom %}\n <th style="padding: 2px 3px 4px; width: 12%; font-weight: 600; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 20px; text-align: left; border-bottom: 1px dotted black; border-right: 1px dashed black; border-top: 1px\n solid black; border-left: 1px solid black;">\n ĐV\n </th>\n {% endif %}\n <th style="padding: 2px 3px 4px; width: {{ \'23%\' if showUom else \'25%\' }}; font-weight: 600; font-size: {{\n (+configs.font_size - 2)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted black;\n border-right: 1px dashed black; border-top: 1px solid black;">\n Giá\n </th>\n <th style="padding: 2px 3px 4px; width: 8%; font-weight: 600; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 20px; text-align: right; border-bottom: 1px dotted black; border-right: 1px dashed black; border-top: 1px\n solid black;">\n SL\n </th>\n <th style="padding: 2px 3px 4px; width: {{ \'27%\' if showUom else \'31%\' }}; font-weight: 600; font-size: {{\n (+configs.font_size - 2)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted black;\n border-right: 1px dashed black; border-top: 1px solid black; border-right: 1px solid black;">\n TT\n </th>\n </tr>\n </thead>\n <tbody style="border-bottom: 1px solid black">\n {% for item in order.order_item %}\n <tr>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: 4%; font-weight: 400; font-size: {{ (+configs.font_size -\n 1)|textsize }}; line-height: 20px; text-align: center; border-bottom: 1px dotted black; border-right: 1px dashed black;\n border-left: 1px solid black;">\n {{ loop.index }}\n </th>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: {{ \'26%\' if showUom else \'32%\' }}; font-weight: 400;\n font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align: left; border-bottom: 1px dotted black;\n border-right: 1px dashed black; border-left: 1px solid black;">\n <div style="word-break: break-word;">\n {{ item.product_name }}\n {% if item.sku_name %}\n - {{ item.sku_name }}\n {% endif %}\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap;">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px; ">\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0;\n margin-right: 4px">\n {{ addOnItem.quantity + "x" }}\n </div>\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0">\n {% if loop.index !== item.order_item_add_on.length %}\n {{ addOnItem.name }};\n {% else %}\n {{ addOnItem.name }}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.item_rate %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>Từ {{ item.item_rate.start_time|datestring }} đến {{ item.item_rate.end_time|datestring }}</i>\n </div>\n {% endif %}\n {% if item.note and (item.item_rate === null or item.item_rate === undefined or item.item_rate.is_show_note) %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>{{ item.note }}</i>\n </div>\n {% endif %}\n </th>\n {% if showUom %}\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: 12%; font-weight: 400; font-size: {{ (+configs.font_size -\n 1)|textsize }}; line-height: 20px; text-align: left; border-bottom: 1px dotted black; border-right: 1px dashed black;\n word-break: break-word;">\n {{ item.uom }}\n </th>\n {% endif %}\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: {{ \'23%\' if showUom else \'25%\' }}; font-weight: 400;\n font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted\n black; border-right: 1px dashed black;">\n {% if item.order_item_add_on.length > 0 %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px; word-break: break-word;">\n {% if configs.other_discount and item.price < item.product_normal_price %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }}; ">\n {{ item | addOnSellPrice }}\n </div>\n <del style="color: #73787D; font-size: {{ (item | addOnNormalPrice)|orderItemTextSize(+configs.font_size) }}; line-height:\n 18px; word-break: break-word;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }};">\n {{ item | addOnSellPrice }}\n </div>\n {% endif %}\n </div>\n {% else %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px;">\n {% if configs.other_discount and (item.price < item.product_normal_price or item.item_rate.price < item.item_rate.rate) %}\n <div style="word-break: break-word; font-size: {{ (item.price | number)|orderItemTextSize(+configs.font_size) }};">\n {{ item|get_selling_price }}\n </div>\n <del style="color:#73787D; font-size: {{ (item.product_normal_price | number)|orderItemTextSize(+configs.font_size) }};\n line-height: 18px; word-break: break-word;">\n {{ item|get_normal_price }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item.price | number)|orderItemTextSize(+configs.font_size) }};">\n {{ item|get_selling_price }}\n </div>\n {% endif %}\n </div>\n {% endif %}\n </th>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: 8%; font-weight: 400; font-size: {{ (+configs.font_size -\n 1)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted black; border-right: 1px dashed black;\n word-break: break-word;">\n {{ item|get_quantity }}\n </th>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: {{ \'27%\' if showUom else \'31%\' }}; font-weight: 400;\n font-size: {{ ((item.price * item.quantity) | number)|orderItemTextSize(+configs.font_size) }}; line-height: 20px;\n text-align: right; border-bottom: 1px dotted black; border-right: 1px solid black; word-break: break-word;">\n {{ item|get_total_amount }}\n </th>\n </tr>\n {% endfor %}\n </tbody>\n </table>\n <div style="margin: 8px auto 8px; width: 100%; border-bottom: 1px solid black"></div>\n</section>',BillQrPayment:'<section class="bill__qr__payment">\n <div>\n <div style="display:flex; flex-direction: column; align-items:center; margin-bottom: 8px">\n <div style="display:flex; align-items:center; gap: 4px;">\n <div style="font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight: 600;">\n {{bankInfo.bank_code}}\n </div>\n <div>-</div>\n <div style="font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight: 600;">\n {{bankInfo.account_number}}\n </div>\n </div>\n <div style="font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px; font-weight: 400;">\n {{bankInfo.account_owner}}\n </div>\n </div>\n <div style="background-image: url({{qrImage|bankQr}}); flex: 1 1 0%; position: relative; background-position: top;\n background-repeat: no-repeat; background-size: contain; max-width: 50%; aspect-ratio: 1; margin: 0 auto; width: 120px;\n height: 120px;">\n <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">\n <svg\n xmlns="http://www.w3.org/2000/svg"\n xmlns:xlink="http://www.w3.org/1999/xlink"\n width="22"\n height="22"\n viewBox="0 0 22 22"\n fill="none">\n <rect x="0.333313" y="0.333313" width="21.3333" height="21.3333" fill="url(#pattern0)"/>\n <defs>\n <pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">\n <use xlink:href="#image0_2467_348" transform="translate(-0.189937 -0.0244969) scale(0.00778248)"/>\n </pattern>\n <image\n id="image0_2467_348"\n width="173"\n height="146"\n xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAACSCAYAAAA3g0o7AAABQmlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8bAxcDLwAfEhonJxQWOAQE+QCUMMBoVfLvGwAiiL+uCzEozLas15TVMPbXb53ijza16TPUogCsltTgZSP8B4rTkgqISBgbGFCBbubykAMTuALJFioCOArLngNjpEPYGEDsJwj4CVhMS5Axk3wCyBZIzEoFmML4AsnWSkMTTkdhQe0GAx8XVx0chwMjEyNCFgHNJByWpFSUg2jm/oLIoMz2jRMERGEqpCp55yXo6CkYGRkYMDKAwh6j+fAMcloxiHAixfB4GBrNnQMYhhFjiEwaGHXXQoIGKqQLVCADDaO/PgsSiRLgDGL+xFKcZG0HY3NsZGFin/f//OZyBgV2TgeHv9f//f2/////vMgYG5lsMDAe+AQAn9GBjLVlccQAAAFZlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA5KGAAcAAAASAAAARKACAAQAAAABAAAAraADAAQAAAABAAAAkgAAAABBU0NJSQAAAFNjcmVlbnNob3SeBbBBAAAB1mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8c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Sxnu7p1clbLZv3JDs4W8k9dE+ALhTHEgUx4I0GUEeqA5CR2gI+TYX0JS1WSXG0xBBocFSYMxERZ6AStUxWQdVyukfkNyly5LZf0ByZ76T3OWrYg8Oik7nJOSiiKD6DmcYA26X9GBjGquRKATtSFwp9zN0iN19U3Jdl8UZGBQnlwNgkW98JGFLIQsdmT67nPqYUl6lMCr3nkE9n+uAGzfF6e0TZwiDGzquQDVimViqQ8ylq41jiw5BG9TOn8Ttpv4bUsiBQHEgBG2guitsLDkQgjbEQeA4EII2cF0WNjgEbYiBwHEgBG3guixscAjaEAOB40AI2sB1WdjgELQhBgLHgRC0geuysMEhaEMMBI4DIWgD12Vhg0PQhhgIHAdC0Aauy8IGh6ANMRA4DoSgDVyXhQ0OQRtiIHAcCEEbuC4LGxyCNsRA4Djw/2jRuUkl7DR1AAAAAElFTkSuQmCC"/>\n </defs>\n </svg>\n </div>\n </div>\n </div>\n {# <div style="display: flex; justify-content: space-between; align-items: center ;column-gap: 8px; margin-top:4px; padding: 4px\n 0px">\n <div style="width: max-content; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight: 400;">\n Nội dung\n </div>\n <div style="flex: 1 1 0%; text-align: right ;font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight:\n 600;">\n TT\n {{bankInfo.order_number}}\n </div>\n </div> #}\n</section>\n<div style="margin: 16px auto 8px; width: 100%; border-bottom: 1px dashed #73787D"></div>',Logo:'<svg xmlns="http://www.w3.org/2000/svg" width="209" height="40" viewBox="0 0 209 40" fill="none">\n<path d="M28.7024 0H4.10853C3.2787 0.00306782 2.48373 0.334079 1.89694 0.920866C1.31015 1.50765 0.979142 2.30262 0.976074 3.13246L0.976074 6.09025H3.07214C3.40426 6.12132 3.71283 6.27522 3.93745 6.52184C4.16207 6.76845 4.28656 7.09001 4.28656 7.42358C4.28656 7.75715 4.16207 8.07872 3.93745 8.32533C3.71283 8.57194 3.40426 8.72584 3.07214 8.75691H0.976074V14.4745H3.07214C3.40426 14.5056 3.71283 14.6595 3.93745 14.9061C4.16207 15.1527 4.28656 15.4743 4.28656 15.8079C4.28656 16.1414 4.16207 16.463 3.93745 16.7096C3.71283 16.9562 3.40426 17.1101 3.07214 17.1412H0.976074V22.8588H3.07214C3.40426 22.8899 3.71283 23.0438 3.93745 23.2904C4.16207 23.537 4.28656 23.8586 4.28656 24.1921C4.28656 24.5257 4.16207 24.8473 3.93745 25.0939C3.71283 25.3405 3.40426 25.4944 3.07214 25.5255H0.976074V31.2431H3.07214C3.40426 31.2742 3.71283 31.4281 3.93745 31.6747C4.16207 31.9213 4.28656 32.2428 4.28656 32.5764C4.28656 32.91 4.16207 33.2316 3.93745 33.4782C3.71283 33.7248 3.40426 33.8787 3.07214 33.9098H0.976074V36.8675C0.979142 37.6974 1.31015 38.4923 1.89694 39.0791C2.48373 39.6659 3.2787 39.9969 4.10853 40H28.7024C29.5323 39.9969 30.3272 39.6659 30.914 39.0791C31.5008 38.4923 31.8318 37.6974 31.8349 36.8675V3.09753C31.8227 2.27377 31.4876 1.48771 30.9018 0.908435C30.316 0.329162 29.5263 0.00296095 28.7024 0ZM21.2847 27.6681C20.3418 28.3731 19.2287 28.8152 18.059 28.9491V30.9054C18.056 31.274 17.9074 31.6264 17.6457 31.886C17.3839 32.1455 17.0303 32.2911 16.6617 32.2911H16.0212C15.6537 32.2911 15.3012 32.1451 15.0413 31.8852C14.7815 31.6254 14.6355 31.2729 14.6355 30.9054V28.8908C14.0591 28.7946 13.4963 28.6305 12.9586 28.4017C12.0197 28.0226 11.2108 27.3795 10.6296 26.5502C10.0719 25.7177 9.78326 24.734 9.80286 23.7322V23.1732C9.80103 23.1334 9.8085 23.0938 9.82467 23.0574C9.84084 23.021 9.86527 22.9889 9.89602 22.9636C9.92282 22.9347 9.95523 22.9115 9.99126 22.8955C10.0273 22.8795 10.0662 22.871 10.1056 22.8705H13.0052C13.0884 22.871 13.1679 22.9045 13.2264 22.9636C13.2538 22.991 13.2752 23.0238 13.2892 23.0599C13.3032 23.0959 13.3096 23.1345 13.308 23.1732V23.5575C13.3124 23.9 13.4007 24.2361 13.5651 24.5366C13.7296 24.837 13.9651 25.0926 14.2512 25.2809C15.0036 25.7828 15.8982 26.0279 16.8014 25.9796C17.5155 26.0323 18.2252 25.8301 18.8043 25.409C19.014 25.2368 19.1825 25.0198 19.2974 24.774C19.4122 24.5282 19.4706 24.2597 19.4681 23.9884C19.4746 23.7987 19.4417 23.6097 19.3716 23.4333C19.3015 23.2569 19.1955 23.097 19.0605 22.9636C18.7394 22.6509 18.3647 22.3984 17.9542 22.2183C17.4884 22.0087 16.7898 21.7176 15.7301 21.345C14.7398 21.0293 13.7745 20.64 12.8422 20.1805C12.0614 19.7875 11.3834 19.2172 10.8625 18.5153C10.3096 17.7606 10.0266 16.8419 10.059 15.9068C10.0365 14.9586 10.3091 14.0267 10.8392 13.2402C11.3887 12.4595 12.1476 11.8499 13.0285 11.4818C13.551 11.2585 14.0983 11.0983 14.6588 11.0044V9.09461C14.6588 8.7271 14.8047 8.37463 15.0646 8.11475C15.3245 7.85488 15.677 7.70888 16.0445 7.70888H16.685C17.0536 7.70887 17.4072 7.85449 17.669 8.11404C17.9307 8.37358 18.0793 8.72603 18.0823 9.09461V11.0044C18.6442 11.1155 19.1912 11.2914 19.7126 11.5284C20.6518 11.941 21.458 12.6061 22.0416 13.4498C22.6208 14.2869 22.9222 15.285 22.9033 16.3028V16.687C22.9059 16.7276 22.9 16.7682 22.8859 16.8063C22.8719 16.8444 22.85 16.8791 22.8218 16.9083C22.7922 16.936 22.7574 16.9575 22.7194 16.9715C22.6814 16.9855 22.641 16.9917 22.6005 16.9898H19.6777C19.6372 16.9917 19.5968 16.9855 19.5588 16.9715C19.5208 16.9575 19.486 16.936 19.4564 16.9083C19.4282 16.8791 19.4063 16.8444 19.3923 16.8063C19.3782 16.7682 19.3723 16.7276 19.3749 16.687V16.4891C19.3678 16.1354 19.2802 15.788 19.1188 15.4733C18.9574 15.1585 18.7264 14.8847 18.4433 14.6725C17.7729 14.1737 16.9486 13.9264 16.1144 13.9738C15.4504 13.9365 14.7923 14.1164 14.2395 14.4862C14.022 14.6467 13.8468 14.8579 13.7291 15.1014C13.6114 15.3448 13.5548 15.6133 13.5641 15.8836C13.5583 16.2775 13.6994 16.6594 13.9601 16.9549C14.2926 17.2868 14.6887 17.5482 15.1245 17.7234C15.6369 17.9563 16.4404 18.2707 17.5234 18.655C18.4917 18.9893 19.4403 19.378 20.3647 19.8195C21.0853 20.1824 21.7174 20.6992 22.2162 21.3333C22.7968 22.075 23.0904 23.0011 23.043 23.9418C23.0635 24.6574 22.915 25.3678 22.6095 26.0152C22.304 26.6627 21.8501 27.229 21.2847 27.6681ZM30.3094 35.9127C30.3088 36.602 30.08 37.2718 29.6587 37.8174C29.2374 38.363 28.6472 38.7538 27.9804 38.9287C28.4816 38.3588 28.7588 37.6264 28.7606 36.8675V3.09753C28.7569 2.35368 28.4886 1.63543 28.0037 1.07132C28.6705 1.24623 29.2606 1.637 29.682 2.18261C30.1033 2.72822 30.3321 3.39798 30.3327 4.08734L30.3094 35.9127Z" fill="black"/>\n<path d="M42.3153 28.565C41.7785 28.2013 41.3268 27.7257 40.9911 27.1709C40.6554 26.6161 40.4438 25.9953 40.3706 25.351C40.3706 25.1996 40.3706 24.9784 40.3706 24.6989V24.1633C40.3782 24.0873 40.4064 24.0148 40.4521 23.9537C40.4791 23.9257 40.5118 23.9039 40.5479 23.8898C40.5841 23.8758 40.623 23.8697 40.6617 23.8721H43.3983C43.4369 23.8705 43.4755 23.8768 43.5116 23.8909C43.5477 23.9049 43.5805 23.9263 43.6079 23.9537C43.636 23.9801 43.657 24.0131 43.6692 24.0496C43.6814 24.0862 43.6844 24.1253 43.6777 24.1633V24.5242C43.6799 24.8478 43.7617 25.1658 43.9161 25.4502C44.0705 25.7346 44.2926 25.9765 44.5627 26.1545C45.2652 26.6293 46.1032 26.8623 46.9499 26.8183C47.6747 26.8865 48.3975 26.6693 48.9645 26.2127C49.1657 26.0301 49.3187 25.8006 49.4101 25.5447C49.5015 25.2888 49.5285 25.0143 49.4885 24.7455C49.4453 24.398 49.2753 24.0787 49.0111 23.8488C48.7019 23.5816 48.352 23.3654 47.9747 23.2084C47.5438 23.0221 46.8102 22.7542 45.9601 22.4165C45.0889 22.1211 44.2371 21.771 43.4099 21.3685C42.7168 21.0288 42.096 20.5582 41.5817 19.9828C41.0244 19.39 40.6697 18.6357 40.5686 17.8285C40.5686 17.712 40.5686 17.5141 40.5686 17.2229C40.543 16.5553 40.6752 15.8911 40.9544 15.2841C41.2336 14.6771 41.652 14.1445 42.1756 13.7295C43.3906 12.8275 44.8791 12.3711 46.391 12.4369C47.4359 12.4215 48.4732 12.6155 49.4419 13.0075C50.2988 13.3444 51.0561 13.8933 51.6428 14.6028C52.1975 15.2912 52.5448 16.1232 52.6443 17.0017C52.6443 17.1298 52.6443 17.3394 52.6443 17.6305V17.9915C52.6418 18.0686 52.6131 18.1426 52.5627 18.2011C52.5376 18.2282 52.5069 18.2495 52.4727 18.2635C52.4385 18.2776 52.4017 18.2841 52.3648 18.2826H49.6632C49.6245 18.2843 49.5859 18.2779 49.5498 18.2639C49.5137 18.2498 49.481 18.2285 49.4536 18.2011C49.4255 18.1747 49.4044 18.1417 49.3922 18.1051C49.38 18.0685 49.3771 18.0295 49.3837 17.9915V17.8052C49.3836 17.4727 49.3093 17.1444 49.1663 16.8443C49.0232 16.5441 48.8151 16.2796 48.5569 16.0701C47.8975 15.5489 47.066 15.2953 46.228 15.3598C45.5619 15.3177 44.9023 15.5115 44.3648 15.9071C44.1527 16.0838 43.9921 16.3144 43.8999 16.5746C43.8077 16.8349 43.7872 17.1151 43.8408 17.386C43.8778 17.7302 44.0393 18.0491 44.2949 18.2826C44.6405 18.5743 45.0346 18.8029 45.4594 18.958C45.9368 19.1676 46.6239 19.4587 47.637 19.8081C48.6501 20.1574 49.5467 20.5534 50.1406 20.8328C50.7849 21.1562 51.365 21.5942 51.8524 22.1254C52.3894 22.716 52.7239 23.4626 52.8073 24.2564C52.8073 24.3729 52.8073 24.5708 52.8073 24.8619C52.8315 25.5486 52.6933 26.2313 52.4039 26.8545C52.1146 27.4778 51.6822 28.0239 51.1421 28.4486C49.8527 29.3905 48.2763 29.8556 46.6821 29.7644C45.1376 29.8249 43.6122 29.406 42.3153 28.565Z" fill="black"/>\n<path d="M57.2206 28.681C56.2533 27.967 55.559 26.944 55.2526 25.7814C55.1243 25.3715 55.0347 24.9504 54.9848 24.5238C54.94 24.1372 54.9167 23.7484 54.9149 23.3593C54.8943 22.4922 55.0122 21.6274 55.2642 20.7974C55.5948 19.6653 56.2961 18.677 57.2555 17.991C58.2624 17.3031 59.46 16.9488 60.6791 16.9779C61.8791 16.9433 63.0586 17.2942 64.0444 17.9794C64.98 18.6764 65.6661 19.6565 66.0008 20.7741C66.2692 21.5853 66.4029 22.435 66.3967 23.2894C66.3916 24.1158 66.2781 24.938 66.059 25.7348C65.7582 26.9128 65.069 27.9549 64.1027 28.6926C63.094 29.4368 61.8617 29.8148 60.6092 29.764C59.392 29.7808 58.2024 29.4006 57.2206 28.681ZM61.995 26.352C62.3818 25.9914 62.6635 25.5326 62.8101 25.0245C62.9432 24.4561 63.0019 23.8729 62.9848 23.2894C63.0092 22.9289 63.0092 22.567 62.9848 22.2065C62.9342 21.5605 62.6769 20.9481 62.2511 20.4597C62.0503 20.2505 61.8074 20.0862 61.5384 19.9778C61.2694 19.8694 60.9805 19.8194 60.6907 19.8309C60.2018 19.8133 59.724 19.9795 59.3516 20.2967C58.963 20.6328 58.6867 21.0798 58.5597 21.5776C58.3862 22.131 58.3075 22.7098 58.3268 23.2894C58.3271 23.6786 58.3505 24.0675 58.3967 24.4539C58.4538 25.0809 58.711 25.6728 59.1303 26.1424C59.3271 26.3505 59.566 26.5142 59.8311 26.6226C60.0961 26.731 60.3813 26.7817 60.6674 26.7712C61.1479 26.7957 61.6205 26.6423 61.995 26.3404V26.352Z" fill="black"/>\n<path d="M78.9965 20.8674C79.6178 21.159 80.152 21.6079 80.5463 22.1696C80.9405 22.7313 81.181 23.3864 81.2439 24.0698C81.2572 24.318 81.2572 24.5668 81.2439 24.815C81.2785 25.4827 81.1516 26.1489 80.8739 26.757C80.5961 27.3652 80.1758 27.8974 79.6486 28.3085C78.4374 29.1432 76.9835 29.5528 75.5147 29.473H69.308C69.2309 29.4705 69.1569 29.4418 69.0984 29.3915C69.071 29.3641 69.0496 29.3313 69.0356 29.2952C69.0216 29.2591 69.0152 29.2205 69.0169 29.1819V12.8791C69.0232 12.8041 69.0563 12.7338 69.11 12.6811C69.1335 12.6513 69.1636 12.6273 69.198 12.6112C69.2324 12.595 69.27 12.5871 69.308 12.588H75.3284C78.7519 12.588 80.6229 13.8534 80.9412 16.3842C80.9647 16.667 80.9647 16.9514 80.9412 17.2343C80.9956 17.9545 80.8298 18.6742 80.4659 19.2981C80.102 19.922 79.557 20.4205 78.9033 20.7277C78.849 20.7743 78.88 20.8209 78.9965 20.8674ZM72.4637 15.5923C72.4576 15.605 72.4543 15.619 72.4543 15.6331C72.4543 15.6472 72.4576 15.6611 72.4637 15.6738V19.4468C72.4637 19.5283 72.4637 19.5632 72.5802 19.5632H75.3982C76.0183 19.5969 76.631 19.416 77.1333 19.0508C77.3436 18.8709 77.5097 18.6449 77.6187 18.3905C77.7278 18.1361 77.7768 17.86 77.7621 17.5836V17.2925C77.7398 17.0412 77.6651 16.7973 77.5427 16.5767C77.4204 16.3561 77.2531 16.1636 77.0518 16.0115C76.5638 15.6862 75.9839 15.5269 75.3982 15.5574H72.5103C72.495 15.5569 72.4798 15.5598 72.4657 15.5658C72.4516 15.5719 72.439 15.5809 72.4288 15.5923H72.4637ZM77.3895 25.9329C77.5965 25.6837 77.7439 25.3905 77.8206 25.0758C77.8973 24.761 77.9012 24.4329 77.832 24.1163C77.8108 23.8603 77.7354 23.6116 77.611 23.3868C77.4865 23.1619 77.3158 22.9661 77.11 22.8121C76.638 22.4797 76.0679 22.3156 75.4914 22.3463H72.522C72.4404 22.3463 72.4055 22.3463 72.4172 22.4744V26.4802C72.4172 26.5618 72.4172 26.6083 72.522 26.6083H75.503C75.8423 26.638 76.1839 26.5928 76.5038 26.4761C76.8237 26.3595 77.1141 26.174 77.3546 25.9329H77.3895Z" fill="black"/>\n<path d="M91.305 17.2111C91.3297 17.1834 91.3603 17.1616 91.3946 17.1475C91.4289 17.1334 91.466 17.1272 91.503 17.1295H94.3211C94.3597 17.1279 94.3983 17.1343 94.4344 17.1483C94.4705 17.1623 94.5033 17.1837 94.5307 17.2111C94.5578 17.2357 94.5784 17.2667 94.5906 17.3012C94.6028 17.3358 94.6062 17.3728 94.6005 17.409V29.2635C94.594 29.3418 94.5611 29.4157 94.5074 29.4731C94.4814 29.499 94.4505 29.5195 94.4165 29.5335C94.3825 29.5475 94.3461 29.5547 94.3094 29.5546H91.503C91.4663 29.5547 91.4299 29.5475 91.3959 29.5335C91.3619 29.5195 91.3311 29.499 91.305 29.4731C91.2757 29.4472 91.2529 29.4147 91.2388 29.3782C91.2246 29.3417 91.2194 29.3024 91.2235 29.2635V28.2271C91.2235 28.1572 91.2235 28.1223 91.2235 28.1106C91.2235 28.099 91.2235 28.1106 91.1304 28.1805C90.8176 28.688 90.373 29.1012 89.8439 29.376C89.3148 29.6508 88.7211 29.7769 88.126 29.7409C87.1013 29.7538 86.1043 29.4077 85.308 28.7627C84.4689 28.0921 83.8752 27.1627 83.6195 26.1194C83.5262 25.7791 83.4561 25.4328 83.4098 25.083C83.3275 24.4885 83.2809 23.8897 83.2701 23.2897C83.2452 22.2515 83.3747 21.2155 83.6544 20.2154C83.9697 19.2867 84.5583 18.4749 85.3429 17.8865C86.1664 17.2649 87.1761 16.9406 88.2075 16.9665C88.7662 16.923 89.3264 17.0296 89.83 17.2753C90.3337 17.521 90.7625 17.8968 91.0721 18.3639C91.0721 18.3639 91.142 18.4454 91.1769 18.4454C91.2119 18.4454 91.1769 18.4454 91.1769 18.3406V17.4672C91.1774 17.4176 91.1892 17.3687 91.2114 17.3243C91.2336 17.2799 91.2656 17.2412 91.305 17.2111ZM91.1537 24.5939C91.2077 24.1848 91.231 23.7722 91.2235 23.3595C91.2571 22.9721 91.2571 22.5825 91.2235 22.195C91.176 21.8552 91.0861 21.5227 90.9557 21.2052C90.8335 20.8033 90.5893 20.4492 90.257 20.1921C89.9198 19.9444 89.5109 19.8136 89.0925 19.8195C88.6535 19.8076 88.2231 19.9428 87.8698 20.2038C87.533 20.4689 87.2786 20.8243 87.1362 21.2285C86.8924 21.8875 86.7777 22.5873 86.7985 23.2897C86.7738 23.6774 86.7738 24.0664 86.7985 24.4541C86.8403 24.7537 86.9185 25.047 87.0314 25.3275C87.1586 25.7427 87.4157 26.106 87.765 26.3639C88.1227 26.6249 88.5567 26.76 88.9994 26.7482C89.4203 26.7589 89.832 26.6231 90.1638 26.3639C90.4962 26.097 90.7398 25.7357 90.8625 25.3275C90.9878 25.0951 91.0855 24.8489 91.1537 24.5939Z" fill="black"/>\n<path d="M106.618 17.898C107.397 18.588 107.881 19.5512 107.969 20.588C107.969 20.7277 107.969 20.9723 107.969 21.3333V29.2634C107.967 29.3405 107.938 29.4145 107.887 29.473C107.861 29.4989 107.831 29.5195 107.797 29.5335C107.763 29.5475 107.726 29.5546 107.689 29.5545H104.895C104.855 29.5579 104.815 29.5527 104.778 29.5395C104.74 29.5262 104.706 29.5051 104.677 29.4775C104.649 29.4499 104.626 29.4166 104.612 29.3797C104.597 29.3428 104.59 29.3031 104.592 29.2634V22.032C104.607 21.9043 104.607 21.7753 104.592 21.6477C104.543 21.1556 104.32 20.6972 103.963 20.3551C103.791 20.1906 103.589 20.0616 103.367 19.9757C103.145 19.8898 102.908 19.8485 102.671 19.8544C102.403 19.8432 102.136 19.8905 101.889 19.9931C101.641 20.0956 101.419 20.251 101.238 20.4483C100.86 20.8865 100.664 21.4534 100.691 22.032V29.2634C100.688 29.3405 100.66 29.4145 100.609 29.473C100.583 29.4989 100.553 29.5195 100.519 29.5335C100.485 29.5475 100.448 29.5546 100.411 29.5545H97.6283C97.5512 29.5521 97.4772 29.5233 97.4187 29.473C97.3928 29.4451 97.3732 29.4119 97.3612 29.3757C97.3491 29.3396 97.3449 29.3013 97.3488 29.2634V17.4672C97.353 17.3939 97.3817 17.3242 97.4304 17.2692C97.455 17.2415 97.4856 17.2198 97.5199 17.2057C97.5542 17.1915 97.5913 17.1854 97.6283 17.1877H100.423C100.462 17.186 100.5 17.1924 100.536 17.2065C100.573 17.2205 100.605 17.2419 100.633 17.2692C100.658 17.2954 100.677 17.3266 100.689 17.3607C100.701 17.3948 100.706 17.4311 100.703 17.4672V18.3173C100.695 18.3317 100.692 18.3477 100.692 18.3638C100.692 18.38 100.695 18.3959 100.703 18.4104C100.703 18.4104 100.703 18.4104 100.784 18.4104C101.106 17.9448 101.544 17.571 102.055 17.326C102.565 17.081 103.13 16.9731 103.695 17.013C104.745 16.9391 105.786 17.2541 106.618 17.898Z" fill="black"/>\n<path d="M119.882 12.7162C119.906 12.6876 119.937 12.6645 119.971 12.6485C120.005 12.6324 120.042 12.6238 120.08 12.623H122.898C122.937 12.6236 122.976 12.6321 123.012 12.6481C123.048 12.6641 123.08 12.6873 123.107 12.7162C123.135 12.7401 123.156 12.7711 123.169 12.8058C123.181 12.8406 123.184 12.8779 123.177 12.9142V29.2169C123.175 29.2941 123.146 29.368 123.096 29.4265C123.07 29.4525 123.039 29.473 123.005 29.487C122.971 29.501 122.934 29.5081 122.898 29.5081H120.08C120.002 29.5056 119.928 29.4769 119.87 29.4265C119.842 29.4001 119.821 29.3671 119.809 29.3305C119.796 29.294 119.793 29.2549 119.8 29.2169V22.591C119.8 22.5095 119.8 22.4746 119.684 22.4746H114.374C114.292 22.4746 114.257 22.4746 114.269 22.591V29.2635C114.262 29.3419 114.229 29.4157 114.176 29.4731C114.15 29.499 114.119 29.5196 114.085 29.5336C114.051 29.5476 114.014 29.5547 113.978 29.5546H111.171C111.094 29.5542 111.019 29.5252 110.962 29.4731C110.934 29.4457 110.913 29.413 110.899 29.3769C110.885 29.3408 110.878 29.3022 110.88 29.2635V12.9607C110.886 12.8857 110.92 12.8155 110.973 12.7628C110.997 12.733 111.027 12.709 111.061 12.6928C111.096 12.6767 111.133 12.6687 111.171 12.6696H113.931C113.971 12.6687 114.01 12.6765 114.046 12.6926C114.083 12.7087 114.115 12.7327 114.141 12.7628C114.168 12.788 114.189 12.8187 114.203 12.8528C114.217 12.887 114.224 12.9238 114.222 12.9607V19.4702C114.222 19.5517 114.222 19.5867 114.339 19.5867H119.754C119.835 19.5867 119.87 19.5867 119.858 19.4702V12.9142C119.844 12.8474 119.852 12.7777 119.882 12.7162Z" fill="black"/>\n<path d="M133.727 17.2111C133.755 17.1837 133.787 17.1623 133.823 17.1483C133.86 17.1343 133.898 17.1279 133.937 17.1295H136.743C136.782 17.1279 136.82 17.1343 136.857 17.1483C136.893 17.1623 136.925 17.1837 136.953 17.2111C136.979 17.2367 137 17.2675 137.014 17.3015C137.028 17.3356 137.035 17.3722 137.034 17.409V29.2635C137.032 29.3406 137.003 29.4146 136.953 29.4731C136.899 29.5234 136.829 29.5524 136.755 29.5546H133.937C133.86 29.5522 133.786 29.5234 133.727 29.4731C133.7 29.4457 133.678 29.4129 133.664 29.3768C133.65 29.3407 133.644 29.3021 133.646 29.2635V28.2271C133.646 28.1572 133.646 28.1223 133.646 28.1106C133.625 28.11 133.604 28.1165 133.587 28.1292C133.57 28.1419 133.558 28.16 133.553 28.1805C133.237 28.6881 132.79 29.101 132.259 29.3756C131.728 29.6503 131.133 29.7765 130.536 29.7409C129.512 29.7518 128.516 29.406 127.718 28.7627C126.883 28.0891 126.29 27.1609 126.03 26.1194C125.935 25.7801 125.869 25.4334 125.832 25.083C125.762 24.4956 125.727 23.9045 125.727 23.313C125.706 22.2658 125.844 21.2215 126.135 20.2154C126.446 19.2847 127.035 18.4718 127.823 17.8865C128.647 17.2649 129.656 16.9406 130.688 16.9665C131.247 16.923 131.807 17.0296 132.31 17.2753C132.814 17.521 133.243 17.8968 133.553 18.3639C133.553 18.3639 133.622 18.4454 133.646 18.4454C133.669 18.4454 133.646 18.4454 133.646 18.3406V17.4672C133.644 17.3752 133.673 17.2852 133.727 17.2111ZM133.587 24.5939C133.641 24.1848 133.665 23.7721 133.657 23.3595C133.685 22.9719 133.685 22.5827 133.657 22.195C133.605 21.8549 133.511 21.5225 133.378 21.2052C133.26 20.8041 133.02 20.4499 132.691 20.1921C132.354 19.9444 131.945 19.8136 131.526 19.8195C131.087 19.8076 130.657 19.9428 130.304 20.2038C129.967 20.4662 129.715 20.8229 129.582 21.2285C129.312 21.8819 129.178 22.583 129.186 23.2897C129.155 23.6772 129.155 24.0666 129.186 24.4541C129.222 24.7548 129.3 25.0488 129.419 25.3275C129.534 25.7587 129.794 26.1377 130.153 26.4022C130.513 26.6667 130.952 26.8011 131.398 26.7831C131.818 26.7892 132.229 26.6538 132.563 26.3988C132.891 26.1286 133.134 25.7685 133.261 25.3624C133.38 25.1163 133.474 24.8588 133.541 24.5939H133.587Z" fill="black"/>\n<path d="M148.994 17.898C149.777 18.5849 150.261 19.5497 150.344 20.5879C150.358 20.8362 150.358 21.0849 150.344 21.3332V29.2633C150.338 29.3417 150.305 29.4155 150.251 29.4729C150.225 29.4988 150.194 29.5194 150.16 29.5334C150.126 29.5474 150.09 29.5545 150.053 29.5544H147.27C147.23 29.5577 147.19 29.5525 147.152 29.5393C147.114 29.5261 147.079 29.5052 147.049 29.4779C147.02 29.4505 146.996 29.4173 146.98 29.3804C146.964 29.3434 146.956 29.3036 146.956 29.2633V22.0319C146.965 21.9039 146.965 21.7755 146.956 21.6476C146.908 21.1527 146.68 20.6927 146.315 20.355C146.144 20.1894 145.942 20.0598 145.72 19.9738C145.498 19.8878 145.261 19.8471 145.023 19.8543C144.755 19.8431 144.488 19.8904 144.241 19.993C143.994 20.0956 143.772 20.2509 143.59 20.4482C143.211 20.8851 143.018 21.4541 143.055 22.0319V29.2633C143.047 29.3393 143.019 29.4118 142.973 29.4729C142.915 29.5232 142.841 29.552 142.764 29.5544H140.016C139.938 29.552 139.864 29.5232 139.806 29.4729C139.779 29.4455 139.757 29.4128 139.743 29.3767C139.729 29.3406 139.723 29.302 139.724 29.2633V17.4671C139.734 17.3952 139.762 17.327 139.806 17.2691C139.833 17.2412 139.866 17.2194 139.902 17.2053C139.938 17.1912 139.977 17.1852 140.016 17.1876H142.799C142.837 17.1859 142.876 17.1923 142.912 17.2064C142.948 17.2204 142.981 17.2418 143.008 17.2691C143.045 17.3281 143.058 17.3991 143.043 17.4671V18.3172C143.043 18.3172 143.043 18.3987 143.043 18.4103C143.043 18.422 143.043 18.4103 143.136 18.4103C143.457 17.943 143.894 17.5679 144.405 17.3227C144.916 17.0775 145.482 16.9707 146.048 17.0129C147.105 16.932 148.156 17.2475 148.994 17.898Z" fill="black"/>\n<path d="M160.662 17.2111C160.686 17.1834 160.717 17.1616 160.751 17.1475C160.785 17.1334 160.822 17.1272 160.86 17.1296H163.666C163.705 17.1279 163.743 17.1343 163.779 17.1483C163.815 17.1623 163.848 17.1837 163.876 17.2111C163.919 17.2373 163.954 17.2753 163.977 17.3206C163.999 17.366 164.009 17.4168 164.004 17.4673V28.4949C164.077 29.3406 163.95 30.1916 163.632 30.9788C163.314 31.7659 162.815 32.4669 162.175 33.0248C160.813 33.9745 159.176 34.4492 157.517 34.3756C156.958 34.3756 156.353 34.3756 155.619 34.2591C155.583 34.2549 155.548 34.2433 155.516 34.225C155.484 34.2066 155.456 34.1819 155.435 34.1524C155.413 34.123 155.397 34.0893 155.389 34.0536C155.381 34.0178 155.38 33.9808 155.386 33.9447L155.491 31.4527C155.491 31.2431 155.584 31.1499 155.806 31.1849C156.333 31.2727 156.866 31.3194 157.401 31.3246C158.232 31.3728 159.054 31.1344 159.73 30.6492C160.022 30.3724 160.247 30.0319 160.386 29.6543C160.525 29.2766 160.576 28.8719 160.533 28.4716C160.533 28.4716 160.533 28.4018 160.533 28.3901C160.52 28.3806 160.504 28.3755 160.487 28.3755C160.47 28.3755 160.454 28.3806 160.44 28.3901C160.09 28.7329 159.672 28.9982 159.212 29.1687C158.753 29.3392 158.263 29.4112 157.774 29.3799C156.768 29.3865 155.78 29.1252 154.909 28.623C154.001 28.067 153.336 27.1898 153.046 26.166C152.923 25.7632 152.837 25.35 152.79 24.9316C152.743 24.5124 152.708 23.9651 152.685 23.2897C152.669 22.2488 152.814 21.2117 153.116 20.2154C153.435 19.2856 154.027 18.4738 154.816 17.8865C155.619 17.289 156.598 16.9737 157.599 16.9898C158.128 16.9565 158.658 17.044 159.148 17.2458C159.638 17.4475 160.076 17.7582 160.429 18.1543H160.533C160.533 18.1543 160.533 18.1543 160.533 18.0611V17.4673C160.535 17.4179 160.548 17.3696 160.57 17.3254C160.592 17.2813 160.623 17.2423 160.662 17.2111ZM160.58 23.2897C160.611 22.9021 160.611 22.5127 160.58 22.1252C160.551 21.8719 160.497 21.6222 160.417 21.3799C160.295 20.9621 160.047 20.5921 159.707 20.3202C159.343 20.0533 158.9 19.9142 158.449 19.9243C158.009 19.9157 157.578 20.0552 157.226 20.3202C156.883 20.5959 156.624 20.9633 156.481 21.3799C156.229 22.0002 156.114 22.6675 156.143 23.3363C156.117 23.689 156.117 24.0432 156.143 24.3959C156.17 24.6982 156.249 24.9936 156.376 25.2693C156.499 25.6931 156.761 26.0626 157.122 26.3173C157.493 26.5894 157.942 26.7325 158.402 26.7249C158.864 26.7407 159.316 26.5967 159.683 26.3173C160.02 26.0594 160.265 25.7002 160.382 25.2926C160.527 24.6351 160.593 23.9628 160.58 23.2897Z" fill="black"/>\n<path d="M172.024 15C172.024 11.6863 174.71 9 178.024 9H202.024C205.338 9 208.024 11.6863 208.024 15V25C208.024 28.3137 205.338 31 202.024 31H178.024C174.71 31 172.024 28.3137 172.024 25V15Z" fill="#FEFEFE"/>\n<path d="M178.522 15.5449V24H179.834V21.1523H181.792C183.45 21.1523 184.622 20.0156 184.622 18.3633C184.622 16.6875 183.485 15.5449 181.833 15.5449H178.522ZM179.834 16.7051H181.487C182.641 16.7051 183.28 17.291 183.28 18.3633C183.28 19.4121 182.618 19.998 181.487 19.998H179.834V16.7051ZM187.627 16.6992H189.479C190.493 16.6992 191.114 17.2559 191.114 18.1758C191.114 19.1191 190.528 19.6582 189.514 19.6582H187.627V16.6992ZM187.627 20.7773H189.479L191.202 24H192.719L190.821 20.5605C191.852 20.209 192.461 19.2832 192.461 18.1465C192.461 16.5586 191.366 15.5449 189.661 15.5449H186.315V24H187.627V20.7773ZM197.934 15.3398C195.508 15.3398 193.985 17.0391 193.985 19.7695C193.985 22.4941 195.479 24.2051 197.934 24.2051C200.383 24.2051 201.872 22.4883 201.872 19.7695C201.872 17.0449 200.372 15.3398 197.934 15.3398ZM197.934 16.5645C199.54 16.5645 200.53 17.8066 200.53 19.7695C200.53 21.7207 199.54 22.9805 197.934 22.9805C196.311 22.9805 195.327 21.7207 195.327 19.7695C195.327 17.8066 196.34 16.5645 197.934 16.5645Z" fill="black"/>\n<path d="M178.024 10H202.024V8H178.024V10ZM207.024 15V25H209.024V15H207.024ZM202.024 30H178.024V32H202.024V30ZM173.024 25V15H171.024V25H173.024ZM178.024 30C175.263 30 173.024 27.7614 173.024 25H171.024C171.024 28.866 174.158 32 178.024 32V30ZM207.024 25C207.024 27.7614 204.785 30 202.024 30V32C205.89 32 209.024 28.866 209.024 25H207.024ZM202.024 10C204.785 10 207.024 12.2386 207.024 15H209.024C209.024 11.134 205.89 8 202.024 8V10ZM178.024 8C174.158 8 171.024 11.134 171.024 15H173.024C173.024 12.2386 175.263 10 178.024 10V8Z" fill="black"/>\n</svg>'},{size:n=>({width:800,height:220+110*(n.order.order_item.length+n.paymentInfo.length)})})},r={id:"d1751bfc-d8e0-42c9-babb-6f74e91337e0",creator_id:"38188fc8-1d15-4494-87a9-e9bd31263254",updater_id:"38188fc8-1d15-4494-87a9-e9bd31263254",created_at:"2022-07-30T16:40:45.884282+07:00",updated_at:"2024-03-11T09:35:37.938284+07:00",business_id:"6677f055-ab96-4dee-acd7-888c1cb40453",font_size:"16",title:"Hóa đơn bán hàng",show_title:!0,phone_number:"+84336022356",show_phone_number:!0,note:"Thanh toán tiền mặt hoặc chuyển khoản",show_note:!0,avatar:"small",show_avatar:!0,footer:"Cảm ơn quý khách và hẹn gặp lại.",show_footer:!0,qr_code:!0,barcode:!0,other_discount:!0,vat:8,show_vat:!0,amount_paid:!0,debt_amount:!0,bank_account:!0,logo_sbh:!0,name_buyer:!0,phone_buyer:!0,address_buyer:!0,note_buyer:!0,points_buyer:!0,name_seller:!0,name_table:!0,time_service:!0,show_viet_qr_code:!0,show_biz_address:!0,free_print_limit:5,template_type:"framed",show_unit:!0,paper_size:"80mm",show_sign:!0,provisional_invoice_qr:{active:!0,payment_type:"VCB"},store_description:"sdfsadf sdf sd",show_store_description:!0,code_buyer:!0},a=(n,e)=>d[n]({...e,configs:e.configs||r});export{a as default};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("nunjucks"),n=require("qrcode"),i=require("bwip-js"),t=require("js-base64"),o=require("numeral");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=s(e),r=s(n),a=s(i),l=s(o);function f(e){return e.toLocaleString("vi-VN")}l.default.register("locale","fr",{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){return 1===e?"er":"ème"},currency:{symbol:"€"}}),l.default.locale("fr");const g={Bill:function(e,n={},{size:i}){const o={Grid:' {% if design %}\n <pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse">\n <path d="M 100 0 L 0 0 0 100" fill="none" stroke="gray" stroke-width="1"></path>\n </pattern>\n <rect width="800" height="2000" fill="url(#grid)"></rect>\n <line x1="800" x2="800" y1="0" y2="2000" stroke="gray" stroke-width="0.5"></line>\n <line x1="0" x2="800" y1="2000" y2="2000" stroke="gray" stroke-width="0.5"></line>\n {% endif %}',...n},s=new d.default.Environment({getSource:e=>({src:o[e],path:"",noCache:!1})});s.addFilter("qr",(async(e,n)=>{r.default.toString(`https://${e}`,{margin:0,type:"svg"},(function(e,i){if(e)return n(e);n(null,`data:image/svg+xml;base64,${t.Base64.encode(i)}`)}))}),!0),s.addFilter("bankQr",(async(e,n)=>{r.default.toString(e,{margin:0,type:"svg"},(function(e,i){if(e)return n(e);n(null,`data:image/svg+xml;base64,${t.Base64.encode(i)}`)}))}),!0),s.addFilter("number",(e=>f(e))),s.addFilter("textsize",(e=>`${e}px`)),s.addFilter("alignHeaderInfo",(e=>e?"left":"center")),s.addFilter("orderItemTextSize",((e,n)=>String(e).length>=9?+n>=16?+n-4+"px":+n>=14?+n-3+"px":+n-2+"px":String(e).length>=7?+n>=16?+n-3+"px":+n>=14?+n-2+"px":+n-1+"px":+n>=16?+n-2+"px":+n>=14?+n-1+"px":+n+"px")),s.addFilter("addOnSellPrice",(e=>{const{order_item_add_on:n,price:i}=e;return f(n.reduce(((e,n)=>e+n.quantity*n.price),0)+i)})),s.addFilter("addOnNormalPrice",(e=>{const{order_item_add_on:n,product_normal_price:i}=e;return f(n.reduce(((e,n)=>e+n.quantity*n.price),0)+i)})),s.addFilter("barcode",(async(e,n)=>{try{const i={bcid:"code128",text:e.toString(),height:5,scale:3,includetext:!1,textxalign:"center"};let t=document.createElement("canvas");a.default.toCanvas(t,i),n(null,t.toDataURL("image/png"))}catch(e){return n(e)}}),!0),s.addFilter("datetime",(e=>{const n=new Date(e),i=n.getDate(),t=n.getMonth()+1,o=n.getFullYear(),s=n.getHours(),d=n.getMinutes();return`${s<10?"0"+s:s}:${d<10?"0"+d:d} ${i<10?"0"+i:i}/${t<10?"0"+t:t}/${o.toString()}`})),s.addFilter("time",(e=>{const n=new Date(e),i=n.getHours(),t=n.getMinutes();return`${i<10?"0"+i:i}:${t<10?"0"+t:t}`})),s.addFilter("datestring",(e=>{const n=e?new Date(e):new Date;return`${String(n.getDate()).padStart(2,"0")}/${String(n.getMonth()+1).padStart(2,"0")} ${String(n.getHours()).padStart(2,"0")}:${String(n.getMinutes()).padStart(2,"0")}`})),s.addFilter("phone",(e=>e?e.replace(/^\+84/,"0"):e)),s.addFilter("buyer_address",(e=>{if(!function(e){return!!e&&Object.values(e).some((e=>"string"==typeof e&&e.length>0))}(e))return"";let n=[e.province_name,e.district_name,e.ward_name].reduce(((e,n)=>n?`, ${n}`+e:e+n),"");return e.address||(n=n.slice(1)),`${e.address}${n}`})),s.addFilter("get_total_amount",(e=>{const{item_rate:n,total_amount:i}=e;return f(n?n.total_amount:i)})),s.addFilter("get_quantity",(e=>{const{item_rate:n,quantity:i}=e;return f(n?n.hours_used*n.quantity:i)})),s.addFilter("get_selling_price",(e=>{const{item_rate:n,price:i}=e;return f(n?n.price:i)})),s.addFilter("get_normal_price",(e=>{const{item_rate:n,product_normal_price:i}=e;return f(n?n.rate:i)})),s.addFilter("has_uom",(e=>e.some((e=>e.uom)))),s.addFilter("get_total_items",(e=>{const n=e.order_item.reduce(((e,n)=>n?.item_rate?e:e+n.quantity),0),i=e.order_item.reduce(((e,n)=>n?.item_rate?e+n.quantity:e),0),t=f(n),o=f(i);return 0===n?`(${o}DV)`:0===i?`(${t}SP)`:`(${t}SP + ${o}DV)`}));const l=d.default.compile(e,s);return e=>{const n=i(e);return l.render({$size:n,...e})}}('<div style="max-width: 100%; background-color: white;">\n <div style="margin: 0 auto; margin-left: 0mm color: black; background-color: white;">\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillHeader" -%}\n </div>\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillDetail" -%}\n </div>\n {% if configs.template_type === \'standard\' %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillOrderItemsDefault" -%}\n </div>\n {% endif %}\n {% if configs.template_type === \'border\' %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillOrderItemsBorder" -%}\n </div>\n {% endif %}\n {% if configs.template_type === \'framed\' %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillOrderItemsFramed" -%}\n </div>\n {% endif %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillPaymentInfo" -%}\n </div>\n {% if configs.provisional_invoice_qr.active === true and qrImage %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillQrPayment" -%}\n </div>\n {% endif %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillPaymentMethod" -%}\n </div>\n {% if order.invoice_link %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillEInvoice" -%}\n </div>\n {% endif %}\n <div style="color: black; width: 100%; box-sizing: border-box; background-color: white;">\n {%- include "BillFooter" -%}\n </div>\n </div>\n</div>',{BillHeader:'<div style="display: flex; flex-direction: column; align-items: center;">\n {% if configs.show_avatar %}\n <div>\n <img src="{{ business.avatar }}" alt="shop_avatar" style="max-width: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n min-width: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n max-height: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n min-height: {% if configs.avatar == " small" %} 75px {% else %} 90px {% endif %};\n border-radius: 9999px; object-fit: cover; border: 1px solid #EDEFF2;\n "></div>\n {% endif %}\n <div style="display: flex; align-items:center; justify-content: center; margin-top: 14px; width: 100%; column-gap: 12px;">\n {% if configs.qr_code %}\n <div style="background-image: url({{ business.domain|qr }}); border-radius: 2px; background-position: top; background-repeat:\n no-repeat; background-size: contain; min-width: 66px; min-height: 66px;">\n {% endif %}\n </div>\n <div style="display: flex; flex-direction: column; row-gap: 4px; align-self: stretch; text-align: {{\n configs.qr_code|alignHeaderInfo }};">\n <p style="font-weight: 600; padding: 0; margin: 0; color: black; word-break: break-word; font-size: {{\n (+configs.font_size)|textsize }};">\n {{ business.name }}\n </p>\n {% if configs.show_store_description %}\n <p style="font-weight: 400; padding: 0; margin: 0; color: black; font-style: italic; word-break: break-word; font-size: {{\n (+configs.font_size)|textsize }};">\n {% if configs.store_description %}\n {{ configs.store_description }}\n {% else %}\n {{ business.description }}\n {% endif %}\n </p>\n {% endif %}\n {% if configs.qr_code %}\n <p style="display: flex; align-item: center; padding: 0; margin: 0; font-size: {{ (+configs.font_size)|textsize }};\n font-weight: 400; line-height: 20px;">\n <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M3.86304 3.85892C2.23527 5.4867 1.3208 7.69443 1.3208 9.99644C1.3208 12.2985 2.23527 14.5062 3.86304 16.134C5.49082\n 17.7617 7.69855 18.6762 10.0006 18.6762C12.3026 18.6762 14.5103 17.7617 16.1381 16.134C17.7659 14.5062 18.6803 12.2985\n 18.6803 9.99644C18.6803 7.69443 17.7659 5.4867 16.1381 3.85892C14.5103 2.23115 12.3026 1.31668 10.0006 1.31668C7.69855\n 1.31668 5.49082 2.23115 3.86304 3.85892ZM7.16687 5.42181C7.2808 5.13564 7.40571 4.86656 7.53864 4.61744C8.08303 3.59671\n 8.72234 2.9783 9.35651 2.73113V5.69538C8.58331 5.66078 7.84848 5.56615 7.16687 5.42181ZM9.46475 2.57897C9.42865 2.58997\n 9.39257 2.60207 9.35651 2.6153C8.67558 2.86509 8.00472 3.51333 7.44306 4.56644C7.30556 4.82414 7.17669 5.10255 7.05954\n 5.39857C7.04616 5.43239 7.03292 5.46645 7.01985 5.50073C7.05539 5.50864 7.09108 5.51642 7.12691 5.52407C7.82088 5.67209\n 8.56922 5.76885 9.35651 5.80382C9.39251 5.80542 9.42859 5.80688 9.46475 5.80821C8.59689 5.77607 7.77521 5.66894 7.01985\n 5.50073C7.14735 5.16644 7.28985 4.85359 7.44306 4.56644C8.03449 3.45751 8.74689 2.79754 9.46475 2.57897ZM6.40127\n 4.01107C6.22434 4.34494 6.06133 4.70258 5.91644 5.08229C5.54648 4.95806 5.20097 4.81749 4.88269 4.66351C5.45146 4.11689\n 6.10356 3.66507 6.81405 3.32473C6.66404 3.54568 6.52622 3.77481 6.40127 4.01107ZM7.00871 3.23492C6.81966 3.49859 6.64865\n 3.77485 6.49689 4.0618C6.30842 4.41745 6.13583 4.8006 5.98436 5.20916L5.91644 5.08229L6.81405 3.32473C6.87846 3.29387\n 6.94336 3.26393 7.00871 3.23492ZM7.1365 3.06221C7.06988 3.08982 7.00372 3.11837 6.93802 3.14784C6.13881 3.50634 5.40821\n 4.00201 4.77945 4.61262C4.75213 4.63915 4.725 4.6659 4.69806 4.69287C4.73184 4.71004 4.76593 4.72705 4.80033\n 4.7439C5.13166 4.90622 5.49205 5.0539 5.87834 5.18377C5.91148 5.19491 5.94481 5.20592 5.97833 5.2168L5.98154\n 5.21784C5.51546 5.06677 5.08592 4.89001 4.69806 4.69287C5.39583 3.9943 6.22435 3.44021 7.1365 3.06221C7.13648 3.06223\n 7.13651 3.0622 7.1365 3.06221ZM10.5363 6.87966C10.5363 6.87966 10.5362 6.87966 10.5363 6.87966V6.87966ZM13.3123\n 6.52396C13.3123 6.52397 13.3123 6.52396 13.3123 6.52396V6.52396ZM10.6446 9.3524V6.98402C11.5502 6.9472 12.4212 6.83404\n 13.2338 6.65288C13.4585 7.53659 13.5905 8.44132 13.6275 9.3524H10.6446ZM7.06018 14.5952C7.04674 14.5615 7.0334 14.5274\n 7.02023 14.4931L7.02386 14.4923C7.02262 14.4926 7.02147 14.4929 7.02023 14.4931C7.1487 14.8271 7.2899 15.1396 7.44297\n 15.4264C8.03439 16.5354 8.74797 17.1943 9.46475 17.4139C9.42866 17.4029 9.39258 17.3907 9.35651 17.3774C8.67645 17.1267\n 8.00459 16.4795 7.44297 15.4264C7.30561 15.169 7.17782 14.8909 7.06018 14.5952ZM7.53864 15.3754C7.40596 15.1268 7.28199\n 14.858 7.16754 14.572C7.84897 14.4277 8.58357 14.3332 9.35651 14.2986V17.2615C8.72299 17.0135 8.08286 16.3959 7.53864\n 15.3754ZM5.9166 14.9103C6.05607 15.277 6.2179 15.6348 6.40121 15.9817C6.52647 16.2182 6.66466 16.4475 6.81504\n 16.6686C6.10434 16.3283 5.45203 15.8765 4.88309 15.3298C5.21844 15.1684 5.56362 15.0283 5.9166 14.9103ZM5.98154\n 14.775C5.98155 14.7751 5.98154 14.775 5.98154 14.775C5.54079 14.9167 5.11165 15.0922 4.69796 15.3C5.39573 15.9986 6.22439\n 16.5527 7.13654 16.9307C7.07032 16.9033 7.00463 16.8749 6.93931 16.8456C6.13965 16.4871 5.40864 15.9913 4.77957\n 15.3804C4.75221 15.3538 4.72494 15.327 4.69796 15.3C4.73206 15.2829 4.76635 15.266 4.80065 15.2493C5.18252 15.0635\n 5.57715 14.905 5.98154 14.775ZM10.5363 14.1857V17.4139C10.5362 17.4139 10.5363 17.4139 10.5363 17.4139V14.1857C10.5363\n 14.1857 10.5362 14.1857 10.5363 14.1857ZM10.6446 17.2618V14.2982C11.3807 14.329 12.113 14.4204 12.8341 14.5714C12.7202\n 14.8574 12.5954 15.1264 12.4625 15.3755C11.9181 16.3962 11.2788 17.0146 10.6446 17.2618ZM14.0852 5.08153C13.9396 4.70217\n 13.7767 4.34478 13.5999 4.01107C13.4723 3.77227 13.3345 3.54265 13.1877 3.326C13.8973 3.66574 14.5486 4.11667 15.117\n 4.66217C14.7822 4.82345 14.4376 4.96352 14.0852 5.08153ZM13.5041 4.0618C13.3481 3.76981 13.1772 3.4927 12.9931\n 3.23625C12.9509 3.17749 12.9081 3.11982 12.8645 3.06329C12.8646 3.06331 12.8645 3.06327 12.8645 3.06329C13.0981 3.36651\n 13.3123 3.70287 13.5041 4.0618C13.6938 4.41966 13.8673 4.80538 14.0205 5.2168C14.0204 5.21681 14.0205 5.21679 14.0205\n 5.2168C13.8673 4.80538 13.6938 4.41966 13.5041 4.0618ZM10.5363 2.57898C10.5363 2.57899 10.5362 2.57897 10.5363\n 2.57898L10.5362 5.80716C10.5361 5.80716 10.5362 5.80716 10.5362 5.80716L10.5363 2.57898ZM12.4623 4.61718C12.6006 4.87821\n 12.7246 5.14648 12.8339 5.42081C12.1524 5.56511 11.4177 5.65971 10.6446 5.6943V2.73132C11.2788 2.97925 11.9181 3.59675\n 12.4623 4.61718ZM3.9791 5.52327C3.14742 6.63993 2.64522 7.96642 2.5282 9.3524C2.52516 9.38847 2.52237 9.42458 2.51985\n 9.46073C2.6193 8.03559 3.12576 6.669 3.9791 5.52327C3.97913 5.52328 3.97908 5.52326 3.9791 5.52327ZM5.52497\n 6.30917C5.28047 7.24757 5.12782 8.27466 5.08438 9.3524H2.63693C2.75102 8.02077 3.22595 6.7452 4.01081 5.66306C4.49669\n 5.92016 5.00316 6.13628 5.52497 6.30917ZM6.26417 9.3524C6.2627 9.3885 6.26138 9.42461 6.26021 9.46073C6.29242 8.46882\n 6.43609 7.4837 6.68868 6.52395C6.68871 6.52395 6.68865 6.52394 6.68868 6.52395C6.44529 7.44874 6.30304 8.39712 6.26417\n 9.3524ZM9.35651 9.3524H6.37259C6.40997 8.44129 6.54225 7.53656 6.7673 6.65288C7.57982 6.8341 8.45085 6.94815 9.35651\n 6.98412V9.3524ZM6.26128 10.5322C6.26256 10.5683 6.26398 10.6045 6.26552 10.6405C6.30922 11.6575 6.45803 12.6132 6.68878\n 13.4689C6.68875 13.4689 6.68882 13.4689 6.68878 13.4689C6.44985 12.5829 6.29878 11.5897 6.26128 10.5322ZM6.76685\n 13.3405C6.55372 12.52 6.41587 11.6087 6.37396 10.6405H9.35651V13.0096C8.48519 13.0429 7.61854 13.1536 6.76685\n 13.3405ZM13.3123 13.4689C13.3123 13.4689 13.3123 13.4689 13.3123 13.4689V13.4689ZM13.6281 10.6405C13.5853 11.6085 13.4474\n 12.5197 13.2344 13.3401C12.4217 13.1588 11.5505 13.0447 10.6446 13.0088V10.6405H13.6281ZM2.63692 10.6405H5.08299C5.12159\n 11.6678 5.26992 12.6881 5.52547 13.6839C4.9794 13.8666 4.4718 14.083 4.01053 14.3295C3.22579 13.2474 2.75095 11.972\n 2.63692 10.6405ZM2.51985 10.5322C2.52237 10.5683 2.52515 10.6044 2.5282 10.6405C2.64516 12.0265 3.14737 13.353 3.97911\n 14.4696C3.97908 14.4696 3.97913 14.4696 3.97911 14.4696C3.12571 13.3239 2.61924 11.9573 2.51985 10.5322ZM14.0195\n 14.7761C13.8736 15.1721 13.7014 15.558 13.5041 15.9311C13.3524 16.2181 13.1814 16.4943 12.9923 16.758C12.9506 16.8162\n 12.908 16.8737 12.8645 16.9307C12.8645 16.9307 12.8646 16.9307 12.8645 16.9307C13.105 16.6157 13.3189 16.2814 13.5041\n 15.9311C13.7014 15.558 13.8736 15.1721 14.0195 14.7761C14.0195 14.7761 14.0195 14.7761 14.0195 14.7761ZM14.0845\n 14.9114C14.4371 15.0294 14.782 15.1695 15.117 15.3308C14.5486 15.8768 13.897 16.3281 13.1871 16.6681C13.3372 16.4472\n 13.475 16.218 13.5999 15.9817C13.7832 15.6352 13.945 15.2777 14.0845 14.9114ZM14.4757 13.6839C15.0217 13.8666 15.5293\n 14.083 15.9906 14.3295C16.7753 13.2474 17.2502 11.972 17.3642 10.6405H14.9181C14.8795 11.6678 14.7312 12.6881 14.4757\n 13.6839ZM16.0219 14.4697C16.0219 14.4697 16.0219 14.4696 16.0219 14.4697V14.4697ZM14.4761 6.3088C15.022 6.12615 15.5295\n 5.90982 15.9906 5.66343C16.7753 6.74547 17.2502 8.02091 17.3642 9.3524H14.9177C14.8733 8.27455 14.7206 7.24645 14.4761\n 6.3088ZM16.0219 5.52323C16.0219 5.52324 16.0219 5.52322 16.0219 5.52323V5.52323Z"\n fill="black"/>\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M16.1381 3.85892C17.7659 5.4867 18.6803 7.69443 18.6803 9.99644C18.6803 12.2985 17.7659 14.5062 16.1381 16.134C14.5103\n 17.7617 12.3026 18.6762 10.0006 18.6762C7.69855 18.6762 5.49082 17.7617 3.86304 16.134C2.23527 14.5062 1.3208 12.2985\n 1.3208 9.99644C1.3208 7.69443 2.23527 5.4867 3.86304 3.85892C5.49082 2.23115 7.69855 1.31668 10.0006 1.31668C12.3026\n 1.31668 14.5103 2.23115 16.1381 3.85892ZM12.8343 5.42181C12.7204 5.13564 12.5953 4.86631 12.4623 4.61718C11.9181 3.59675\n 11.2788 2.97925 10.6446 2.73132L10.6447 5.69538C11.4179 5.66078 12.1527 5.56615 12.8343 5.42181ZM10.5363 2.57898C10.5724\n 2.58997 10.6087 2.60207 10.6447 2.6153C11.3256 2.86509 11.9965 3.51333 12.5582 4.56644C12.6957 4.82414 12.8245 5.10255\n 12.9417 5.39857C12.9551 5.43239 12.9683 5.46645 12.9814 5.50073C12.9458 5.50864 12.9101 5.51642 12.8743 5.52407C12.1803\n 5.67209 11.432 5.76885 10.6447 5.80382C10.6087 5.80542 10.5726 5.80688 10.5365 5.80821C11.4043 5.77607 12.226 5.66894\n 12.9814 5.50073C12.8539 5.16644 12.7114 4.85359 12.5582 4.56644C11.9667 3.45751 11.2541 2.79755 10.5363 2.57898ZM13.5999\n 4.01107C13.7768 4.34494 13.9399 4.70258 14.0848 5.08229C14.4547 4.95806 14.8003 4.81749 15.1185 4.66351C14.5498 4.11689\n 13.8977 3.66507 13.1872 3.32473C13.3372 3.54568 13.4749 3.77481 13.5999 4.01107ZM12.9925 3.23492C13.1816 3.49859 13.3524\n 3.77485 13.5041 4.0618C13.6926 4.41744 13.8654 4.8006 14.0169 5.20916L14.0848 5.08229L13.1872 3.32473C13.1228 3.29387\n 13.0579 3.26393 12.9925 3.23492ZM12.8647 3.06221C12.9313 3.08982 12.9975 3.11837 13.0632 3.14784C13.8624 3.50634 14.593\n 4.00201 15.2218 4.61262C15.2491 4.63915 15.2762 4.6659 15.3032 4.69287C15.2694 4.71004 15.2353 4.72705 15.2009\n 4.7439C14.8696 4.90622 14.5092 5.0539 14.1229 5.18377C14.0897 5.19491 14.0564 5.20592 14.0229 5.2168L14.0197\n 5.21784C14.4858 5.06677 14.9153 4.89001 15.3032 4.69287C14.6054 3.9943 13.7769 3.44021 12.8647 3.06221C12.8647 3.06223\n 12.8647 3.0622 12.8647 3.06221ZM9.46494 6.87966C9.46491 6.87966 9.46498 6.87966 9.46494 6.87966V6.87966ZM6.68868\n 6.52395C6.68871 6.52395 6.68865 6.52394 6.68868 6.52395V6.52395ZM9.35651 9.3524V6.98412C8.45096 6.9473 7.5799 6.83404\n 6.7673 6.65288C6.54257 7.53659 6.41076 8.44132 6.37372 9.3524H9.35651ZM12.941 14.5952C12.9545 14.5615 12.9678 14.5274\n 12.981 14.4931L12.9774 14.4923C12.9786 14.4926 12.9797 14.4929 12.981 14.4931C12.8525 14.8271 12.7113 15.1396 12.5583\n 15.4264C11.9668 16.5354 11.2531 17.1943 10.5363 17.4139C10.5724 17.4029 10.6086 17.3907 10.6447 17.3774C11.3248 17.1267\n 11.9966 16.4795 12.5583 15.4264C12.6956 15.169 12.8234 14.8909 12.941 14.5952ZM12.4625 15.3755C12.5954 15.1264 12.7202\n 14.8574 12.8341 14.5714C12.1527 14.4271 11.4176 14.3328 10.6446 14.2982V17.2618C11.2781 17.0137 11.9183 16.3959 12.4625\n 15.3755ZM14.0846 14.9103C13.9452 15.277 13.7832 15.6348 13.5999 15.9817C13.4746 16.2182 13.3366 16.4475 13.1862\n 16.6686C13.8969 16.3283 14.5492 15.8765 15.1181 15.3298C14.7828 15.1684 14.4376 15.0283 14.0846 14.9103ZM14.0197\n 14.775C14.0197 14.7751 14.0197 14.775 14.0197 14.775C14.4604 14.9167 14.8896 15.0922 15.3033 15.3C14.6055 15.9986 13.7767\n 16.5527 12.8645 16.9307C12.9307 16.9032 12.9966 16.8749 13.0619 16.8456C13.8616 16.4871 14.5926 15.9913 15.2216\n 15.3804C15.249 15.3538 15.2763 15.327 15.3033 15.3C15.2692 15.2829 15.2349 15.266 15.2006 15.2493C14.8187 15.0635 14.4241\n 14.905 14.0197 14.775ZM9.46475 14.1857V17.4139C9.46478 17.414 9.46472 17.4139 9.46475 17.4139V14.1857C9.46472 14.1857\n 9.46478 14.1857 9.46475 14.1857ZM9.35651 17.2615V14.2986C8.62041 14.3294 7.88864 14.421 7.16754 14.572C7.28199 14.858\n 7.40596 15.1268 7.53864 15.3754C8.08303 16.3962 8.72234 17.0143 9.35651 17.2615ZM5.91599 5.08153C6.06162 4.70217 6.22443\n 4.34478 6.40127 4.01107C6.52887 3.77227 6.66674 3.54265 6.81347 3.326C6.10392 3.66574 5.45257 4.11667 4.88427\n 4.66217C5.21902 4.82345 5.56361 4.96352 5.91599 5.08153ZM6.49689 4.0618C6.65291 3.76981 6.82402 3.4927 7.00809\n 3.23625C7.05027 3.17749 7.09314 3.11982 7.13668 3.06329C7.13663 3.06331 7.13673 3.06327 7.13668 3.06329C6.90311 3.36651\n 6.68868 3.70288 6.49689 4.0618C6.30725 4.41966 6.13397 4.80538 5.98076 5.2168C5.98078 5.21681 5.98073 5.21679 5.98076\n 5.2168C6.13397 4.80538 6.30725 4.41966 6.49689 4.0618ZM9.46475 2.57897C9.46472 2.57898 9.46478 2.57896 9.46475\n 2.57897L9.46504 5.80716C9.46507 5.80716 9.46501 5.80716 9.46504 5.80716L9.46475 2.57897ZM7.53864 4.61744C7.40041 4.87847\n 7.27662 5.14648 7.16732 5.42081C7.84884 5.56511 8.58354 5.65971 9.35661 5.6943L9.35651 2.73113C8.72234 2.9783 8.08303\n 3.59671 7.53864 4.61744ZM16.0219 5.52323C16.8536 6.6399 17.356 7.96642 17.473 9.3524C17.4761 9.38847 17.4787 9.42458\n 17.4812 9.46073C17.3817 8.0356 16.8752 6.66897 16.0219 5.52323C16.0219 5.52324 16.0219 5.52322 16.0219 5.52323ZM14.4761\n 6.3088C14.7206 7.24721 14.8734 8.27466 14.9168 9.3524H17.3642C17.2502 8.02091 16.7753 6.74547 15.9906 5.66343C15.5047\n 5.92053 14.9979 6.13591 14.4761 6.3088ZM13.7371 9.3524C13.7385 9.3885 13.7398 9.42461 13.741 9.46073C13.7088 8.46882\n 13.5648 7.48371 13.3123 6.52396C13.3123 6.52397 13.3123 6.52396 13.3123 6.52396C13.5556 7.44876 13.6982 8.39712 13.7371\n 9.3524ZM10.6446 9.3524H13.6286C13.5912 8.44129 13.4588 7.53656 13.2338 6.65288C12.4213 6.8341 11.5503 6.94805 10.6446\n 6.98402V9.3524ZM13.7399 10.5322C13.7387 10.5683 13.7372 10.6045 13.7357 10.6405C13.692 11.6575 13.543 12.6132 13.3123\n 13.4689C13.3123 13.4689 13.3123 13.4689 13.3123 13.4689C13.5512 12.5828 13.7024 11.5897 13.7399 10.5322ZM13.2344\n 13.3401C13.4475 12.5196 13.5854 11.6087 13.6273 10.6405H10.6446L10.6447 13.0096C11.516 13.0429 12.3827 13.1532 13.2344\n 13.3401ZM6.68878 13.4689C6.68875 13.4689 6.68882 13.4689 6.68878 13.4689V13.4689ZM6.37309 10.6405C6.41592 11.6085 6.55379\n 12.5201 6.76685 13.3405C7.57953 13.1592 8.45074 13.0447 9.35661 13.0088L9.35651 10.6405H6.37309ZM17.3642\n 10.6405H14.9181C14.8795 11.6678 14.7312 12.6881 14.4757 13.6839C15.0217 13.8666 15.5293 14.083 15.9906 14.3295C16.7753\n 13.2474 17.2502 11.972 17.3642 10.6405ZM17.4814 10.5322C17.4788 10.5683 17.4761 10.6044 17.473 10.6405C17.3561 12.0265\n 16.8536 13.353 16.0219 14.4697C16.0219 14.4697 16.0219 14.4696 16.0219 14.4697C16.8753 13.324 17.382 11.9573 17.4814\n 10.5322ZM5.98174 14.7761C6.12764 15.1721 6.2998 15.558 6.49709 15.9311C6.64881 16.2181 6.81982 16.4943 7.0089\n 16.758C7.05062 16.8162 7.09307 16.8738 7.13654 16.9307C7.13658 16.9308 7.13649 16.9307 7.13654 16.9307C6.89605 16.6158\n 6.68229 16.2814 6.49709 15.9311C6.2998 15.558 6.12764 15.1721 5.98174 14.7761C5.98171 14.7761 5.98177 14.7761 5.98174\n 14.7761ZM5.91674 14.9114C5.56411 15.0294 5.21927 15.1695 4.88425 15.3308C5.45264 15.8768 6.10423 16.3281 6.81409\n 16.6681C6.66405 16.4472 6.52613 16.218 6.40121 15.9817C6.21795 15.6351 6.05624 15.2777 5.91674 14.9114ZM5.52547\n 13.6839C4.9794 13.8666 4.4718 14.083 4.01053 14.3295C3.22579 13.2474 2.75095 11.972 2.63692 10.6405H5.08299C5.12159\n 11.6678 5.26992 12.6881 5.52547 13.6839ZM3.97911 14.4696C3.97908 14.4696 3.97913 14.4696 3.97911 14.4696V14.4696ZM5.52497\n 6.30917C4.97906 6.12651 4.47195 5.90945 4.01081 5.66306C3.22595 6.7452 2.75102 8.02077 2.63693 9.3524H5.0835C5.12789\n 8.27455 5.28042 7.24682 5.52497 6.30917ZM3.9791 5.52327C3.97913 5.52328 3.97908 5.52326 3.9791 5.52327V5.52327Z"\n fill="black"/>\n </svg>\n <span style="font-size: {{ (+configs.font_size)|textsize }}; color:#191A1B; margin-left: 4px; word-break: break-word;">{{ business.domain }}</span>\n </p>\n {% endif %}\n <p style="font-size: {{ (+configs.font_size)|textsize }}; color:#191A1B, padding: 0; margin: 0; font-weight: 400;\n line-height: 20px; word-break: break-word;">\n {% if configs.show_phone_number %}\n <span>{{ configs.phone_number|phone }}</span>\n {% endif %}\n {% if configs.show_biz_address %}\n <span>\n - {{ business.address }}\n </span>\n {% endif %}\n </p>\n </div>\n </div>\n <div style="margin: 12px auto; width: 100%; color: black; border-bottom: 1px solid rgba(0,0,0,0.75); box-sizing: border-box"></div>\n </div>',BillDivider:'<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="6" viewBox="0 0 345 6">\n <path d="M0 1H345" fill="black" stroke="black" stroke-linecap="round" stroke-dasharray="2 5"/>\n</svg>',BillDetail:'<section style="margin: 0 auto;">\n <div>\n {% if configs.show_title %}\n <p style="text-align: center; margin: 0; line-height: 20px; color: black; text-transform: uppercase; font-style: normal;\n font-weight: 600; font-size: {{ (+configs.font_size + 2)|textsize }};">\n {{ configs.title }}\n </p>\n {% endif %}\n <p style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 18px; margin: 4px 0 0 0; font-weight: 400;\n text-align: center;">\n {% if order.order_number %}\n {{ order.order_number }} -\n {% endif %}\n {{ order.created_at|datetime }}\n </p>\n {% if configs.barcode and order.order_number %}\n <div style="margin-top: 8px; display:flex; justify-content:center;">\n <img src="{{ order.order_number|barcode }}" style="width: 60%; max-width: 100%; min-height: 60px; max-height: 60px;"/>\n </div>\n {% endif %}\n </div>\n <div style="margin-top: 8px">\n {% if configs.name_buyer %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Khách:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.buyer_info.name }}\n {% if configs.code_buyer and order.buyer_info.contact_code %}\n - {{ order.buyer_info.contact_code }}\n {% elseif configs.code_buyer and order.contact.contact_code %}\n - {{ order.contact.contact_code }}\n {% else %}\n {% endif %}\n </span>\n </div>\n {% endif %}\n {% if configs.phone_buyer and order.buyer_info.phone_number != \'+84999988888\' and order.buyer_info.phone_number != \'0999988888\' %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n SĐT:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.buyer_info.phone_number|phone }}\n </span>\n </div>\n {% endif %}\n {% if configs.address_buyer and (order.buyer_info.address or order.buyer_info.address_info|buyer_address) %}\n <div style="display: flex; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Địa chỉ:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {% if order.buyer_info.address_info|buyer_address %}\n {{ order.buyer_info.address_info|buyer_address }}\n {% elseif order.buyer_info.address %}\n {{ order.buyer_info.address }}\n {% else %}\n {% endif %}\n </span>\n </div>\n {% endif %}\n {% if configs.points_buyer and order.remaining_customer_point > 0 %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Tích luỹ:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.remaining_customer_point | number }} điểm\n </span>\n </div>\n {% endif %}\n {% if configs.note_buyer and order.note %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Ghi chú:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.note }}\n </span>\n </div>\n {% endif %}\n {% if configs.name_table and order.reservation_meta.sector_name and order.reservation_meta.table_name %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Khu vực:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.reservation_meta.sector_name }} - {{ order.reservation_meta.table_name }}\n </span>\n </div>\n {% endif %}\n {% if configs.time_service and order.created_order_at and order.updated_order_at and order.reservation_meta.sector_name and order.reservation_meta.table_name %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n Thời gian:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600;">\n {{ order.created_order_at|time }} - {{ order.updated_order_at|time }}\n </span>\n </div>\n {% endif %}\n {% if configs.name_seller and order.staff_info.staff_name %}\n <div style="display: flex; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 30%; line-height: 21px">\n NVBH:\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; width: 70%; font-weight: 600; word-break: break-word;">\n {{ order.staff_info.staff_name }}\n </span>\n </div>\n {% endif %}\n </div>\n</section>\n{% if configs.template_type === \'border\' or configs.template_type === \'standard\' %}\n <div style="margin: 12px auto; width: 100%; color: black; border-bottom: 1px solid rgba(0,0,0,0.75); box-sizing: border-box"></div>\n{% endif %}',BillOrders:'<section class="bill__orders">\n <div style="width: 100%; max-width: 100%;">\n <div style="display: block; padding-bottom: 2px; box-shadow: inset 0px -1px 0px #9a9da2;">\n <div style="display: flex; width: 100%;">\n <div style="width: 50%; font-weight: 700; font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px;\n text-align: left;">\n ĐƠN GIÁ\n </div>\n <div style="width: 10%; font-weight: 700; font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px;\n text-align: left;">\n SL\n </div>\n <div style="width: 40%; font-weight: 700; font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px;\n text-align: right;">\n THÀNH TIỀN\n </div>\n </div>\n </div>\n <div style="display: block; margin-top: 2px;">\n {% for item in order.order_item %}\n <div style="display: flex">\n <div colspan="3">\n <div style="display: flex">\n <span style="display: block; font-weight: 500; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;">\n {{loop.index}}. \n </span>\n <span style="display: block; margin-left: 4px; font-weight: 400; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;">\n {{item.product_name}}\n {% if item.sku_name%}\n - {{item.sku_name}}\n {% endif %}\n {% if item.uom%}\n - {{item.uom}}\n {% endif %}\n </span>\n </div>\n </div>\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-left: 10px">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px; ">\n <div\n style="font-size: 10px; font-weight: 500; color: black; margin: 0; padding: 0; margin-right: 4px"\n >\n {{addOnItem.quantity + "x"}} \n </div>\n <div \n style="font-size: 10px; font-weight: 500; color: black; margin: 0; padding: 0"\n >\n {% if loop.index !== item.order_item_add_on.length%}\n {{addOnItem.name}};\n {% else %}\n {{addOnItem.name}}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.note %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-left: 10px; margin-top: 2px; \n font-size: {{(+configs.font_size - 4)|textsize}}; font-weight: 500; color: black; padding: 0">\n Ghi chú: {{item.note}}\n </div>\n {% endif %}\n <div style="display: flex; width: 100%; margin-top: 4px;">\n {% if item.order_item_add_on.length > 0 %}\n <div style="width: 50%; font-weight: 400; box-sizing: border-box; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;"\n >\n {% if configs.other_discount and item.price < item.product_normal_price %}\n {{ item | addOnSellPrice }}\n <del style="font-size: {{(+configs.font_size - 2)|textsize}}; line-height: 18px;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n {{ item | addOnSellPrice }}\n {% endif %}\n </div>\n {% else %}\n <div style="width: 50%; font-weight: 400; box-sizing: border-box; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;"\n >\n {% if configs.other_discount and item.price < item.product_normal_price %}\n {{item.price | number}}\n <del style="font-size: {{(+configs.font_size - 2)|textsize}}; line-height: 18px;">\n {{item.product_normal_price | number}}\n </del>\n {% else %}\n {{item.price | number}}\n {% endif %}\n </div>\n {% endif %}\n <div style="width: 15%; font-weight: 400; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px;">\n x{{item.quantity}}\n </div>\n <div style="box-sizing: border-box; width: 35%; text-align: right; font-weight: 400; font-size: {{(item.price * item.quantity)|orderItemTextSize(+configs.font_size)}}; line-height: 20px;">\n {{item.total_amount | number}}\n </div>\n </div>\n {% endfor %}\n </div>\n </div>\n</section>\n<div style="margin: 3px auto; width: 100%; border-bottom: 1px dashed rgba(0,0,0,1)"></div>\n',BillPaymentInfo:'<section class=\'bill__payment__info\'>\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Tạm tính\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ order.ordered_grand_total|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% if order.delivery_fee > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Phí vận chuyển\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ order.delivery_fee|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.promotion_discount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Khuyến mãi\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n -{{ order.promotion_discount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.other_discount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Chiết khấu\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n -{{ order.other_discount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.customer_point_discount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n Giảm giá từ điểm\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n -{{ order.customer_point_discount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.list_surcharge and order.list_surcharge.length > 0 %}\n {% for item in order.list_surcharge %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; ">\n {{ item.name }}\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ item.amount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endfor %}\n {% endif %}\n {% if tax.tax_label %}\n <div style="display: flex; justify-content: space-between; align-items: center;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {{ tax.tax_label }}\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ tax.tax_total_amount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if tax.tax_list and tax.tax_list.length > 0 and not tax.is_direct_tax %}\n {% for tax_item in tax.tax_list %}\n <div style="display: flex; justify-content: space-between; align-items: center; margin-left: 16px">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Thuế GTGT\n {{ tax_item.percentage }}%\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ tax_item.amount|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endfor %}\n {% endif %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding-top: 4px;">\n <span style="font-size: {{ (+configs.font_size + 1)|textsize }}; line-height: 20px; font-weight: 600;">\n Tổng cộng\n {{ order|get_total_items }}\n </span>\n <span style="font-size: {{ (+configs.font_size + 1)|textsize }}; line-height: 24px; font-weight: 600; text-align: right;">\n {{ order.grand_total|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size + 1)|textsize }};">đ</span>\n </span>\n </div>\n {% if configs.show_vat %}\n <div style="padding-bottom: 4px; text-align: right; font-weight: 400; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 18px; ">\n <span>Đã bao gồm {{ configs.vat }}% VAT: {{ (order.ordered_grand_total * configs.vat / 100)|number }}</span>\n </div>\n {% endif %}\n</section>\n<section>\n <div style="margin: 4px auto; width: 100%; border-bottom: 1px dashed rgba(0,0,0,1)"></div>\n {% if configs.amount_paid and order.amount_paid > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Khách đã trả\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ order.amount_paid|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if configs.amount_paid and order.amount_paid - order.grand_total > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Tiền thừa\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ (order.amount_paid - order.grand_total)|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if configs.amount_paid and order.grand_total - order.amount_paid > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {% if order.state === "complete" %}\n Còn nợ đơn này\n {% else %}\n Chưa thanh toán\n {% endif %}\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ (order.grand_total - order.amount_paid) |number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if configs.debt_amount and order.total_debt_amount > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n Công nợ cũ\n </span>\n <span style="font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; font-weight: 500; text-align: right;">\n {{ (order.total_debt_amount)|number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n {% if order.total_debt_amount + (order.grand_total - order.amount_paid) > 0 %}\n <div style="display: flex; justify-content: space-between; align-items: center; padding: 4px 0px;">\n <span style="font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; font-weight: 600">\n Còn phải thu\n </span>\n <span style="font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; font-weight: 600; text-align: right;">\n {{ (order.total_debt_amount + (order.grand_total - order.amount_paid)) |number }}\n <span style="text-decoration: underline; font-size: {{ (+configs.font_size - 2)|textsize }}">đ</span>\n </span>\n </div>\n {% endif %}\n</section>\n{% if (configs.amount_paid or order.debt_amount) %}\n <div style="margin: 8px auto; width: 100%; color: black; border-bottom: 1px solid rgba(0,0,0,1); box-sizing: border-box"></div>\n{% endif %}',BillPaymentMethod:'<section class="bill__payment__method">\n {% if configs.show_note %}\n <pre style="margin:0; pading-bottom: 4px; font-weight: 500; font-size: {{ (+configs.font_size)|textsize }}; line-height: 21px; font-family: inherit; text-align: center; white-space: pre-line">{{ configs.note }}</pre>\n {% endif %}\n {% if configs.bank_account and paymentInfo.length > 0 and (configs.provisional_invoice_qr.active === false or qrImage === "") %}\n {% for item in paymentInfo %}\n <div style="display: flex; align-items:center; justify-content: center; flex-direction: column;">\n <div style="display: flex; margin-top: 2px; justify-content: center;">\n <div style="font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; text-align: center;">\n {% if item.payment_method == "momo" %}\n <div>\n <div style="font-weight: 600;">\n MoMo - {{ item.information.phone_number }}\n </div>\n <div style="font-weight: 400;">\n {{ item.information.name }}\n </div>\n </div>\n {% else %}\n <div>\n <div style="font-weight: 600;">\n {{ item.information.bank_name }} -\n {{ item.information.account_number }}\n </div>\n <div style="font-weight: 400;">\n {{ item.information.account_owner }}\n </div>\n </div>\n {% endif %}\n </div>\n </div>\n {% if not loop.last %}\n <div style="height: 10px; display:flex; align-items:center; margin-bottom: 2px">-</div>\n {% endif %}\n </div>\n {% endfor %}\n {% endif %}\n</section>\n{% if (order.invoice_link) %}\n <div style="margin: 8px auto; width: 100%; border-bottom: 1px dashed #73787D"></div>\n{% elseif (configs.show_note or (order.bank_account and paymentInfo.length > 0)) %}\n <div style="margin: 8px auto; width: 100%; border-bottom: 1px solid #73787D"></div>\n{% endif %}',BillFooter:'{# <div style="margin: 8px auto; width: 100%; border-bottom: 1px dashed black"></div> #}\n<footer style="display: flex; flex-direction: column">\n {% if configs.logo_sbh %}\n <div style="margin-top: 8px ;font-weight: 500; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;\n text-align: center">\n Bán hàng chuyên nghiệp bằng ứng dụng\n </div>\n <div style="text-align: center; margin-top: 8px; display: flex; justify-content: center;">\n {%- include "Logo" -%}\n </div>\n {% endif %}\n {% if configs.show_footer %}\n <pre style="margin:0; margin-top: 12px; padding-bottom: 8px; font-weight: 600; font-size: {{ (+configs.font_size + 2)|textsize }}; line-height: 21px;\n text-align: center; font-family: inherit; white-space: pre-line">{{ configs.footer }}</pre>\n {% endif %}\n <div style="margin: 0; margin-bottom: 12mm; width: 100%;"></div>\n</footer>',BillEInvoice:'<section>\n <div style="font-weight: 600; font-size: {{ (+configs.font_size)|textsize }}; line-height: 24px; text-align: center">\n Hoá đơn điện tử\n </div>\n <div style="font-weight: 400; font-size: {{ (+configs.font_size - 3)|textsize }}; line-height: 20px; text-align: center;\n white-space: pre-line">{{ order.invoice_link }}</div>\n</section>\n{% if configs.logo_sbh or configs.show_footer %}\n <div style="margin: 8px auto; width: 100%; border-bottom: 1px solid black"></div>\n{% endif %}',BillOrderItemsDefault:'{% set showUom = order.order_item | has_uom %}\n<section class="bill__order_items_default">\n <div style="width: 100%; max-width: 100%;">\n <div style="display: block; padding-bottom: 2px; ">\n <div style="display: flex; width: 100%; margin-bottom: 10px">\n <div style="width: 1%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n left;"></div>\n <div style="width: {{ \'39%\' if showUom else \'49%\' }}; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }};\n line-height: 20px; text-align: left;">\n Đơn giá\n </div>\n {% if showUom %}\n <div style="width: 10%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n left;">\n ĐV\n </div>\n {% endif %}\n <div style="width: 10%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n left;">\n SL\n </div>\n <div style="width: 40%; font-weight: 700; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align:\n right;">\n T.tiền\n </div>\n </div>\n </div>\n <div style="display: block;">\n {% for item in order.order_item %}\n <div style="display: flex">\n <div colspan="1" style="width: 20px;">\n <span style="display: block; font-weight: 400; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {{ loop.index }}.\n </span>\n </div>\n <div colspan="3">\n <div style="display: flex">\n <span style="word-break: break-word; display: block; font-weight: 400; font-size: {{ (+configs.font_size - 1)|textsize }};\n line-height: 20px;">\n {{ item.product_name }}\n {% if item.sku_name %}\n - {{ item.sku_name }}\n {% endif %}\n </span>\n </div>\n </div>\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-left: 20px; margin-top: 2px">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px;">\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0;\n margin-right: 4px">\n {{ addOnItem.quantity + "x" }}\n </div>\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0">\n {% if loop.index !== item.order_item_add_on.length %}\n {{ addOnItem.name }};\n {% else %}\n {{ addOnItem.name }}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.item_rate %}\n <div style="margin-left: 20px; display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size\n - 3)|textsize }}; font-weight: 500; color: black; padding: 0">\n <i>Từ {{ item.start_time|datestring }} đến {{ item.end_time|datestring }}</i>\n </div>\n {% endif %}\n {% if item.note and (item.item_rate === null or item.item_rate === undefined or item.item_rate.is_show_note) %}\n <div style="margin-left: 20px; font-style:italic; display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{\n (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; padding: 0">\n Ghi chú:\n {{ item.note }}\n </div>\n {% endif %}\n <div style="margin-left: 20px; display: flex; width: 100%; margin-top: 8px; margin-bottom: 12px">\n {% if item.order_item_add_on.length > 0 %}\n <div style=" width: calc({{ \'40%\' if showUom else \'50%\' }} - 20px); display:flex; align-items:center; gap:4px; font-weight:\n 400; box-sizing: border-box; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {% if configs.other_discount and item.price < item.product_normal_price %}\n <div style="word-break: break-word;">\n {{ item | addOnSellPrice }}\n </div>\n <del style="color:#73787D; font-size: {{ (+configs.font_size - 2)|textsize }}; line-height: 18px; word-break: break-word;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n <div style="word-break: break-word;">\n {{ item | addOnSellPrice }}\n </div>\n {% endif %}\n </div>\n {% else %}\n <div style=" width: calc({{ \'40%\' if showUom else \'50%\' }} - 20px); display:flex; align-items:center; gap:4px; font-weight:\n 400; box-sizing: border-box; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {% if configs.other_discount and (item.price < item.product_normal_price or item.item_rate.price < item.item_rate.rate) %}\n <div style="word-break: break-word;">\n {{ item|get_selling_price }}\n </div>\n <del style="color:#73787D; font-size: {{ (+configs.font_size - 2)|textsize }}; line-height: 18px; word-break: break-word;">\n {{ item|get_normal_price }}\n </del>\n {% else %}\n <div style="word-break: break-word;">\n {{ item|get_selling_price }}\n </div>\n {% endif %}\n </div>\n {% endif %}\n {% if showUom %}\n <div style="width:10%; line-height: 20px; font-size: {{ (+configs.font_size - 1)|textsize }}">{{ item.uom }}</div>\n {% endif %}\n <div style="width: 15%; font-weight: 600; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; word-break:\n break-word;">\n {{ item|get_quantity }}\n </div>\n <div style="box-sizing: border-box; width: 35%; text-align: right; font-weight: 600; word-break: break-word; font-size: {{\n (item.price * item.quantity)|orderItemTextSize(+configs.font_size) }}; line-height: 20px;">\n {{ item|get_total_amount }}\n </div>\n </div>\n {% endfor %}\n </div>\n </div>\n</section>\n<div style="margin: 12px auto 8px; width: 100%; border-bottom: 1px solid rgba(0,0,0,1)"></div>',BillOrderItemsBorder:'{% set showUom = order.order_item | has_uom %}\n<section class="bill__order_items_default">\n <div style="width: 100%; max-width: 100%;">\n <div style="display: block; padding-bottom: 2px; ">\n <div style="display: flex; width: 100%;">\n <div style="width: {{ \'26%\' if showUom else \'30%\' }}; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }};\n line-height: 20px; text-align: left;">\n Sản phẩm\n </div>\n {% if showUom %}\n <div style="width: 11%; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; text-align:\n center;">\n ĐV\n </div>\n {% endif %}\n <div style="width: {{ \'26%\' if showUom else \'30%\' }}; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }};\n line-height: 20px; text-align: right;">\n Đơn giá\n </div>\n <div style="width: 10%; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px; text-align:\n center;">\n SL\n </div>\n <div style="width: {{ \'27%\' if showUom else \'30%\' }}; font-weight: 600; font-size: {{ (+configs.font_size)|textsize }};\n line-height: 20px; text-align: right;">\n T.tiền\n </div>\n </div>\n </div>\n <div style="display: block; margin-top: 2px;">\n {% for item in order.order_item %}\n <div style="display: flex;">\n <div style="word-break: break-word; width: {{ \'26%\' if showUom else \'30%\' }}; display: block; font-weight: 400; font-size: {{\n (+configs.font_size - 1)|textsize }}; line-height: 20px;">\n {{ item.product_name }}\n {% if item.sku_name %}\n - {{ item.sku_name }}\n {% endif %}\n </div>\n {% if showUom %}\n <div style="width: 11%; display: block; font-weight: 400; font-size: {{ (+configs.font_size - 1)|textsize }}; line-height:\n 20px; text-align: center; word-break: break-word;">\n {{ item.uom }}\n </div>\n {% endif %}\n <div style="display: flex; width: {{ \'26%\' if showUom else \'30%\' }}; text-align: right;">\n {% if item.order_item_add_on.length > 0 %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px;">\n {% if configs.other_discount and item.price < item.product_normal_price %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }};">\n {{ item | addOnSellPrice }}\n </div>\n <del style="font-size: {{ (item | addOnNormalPrice)|orderItemTextSize(+configs.font_size) }}; line-height: 18px; word-break:\n break-word;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }};">\n {{ item | addOnSellPrice }}\n </div>\n {% endif %}\n </div>\n {% else %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px;">\n {% if configs.other_discount and (item.price < item.product_normal_price or item.item_rate.price < item.item_rate.rate) %}\n <div style="word-break: break-word; font-size: {{ (item.price | number)|orderItemTextSize(+configs.font_size) }};">\n {{ item|get_selling_price }}\n </div>\n <del style="font-size: {{ (item.product_normal_price | number)|orderItemTextSize(+configs.font_size) }}; line-height: 18px;\n word-break: break-word;">\n {{ item|get_normal_price }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item.product_normal_price | number)|orderItemTextSize(+configs.font_size)\n }};">\n {{ item|get_selling_price }}\n </div>\n {% endif %}\n </div>\n {% endif %}\n </div>\n <div style="width: 10%; display: block; font-weight: 400; font-size: {{ (+configs.font_size)|textsize }}; line-height: 20px;\n text-align: center; word-break: break-word;">\n {{ item|get_quantity }}\n </div>\n <div style="box-sizing: border-box; width: {{ \'27%\' if showUom else \'30%\' }}; text-align: right; font-weight: 400; font-size:\n {{ ((item.price * item.quantity) | number)|orderItemTextSize(+configs.font_size) }}; line-height: 20px; word-break:\n break-word;">\n {{ item|get_total_amount }}\n </div>\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap;">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px; ">\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0;\n margin-right: 4px">\n {{ addOnItem.quantity + "x" }}\n </div>\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0">\n {% if loop.index !== item.order_item_add_on.length %}\n {{ addOnItem.name }};\n {% else %}\n {{ addOnItem.name }}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.item_rate %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>Từ {{ item.start_time|datestring }} đến {{ item.end_time|datestring }}</i>\n </div>\n {% endif %}\n {% if item.note and (item.item_rate === null or item.item_rate === undefined or item.item_rate.is_show_note) %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>{{ item.note }}</i>\n </div>\n {% endif %}\n {% if loop.index !== 0 %}\n <div style="margin: 4px auto 12px; width: 100%; border-top: 1px dashed rgba(0,0,0,1)"></div>\n {% endif %}\n {% endfor %}\n </div>\n </div>\n</section>',BillOrderItemsFramed:'{% set showUom = order.order_item | has_uom %}\n<section class="bill__order_items_default" style="margin-top: 8px; margin-bottom: 8px">\n <div style="margin: 8px auto 8px; width: 100%; border-bottom: 1px solid black"></div>\n <table style="border-collapse: collapse; width: 100%">\n <thead>\n <tr>\n <th style="padding: 2px 3px 4px; width: 4%; font-weight: 600; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 20px; text-align: center; border-bottom: 1px dotted black; border-right: 1px dashed black; border-top: 1px\n solid black; border-left: 1px solid black;">\n #\n </th>\n <th style="padding: 2px 3px 4px; width: {{ \'26%\' if showUom else \'32%\' }}; font-weight: 600; font-size: {{\n (+configs.font_size - 2)|textsize }}; line-height: 20px; text-align: left; border-bottom: 1px dotted black; border-right:\n 1px dashed black; border-top: 1px solid black; border-left: 1px solid black;">\n Sản phẩm\n </th>\n {% if showUom %}\n <th style="padding: 2px 3px 4px; width: 12%; font-weight: 600; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 20px; text-align: left; border-bottom: 1px dotted black; border-right: 1px dashed black; border-top: 1px\n solid black; border-left: 1px solid black;">\n ĐV\n </th>\n {% endif %}\n <th style="padding: 2px 3px 4px; width: {{ \'23%\' if showUom else \'25%\' }}; font-weight: 600; font-size: {{\n (+configs.font_size - 2)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted black;\n border-right: 1px dashed black; border-top: 1px solid black;">\n Giá\n </th>\n <th style="padding: 2px 3px 4px; width: 8%; font-weight: 600; font-size: {{ (+configs.font_size - 2)|textsize }};\n line-height: 20px; text-align: right; border-bottom: 1px dotted black; border-right: 1px dashed black; border-top: 1px\n solid black;">\n SL\n </th>\n <th style="padding: 2px 3px 4px; width: {{ \'27%\' if showUom else \'31%\' }}; font-weight: 600; font-size: {{\n (+configs.font_size - 2)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted black;\n border-right: 1px dashed black; border-top: 1px solid black; border-right: 1px solid black;">\n TT\n </th>\n </tr>\n </thead>\n <tbody style="border-bottom: 1px solid black">\n {% for item in order.order_item %}\n <tr>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: 4%; font-weight: 400; font-size: {{ (+configs.font_size -\n 1)|textsize }}; line-height: 20px; text-align: center; border-bottom: 1px dotted black; border-right: 1px dashed black;\n border-left: 1px solid black;">\n {{ loop.index }}\n </th>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: {{ \'26%\' if showUom else \'32%\' }}; font-weight: 400;\n font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align: left; border-bottom: 1px dotted black;\n border-right: 1px dashed black; border-left: 1px solid black;">\n <div style="word-break: break-word;">\n {{ item.product_name }}\n {% if item.sku_name %}\n - {{ item.sku_name }}\n {% endif %}\n </div>\n {% if item.order_item_add_on.length > 0 %}\n <div style="display: flex; width: 100%; flex-wrap: wrap;">\n {% for addOnItem in item.order_item_add_on %}\n <div style="display: flex; margin-right: 2px; ">\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0;\n margin-right: 4px">\n {{ addOnItem.quantity + "x" }}\n </div>\n <div style="font-size: {{ (+configs.font_size - 3)|textsize }}; font-weight: 500; color: black; margin: 0; padding: 0">\n {% if loop.index !== item.order_item_add_on.length %}\n {{ addOnItem.name }};\n {% else %}\n {{ addOnItem.name }}\n {% endif %}\n </div>\n </div>\n {% endfor %}\n </div>\n {% endif %}\n {% if item.item_rate %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>Từ {{ item.item_rate.start_time|datestring }} đến {{ item.item_rate.end_time|datestring }}</i>\n </div>\n {% endif %}\n {% if item.note and (item.item_rate === null or item.item_rate === undefined or item.item_rate.is_show_note) %}\n <div style="display: flex; width: 100%; flex-wrap: wrap; margin-top: 2px; font-size: {{ (+configs.font_size - 3)|textsize }};\n font-weight: 500; color: black; padding: 0">\n <i>{{ item.note }}</i>\n </div>\n {% endif %}\n </th>\n {% if showUom %}\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: 12%; font-weight: 400; font-size: {{ (+configs.font_size -\n 1)|textsize }}; line-height: 20px; text-align: left; border-bottom: 1px dotted black; border-right: 1px dashed black;\n word-break: break-word;">\n {{ item.uom }}\n </th>\n {% endif %}\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: {{ \'23%\' if showUom else \'25%\' }}; font-weight: 400;\n font-size: {{ (+configs.font_size - 1)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted\n black; border-right: 1px dashed black;">\n {% if item.order_item_add_on.length > 0 %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px; word-break: break-word;">\n {% if configs.other_discount and item.price < item.product_normal_price %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }}; ">\n {{ item | addOnSellPrice }}\n </div>\n <del style="color: #73787D; font-size: {{ (item | addOnNormalPrice)|orderItemTextSize(+configs.font_size) }}; line-height:\n 18px; word-break: break-word;">\n {{ item | addOnNormalPrice }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item | addOnSellPrice)|orderItemTextSize(+configs.font_size) }};">\n {{ item | addOnSellPrice }}\n </div>\n {% endif %}\n </div>\n {% else %}\n <div style="width: 100%; font-weight: 400; box-sizing: border-box; line-height: 20px;">\n {% if configs.other_discount and (item.price < item.product_normal_price or item.item_rate.price < item.item_rate.rate) %}\n <div style="word-break: break-word; font-size: {{ (item.price | number)|orderItemTextSize(+configs.font_size) }};">\n {{ item|get_selling_price }}\n </div>\n <del style="color:#73787D; font-size: {{ (item.product_normal_price | number)|orderItemTextSize(+configs.font_size) }};\n line-height: 18px; word-break: break-word;">\n {{ item|get_normal_price }}\n </del>\n {% else %}\n <div style="word-break: break-word; font-size: {{ (item.price | number)|orderItemTextSize(+configs.font_size) }};">\n {{ item|get_selling_price }}\n </div>\n {% endif %}\n </div>\n {% endif %}\n </th>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: 8%; font-weight: 400; font-size: {{ (+configs.font_size -\n 1)|textsize }}; line-height: 20px; text-align: right; border-bottom: 1px dotted black; border-right: 1px dashed black;\n word-break: break-word;">\n {{ item|get_quantity }}\n </th>\n <th style="vertical-align: baseline; padding: 8px 3px 8px; width: {{ \'27%\' if showUom else \'31%\' }}; font-weight: 400;\n font-size: {{ ((item.price * item.quantity) | number)|orderItemTextSize(+configs.font_size) }}; line-height: 20px;\n text-align: right; border-bottom: 1px dotted black; border-right: 1px solid black; word-break: break-word;">\n {{ item|get_total_amount }}\n </th>\n </tr>\n {% endfor %}\n </tbody>\n </table>\n <div style="margin: 8px auto 8px; width: 100%; border-bottom: 1px solid black"></div>\n</section>',BillQrPayment:'<section class="bill__qr__payment">\n <div>\n <div style="display:flex; flex-direction: column; align-items:center; margin-bottom: 8px">\n <div style="display:flex; align-items:center; gap: 4px;">\n <div style="font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight: 600;">\n {{bankInfo.bank_code}}\n </div>\n <div>-</div>\n <div style="font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight: 600;">\n {{bankInfo.account_number}}\n </div>\n </div>\n <div style="font-size: {{(+configs.font_size - 1)|textsize}}; line-height: 20px; font-weight: 400;">\n {{bankInfo.account_owner}}\n </div>\n </div>\n <div style="background-image: url({{qrImage|bankQr}}); flex: 1 1 0%; position: relative; background-position: top;\n background-repeat: no-repeat; background-size: contain; max-width: 50%; aspect-ratio: 1; margin: 0 auto; width: 120px;\n height: 120px;">\n <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">\n <svg\n xmlns="http://www.w3.org/2000/svg"\n xmlns:xlink="http://www.w3.org/1999/xlink"\n width="22"\n height="22"\n viewBox="0 0 22 22"\n fill="none">\n <rect x="0.333313" y="0.333313" width="21.3333" height="21.3333" fill="url(#pattern0)"/>\n <defs>\n <pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">\n <use xlink:href="#image0_2467_348" transform="translate(-0.189937 -0.0244969) scale(0.00778248)"/>\n </pattern>\n <image\n id="image0_2467_348"\n width="173"\n height="146"\n xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAACSCAYAAAA3g0o7AAABQmlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8bAxcDLwAfEhonJxQWOAQE+QCUMMBoVfLvGwAiiL+uCzEozLas15TVMPbXb53ijza16TPUogCsltTgZSP8B4rTkgqISBgbGFCBbubykAMTuALJFioCOArLngNjpEPYGEDsJwj4CVhMS5Axk3wCyBZIzEoFmML4AsnWSkMTTkdhQe0GAx8XVx0chwMjEyNCFgHNJByWpFSUg2jm/oLIoMz2jRMERGEqpCp55yXo6CkYGRkYMDKAwh6j+fAMcloxiHAixfB4GBrNnQMYhhFjiEwaGHXXQoIGKqQLVCADDaO/PgsSiRLgDGL+xFKcZG0HY3NsZGFin/f//OZyBgV2TgeHv9f//f2/////vMgYG5lsMDAe+AQAn9GBjLVlccQAAAFZlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA5KGAAcAAAASAAAARKACAAQAAAABAAAAraADAAQAAAABAAAAkgAAAABBU0NJSQAAAFNjcmVlbnNob3SeBbBBAAAB1mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4b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Ee4BQvPx3dJ4oW9yu1Sg25bSiFoSzlSxnu7p1clbLZv3JDs4W8k9dE+ALhTHEgUx4I0GUEeqA5CR2gI+TYX0JS1WSXG0xBBocFSYMxERZ6AStUxWQdVyukfkNyly5LZf0ByZ76T3OWrYg8Oik7nJOSiiKD6DmcYA26X9GBjGquRKATtSFwp9zN0iN19U3Jdl8UZGBQnlwNgkW98JGFLIQsdmT67nPqYUl6lMCr3nkE9n+uAGzfF6e0TZwiDGzquQDVimViqQ8ylq41jiw5BG9TOn8Ttpv4bUsiBQHEgBG2guitsLDkQgjbEQeA4EII2cF0WNjgEbYiBwHEgBG3guixscAjaEAOB40AI2sB1WdjgELQhBgLHgRC0geuysMEhaEMMBI4DIWgD12Vhg0PQhhgIHAdC0Aauy8IGh6ANMRA4DoSgDVyXhQ0OQRtiIHAcCEEbuC4LGxyCNsRA4Djw/2jRuUkl7DR1AAAAAElFTkSuQmCC"/>\n </defs>\n </svg>\n </div>\n </div>\n </div>\n {# <div style="display: flex; justify-content: space-between; align-items: center ;column-gap: 8px; margin-top:4px; padding: 4px\n 0px">\n <div style="width: max-content; font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight: 400;">\n Nội dung\n </div>\n <div style="flex: 1 1 0%; text-align: right ;font-size: {{(+configs.font_size)|textsize}}; line-height: 20px; font-weight:\n 600;">\n TT\n {{bankInfo.order_number}}\n </div>\n </div> #}\n</section>\n<div style="margin: 16px auto 8px; width: 100%; border-bottom: 1px dashed #73787D"></div>',Logo:'<svg xmlns="http://www.w3.org/2000/svg" width="209" height="40" viewBox="0 0 209 40" fill="none">\n<path d="M28.7024 0H4.10853C3.2787 0.00306782 2.48373 0.334079 1.89694 0.920866C1.31015 1.50765 0.979142 2.30262 0.976074 3.13246L0.976074 6.09025H3.07214C3.40426 6.12132 3.71283 6.27522 3.93745 6.52184C4.16207 6.76845 4.28656 7.09001 4.28656 7.42358C4.28656 7.75715 4.16207 8.07872 3.93745 8.32533C3.71283 8.57194 3.40426 8.72584 3.07214 8.75691H0.976074V14.4745H3.07214C3.40426 14.5056 3.71283 14.6595 3.93745 14.9061C4.16207 15.1527 4.28656 15.4743 4.28656 15.8079C4.28656 16.1414 4.16207 16.463 3.93745 16.7096C3.71283 16.9562 3.40426 17.1101 3.07214 17.1412H0.976074V22.8588H3.07214C3.40426 22.8899 3.71283 23.0438 3.93745 23.2904C4.16207 23.537 4.28656 23.8586 4.28656 24.1921C4.28656 24.5257 4.16207 24.8473 3.93745 25.0939C3.71283 25.3405 3.40426 25.4944 3.07214 25.5255H0.976074V31.2431H3.07214C3.40426 31.2742 3.71283 31.4281 3.93745 31.6747C4.16207 31.9213 4.28656 32.2428 4.28656 32.5764C4.28656 32.91 4.16207 33.2316 3.93745 33.4782C3.71283 33.7248 3.40426 33.8787 3.07214 33.9098H0.976074V36.8675C0.979142 37.6974 1.31015 38.4923 1.89694 39.0791C2.48373 39.6659 3.2787 39.9969 4.10853 40H28.7024C29.5323 39.9969 30.3272 39.6659 30.914 39.0791C31.5008 38.4923 31.8318 37.6974 31.8349 36.8675V3.09753C31.8227 2.27377 31.4876 1.48771 30.9018 0.908435C30.316 0.329162 29.5263 0.00296095 28.7024 0ZM21.2847 27.6681C20.3418 28.3731 19.2287 28.8152 18.059 28.9491V30.9054C18.056 31.274 17.9074 31.6264 17.6457 31.886C17.3839 32.1455 17.0303 32.2911 16.6617 32.2911H16.0212C15.6537 32.2911 15.3012 32.1451 15.0413 31.8852C14.7815 31.6254 14.6355 31.2729 14.6355 30.9054V28.8908C14.0591 28.7946 13.4963 28.6305 12.9586 28.4017C12.0197 28.0226 11.2108 27.3795 10.6296 26.5502C10.0719 25.7177 9.78326 24.734 9.80286 23.7322V23.1732C9.80103 23.1334 9.8085 23.0938 9.82467 23.0574C9.84084 23.021 9.86527 22.9889 9.89602 22.9636C9.92282 22.9347 9.95523 22.9115 9.99126 22.8955C10.0273 22.8795 10.0662 22.871 10.1056 22.8705H13.0052C13.0884 22.871 13.1679 22.9045 13.2264 22.9636C13.2538 22.991 13.2752 23.0238 13.2892 23.0599C13.3032 23.0959 13.3096 23.1345 13.308 23.1732V23.5575C13.3124 23.9 13.4007 24.2361 13.5651 24.5366C13.7296 24.837 13.9651 25.0926 14.2512 25.2809C15.0036 25.7828 15.8982 26.0279 16.8014 25.9796C17.5155 26.0323 18.2252 25.8301 18.8043 25.409C19.014 25.2368 19.1825 25.0198 19.2974 24.774C19.4122 24.5282 19.4706 24.2597 19.4681 23.9884C19.4746 23.7987 19.4417 23.6097 19.3716 23.4333C19.3015 23.2569 19.1955 23.097 19.0605 22.9636C18.7394 22.6509 18.3647 22.3984 17.9542 22.2183C17.4884 22.0087 16.7898 21.7176 15.7301 21.345C14.7398 21.0293 13.7745 20.64 12.8422 20.1805C12.0614 19.7875 11.3834 19.2172 10.8625 18.5153C10.3096 17.7606 10.0266 16.8419 10.059 15.9068C10.0365 14.9586 10.3091 14.0267 10.8392 13.2402C11.3887 12.4595 12.1476 11.8499 13.0285 11.4818C13.551 11.2585 14.0983 11.0983 14.6588 11.0044V9.09461C14.6588 8.7271 14.8047 8.37463 15.0646 8.11475C15.3245 7.85488 15.677 7.70888 16.0445 7.70888H16.685C17.0536 7.70887 17.4072 7.85449 17.669 8.11404C17.9307 8.37358 18.0793 8.72603 18.0823 9.09461V11.0044C18.6442 11.1155 19.1912 11.2914 19.7126 11.5284C20.6518 11.941 21.458 12.6061 22.0416 13.4498C22.6208 14.2869 22.9222 15.285 22.9033 16.3028V16.687C22.9059 16.7276 22.9 16.7682 22.8859 16.8063C22.8719 16.8444 22.85 16.8791 22.8218 16.9083C22.7922 16.936 22.7574 16.9575 22.7194 16.9715C22.6814 16.9855 22.641 16.9917 22.6005 16.9898H19.6777C19.6372 16.9917 19.5968 16.9855 19.5588 16.9715C19.5208 16.9575 19.486 16.936 19.4564 16.9083C19.4282 16.8791 19.4063 16.8444 19.3923 16.8063C19.3782 16.7682 19.3723 16.7276 19.3749 16.687V16.4891C19.3678 16.1354 19.2802 15.788 19.1188 15.4733C18.9574 15.1585 18.7264 14.8847 18.4433 14.6725C17.7729 14.1737 16.9486 13.9264 16.1144 13.9738C15.4504 13.9365 14.7923 14.1164 14.2395 14.4862C14.022 14.6467 13.8468 14.8579 13.7291 15.1014C13.6114 15.3448 13.5548 15.6133 13.5641 15.8836C13.5583 16.2775 13.6994 16.6594 13.9601 16.9549C14.2926 17.2868 14.6887 17.5482 15.1245 17.7234C15.6369 17.9563 16.4404 18.2707 17.5234 18.655C18.4917 18.9893 19.4403 19.378 20.3647 19.8195C21.0853 20.1824 21.7174 20.6992 22.2162 21.3333C22.7968 22.075 23.0904 23.0011 23.043 23.9418C23.0635 24.6574 22.915 25.3678 22.6095 26.0152C22.304 26.6627 21.8501 27.229 21.2847 27.6681ZM30.3094 35.9127C30.3088 36.602 30.08 37.2718 29.6587 37.8174C29.2374 38.363 28.6472 38.7538 27.9804 38.9287C28.4816 38.3588 28.7588 37.6264 28.7606 36.8675V3.09753C28.7569 2.35368 28.4886 1.63543 28.0037 1.07132C28.6705 1.24623 29.2606 1.637 29.682 2.18261C30.1033 2.72822 30.3321 3.39798 30.3327 4.08734L30.3094 35.9127Z" fill="black"/>\n<path d="M42.3153 28.565C41.7785 28.2013 41.3268 27.7257 40.9911 27.1709C40.6554 26.6161 40.4438 25.9953 40.3706 25.351C40.3706 25.1996 40.3706 24.9784 40.3706 24.6989V24.1633C40.3782 24.0873 40.4064 24.0148 40.4521 23.9537C40.4791 23.9257 40.5118 23.9039 40.5479 23.8898C40.5841 23.8758 40.623 23.8697 40.6617 23.8721H43.3983C43.4369 23.8705 43.4755 23.8768 43.5116 23.8909C43.5477 23.9049 43.5805 23.9263 43.6079 23.9537C43.636 23.9801 43.657 24.0131 43.6692 24.0496C43.6814 24.0862 43.6844 24.1253 43.6777 24.1633V24.5242C43.6799 24.8478 43.7617 25.1658 43.9161 25.4502C44.0705 25.7346 44.2926 25.9765 44.5627 26.1545C45.2652 26.6293 46.1032 26.8623 46.9499 26.8183C47.6747 26.8865 48.3975 26.6693 48.9645 26.2127C49.1657 26.0301 49.3187 25.8006 49.4101 25.5447C49.5015 25.2888 49.5285 25.0143 49.4885 24.7455C49.4453 24.398 49.2753 24.0787 49.0111 23.8488C48.7019 23.5816 48.352 23.3654 47.9747 23.2084C47.5438 23.0221 46.8102 22.7542 45.9601 22.4165C45.0889 22.1211 44.2371 21.771 43.4099 21.3685C42.7168 21.0288 42.096 20.5582 41.5817 19.9828C41.0244 19.39 40.6697 18.6357 40.5686 17.8285C40.5686 17.712 40.5686 17.5141 40.5686 17.2229C40.543 16.5553 40.6752 15.8911 40.9544 15.2841C41.2336 14.6771 41.652 14.1445 42.1756 13.7295C43.3906 12.8275 44.8791 12.3711 46.391 12.4369C47.4359 12.4215 48.4732 12.6155 49.4419 13.0075C50.2988 13.3444 51.0561 13.8933 51.6428 14.6028C52.1975 15.2912 52.5448 16.1232 52.6443 17.0017C52.6443 17.1298 52.6443 17.3394 52.6443 17.6305V17.9915C52.6418 18.0686 52.6131 18.1426 52.5627 18.2011C52.5376 18.2282 52.5069 18.2495 52.4727 18.2635C52.4385 18.2776 52.4017 18.2841 52.3648 18.2826H49.6632C49.6245 18.2843 49.5859 18.2779 49.5498 18.2639C49.5137 18.2498 49.481 18.2285 49.4536 18.2011C49.4255 18.1747 49.4044 18.1417 49.3922 18.1051C49.38 18.0685 49.3771 18.0295 49.3837 17.9915V17.8052C49.3836 17.4727 49.3093 17.1444 49.1663 16.8443C49.0232 16.5441 48.8151 16.2796 48.5569 16.0701C47.8975 15.5489 47.066 15.2953 46.228 15.3598C45.5619 15.3177 44.9023 15.5115 44.3648 15.9071C44.1527 16.0838 43.9921 16.3144 43.8999 16.5746C43.8077 16.8349 43.7872 17.1151 43.8408 17.386C43.8778 17.7302 44.0393 18.0491 44.2949 18.2826C44.6405 18.5743 45.0346 18.8029 45.4594 18.958C45.9368 19.1676 46.6239 19.4587 47.637 19.8081C48.6501 20.1574 49.5467 20.5534 50.1406 20.8328C50.7849 21.1562 51.365 21.5942 51.8524 22.1254C52.3894 22.716 52.7239 23.4626 52.8073 24.2564C52.8073 24.3729 52.8073 24.5708 52.8073 24.8619C52.8315 25.5486 52.6933 26.2313 52.4039 26.8545C52.1146 27.4778 51.6822 28.0239 51.1421 28.4486C49.8527 29.3905 48.2763 29.8556 46.6821 29.7644C45.1376 29.8249 43.6122 29.406 42.3153 28.565Z" fill="black"/>\n<path d="M57.2206 28.681C56.2533 27.967 55.559 26.944 55.2526 25.7814C55.1243 25.3715 55.0347 24.9504 54.9848 24.5238C54.94 24.1372 54.9167 23.7484 54.9149 23.3593C54.8943 22.4922 55.0122 21.6274 55.2642 20.7974C55.5948 19.6653 56.2961 18.677 57.2555 17.991C58.2624 17.3031 59.46 16.9488 60.6791 16.9779C61.8791 16.9433 63.0586 17.2942 64.0444 17.9794C64.98 18.6764 65.6661 19.6565 66.0008 20.7741C66.2692 21.5853 66.4029 22.435 66.3967 23.2894C66.3916 24.1158 66.2781 24.938 66.059 25.7348C65.7582 26.9128 65.069 27.9549 64.1027 28.6926C63.094 29.4368 61.8617 29.8148 60.6092 29.764C59.392 29.7808 58.2024 29.4006 57.2206 28.681ZM61.995 26.352C62.3818 25.9914 62.6635 25.5326 62.8101 25.0245C62.9432 24.4561 63.0019 23.8729 62.9848 23.2894C63.0092 22.9289 63.0092 22.567 62.9848 22.2065C62.9342 21.5605 62.6769 20.9481 62.2511 20.4597C62.0503 20.2505 61.8074 20.0862 61.5384 19.9778C61.2694 19.8694 60.9805 19.8194 60.6907 19.8309C60.2018 19.8133 59.724 19.9795 59.3516 20.2967C58.963 20.6328 58.6867 21.0798 58.5597 21.5776C58.3862 22.131 58.3075 22.7098 58.3268 23.2894C58.3271 23.6786 58.3505 24.0675 58.3967 24.4539C58.4538 25.0809 58.711 25.6728 59.1303 26.1424C59.3271 26.3505 59.566 26.5142 59.8311 26.6226C60.0961 26.731 60.3813 26.7817 60.6674 26.7712C61.1479 26.7957 61.6205 26.6423 61.995 26.3404V26.352Z" fill="black"/>\n<path d="M78.9965 20.8674C79.6178 21.159 80.152 21.6079 80.5463 22.1696C80.9405 22.7313 81.181 23.3864 81.2439 24.0698C81.2572 24.318 81.2572 24.5668 81.2439 24.815C81.2785 25.4827 81.1516 26.1489 80.8739 26.757C80.5961 27.3652 80.1758 27.8974 79.6486 28.3085C78.4374 29.1432 76.9835 29.5528 75.5147 29.473H69.308C69.2309 29.4705 69.1569 29.4418 69.0984 29.3915C69.071 29.3641 69.0496 29.3313 69.0356 29.2952C69.0216 29.2591 69.0152 29.2205 69.0169 29.1819V12.8791C69.0232 12.8041 69.0563 12.7338 69.11 12.6811C69.1335 12.6513 69.1636 12.6273 69.198 12.6112C69.2324 12.595 69.27 12.5871 69.308 12.588H75.3284C78.7519 12.588 80.6229 13.8534 80.9412 16.3842C80.9647 16.667 80.9647 16.9514 80.9412 17.2343C80.9956 17.9545 80.8298 18.6742 80.4659 19.2981C80.102 19.922 79.557 20.4205 78.9033 20.7277C78.849 20.7743 78.88 20.8209 78.9965 20.8674ZM72.4637 15.5923C72.4576 15.605 72.4543 15.619 72.4543 15.6331C72.4543 15.6472 72.4576 15.6611 72.4637 15.6738V19.4468C72.4637 19.5283 72.4637 19.5632 72.5802 19.5632H75.3982C76.0183 19.5969 76.631 19.416 77.1333 19.0508C77.3436 18.8709 77.5097 18.6449 77.6187 18.3905C77.7278 18.1361 77.7768 17.86 77.7621 17.5836V17.2925C77.7398 17.0412 77.6651 16.7973 77.5427 16.5767C77.4204 16.3561 77.2531 16.1636 77.0518 16.0115C76.5638 15.6862 75.9839 15.5269 75.3982 15.5574H72.5103C72.495 15.5569 72.4798 15.5598 72.4657 15.5658C72.4516 15.5719 72.439 15.5809 72.4288 15.5923H72.4637ZM77.3895 25.9329C77.5965 25.6837 77.7439 25.3905 77.8206 25.0758C77.8973 24.761 77.9012 24.4329 77.832 24.1163C77.8108 23.8603 77.7354 23.6116 77.611 23.3868C77.4865 23.1619 77.3158 22.9661 77.11 22.8121C76.638 22.4797 76.0679 22.3156 75.4914 22.3463H72.522C72.4404 22.3463 72.4055 22.3463 72.4172 22.4744V26.4802C72.4172 26.5618 72.4172 26.6083 72.522 26.6083H75.503C75.8423 26.638 76.1839 26.5928 76.5038 26.4761C76.8237 26.3595 77.1141 26.174 77.3546 25.9329H77.3895Z" fill="black"/>\n<path d="M91.305 17.2111C91.3297 17.1834 91.3603 17.1616 91.3946 17.1475C91.4289 17.1334 91.466 17.1272 91.503 17.1295H94.3211C94.3597 17.1279 94.3983 17.1343 94.4344 17.1483C94.4705 17.1623 94.5033 17.1837 94.5307 17.2111C94.5578 17.2357 94.5784 17.2667 94.5906 17.3012C94.6028 17.3358 94.6062 17.3728 94.6005 17.409V29.2635C94.594 29.3418 94.5611 29.4157 94.5074 29.4731C94.4814 29.499 94.4505 29.5195 94.4165 29.5335C94.3825 29.5475 94.3461 29.5547 94.3094 29.5546H91.503C91.4663 29.5547 91.4299 29.5475 91.3959 29.5335C91.3619 29.5195 91.3311 29.499 91.305 29.4731C91.2757 29.4472 91.2529 29.4147 91.2388 29.3782C91.2246 29.3417 91.2194 29.3024 91.2235 29.2635V28.2271C91.2235 28.1572 91.2235 28.1223 91.2235 28.1106C91.2235 28.099 91.2235 28.1106 91.1304 28.1805C90.8176 28.688 90.373 29.1012 89.8439 29.376C89.3148 29.6508 88.7211 29.7769 88.126 29.7409C87.1013 29.7538 86.1043 29.4077 85.308 28.7627C84.4689 28.0921 83.8752 27.1627 83.6195 26.1194C83.5262 25.7791 83.4561 25.4328 83.4098 25.083C83.3275 24.4885 83.2809 23.8897 83.2701 23.2897C83.2452 22.2515 83.3747 21.2155 83.6544 20.2154C83.9697 19.2867 84.5583 18.4749 85.3429 17.8865C86.1664 17.2649 87.1761 16.9406 88.2075 16.9665C88.7662 16.923 89.3264 17.0296 89.83 17.2753C90.3337 17.521 90.7625 17.8968 91.0721 18.3639C91.0721 18.3639 91.142 18.4454 91.1769 18.4454C91.2119 18.4454 91.1769 18.4454 91.1769 18.3406V17.4672C91.1774 17.4176 91.1892 17.3687 91.2114 17.3243C91.2336 17.2799 91.2656 17.2412 91.305 17.2111ZM91.1537 24.5939C91.2077 24.1848 91.231 23.7722 91.2235 23.3595C91.2571 22.9721 91.2571 22.5825 91.2235 22.195C91.176 21.8552 91.0861 21.5227 90.9557 21.2052C90.8335 20.8033 90.5893 20.4492 90.257 20.1921C89.9198 19.9444 89.5109 19.8136 89.0925 19.8195C88.6535 19.8076 88.2231 19.9428 87.8698 20.2038C87.533 20.4689 87.2786 20.8243 87.1362 21.2285C86.8924 21.8875 86.7777 22.5873 86.7985 23.2897C86.7738 23.6774 86.7738 24.0664 86.7985 24.4541C86.8403 24.7537 86.9185 25.047 87.0314 25.3275C87.1586 25.7427 87.4157 26.106 87.765 26.3639C88.1227 26.6249 88.5567 26.76 88.9994 26.7482C89.4203 26.7589 89.832 26.6231 90.1638 26.3639C90.4962 26.097 90.7398 25.7357 90.8625 25.3275C90.9878 25.0951 91.0855 24.8489 91.1537 24.5939Z" fill="black"/>\n<path d="M106.618 17.898C107.397 18.588 107.881 19.5512 107.969 20.588C107.969 20.7277 107.969 20.9723 107.969 21.3333V29.2634C107.967 29.3405 107.938 29.4145 107.887 29.473C107.861 29.4989 107.831 29.5195 107.797 29.5335C107.763 29.5475 107.726 29.5546 107.689 29.5545H104.895C104.855 29.5579 104.815 29.5527 104.778 29.5395C104.74 29.5262 104.706 29.5051 104.677 29.4775C104.649 29.4499 104.626 29.4166 104.612 29.3797C104.597 29.3428 104.59 29.3031 104.592 29.2634V22.032C104.607 21.9043 104.607 21.7753 104.592 21.6477C104.543 21.1556 104.32 20.6972 103.963 20.3551C103.791 20.1906 103.589 20.0616 103.367 19.9757C103.145 19.8898 102.908 19.8485 102.671 19.8544C102.403 19.8432 102.136 19.8905 101.889 19.9931C101.641 20.0956 101.419 20.251 101.238 20.4483C100.86 20.8865 100.664 21.4534 100.691 22.032V29.2634C100.688 29.3405 100.66 29.4145 100.609 29.473C100.583 29.4989 100.553 29.5195 100.519 29.5335C100.485 29.5475 100.448 29.5546 100.411 29.5545H97.6283C97.5512 29.5521 97.4772 29.5233 97.4187 29.473C97.3928 29.4451 97.3732 29.4119 97.3612 29.3757C97.3491 29.3396 97.3449 29.3013 97.3488 29.2634V17.4672C97.353 17.3939 97.3817 17.3242 97.4304 17.2692C97.455 17.2415 97.4856 17.2198 97.5199 17.2057C97.5542 17.1915 97.5913 17.1854 97.6283 17.1877H100.423C100.462 17.186 100.5 17.1924 100.536 17.2065C100.573 17.2205 100.605 17.2419 100.633 17.2692C100.658 17.2954 100.677 17.3266 100.689 17.3607C100.701 17.3948 100.706 17.4311 100.703 17.4672V18.3173C100.695 18.3317 100.692 18.3477 100.692 18.3638C100.692 18.38 100.695 18.3959 100.703 18.4104C100.703 18.4104 100.703 18.4104 100.784 18.4104C101.106 17.9448 101.544 17.571 102.055 17.326C102.565 17.081 103.13 16.9731 103.695 17.013C104.745 16.9391 105.786 17.2541 106.618 17.898Z" fill="black"/>\n<path d="M119.882 12.7162C119.906 12.6876 119.937 12.6645 119.971 12.6485C120.005 12.6324 120.042 12.6238 120.08 12.623H122.898C122.937 12.6236 122.976 12.6321 123.012 12.6481C123.048 12.6641 123.08 12.6873 123.107 12.7162C123.135 12.7401 123.156 12.7711 123.169 12.8058C123.181 12.8406 123.184 12.8779 123.177 12.9142V29.2169C123.175 29.2941 123.146 29.368 123.096 29.4265C123.07 29.4525 123.039 29.473 123.005 29.487C122.971 29.501 122.934 29.5081 122.898 29.5081H120.08C120.002 29.5056 119.928 29.4769 119.87 29.4265C119.842 29.4001 119.821 29.3671 119.809 29.3305C119.796 29.294 119.793 29.2549 119.8 29.2169V22.591C119.8 22.5095 119.8 22.4746 119.684 22.4746H114.374C114.292 22.4746 114.257 22.4746 114.269 22.591V29.2635C114.262 29.3419 114.229 29.4157 114.176 29.4731C114.15 29.499 114.119 29.5196 114.085 29.5336C114.051 29.5476 114.014 29.5547 113.978 29.5546H111.171C111.094 29.5542 111.019 29.5252 110.962 29.4731C110.934 29.4457 110.913 29.413 110.899 29.3769C110.885 29.3408 110.878 29.3022 110.88 29.2635V12.9607C110.886 12.8857 110.92 12.8155 110.973 12.7628C110.997 12.733 111.027 12.709 111.061 12.6928C111.096 12.6767 111.133 12.6687 111.171 12.6696H113.931C113.971 12.6687 114.01 12.6765 114.046 12.6926C114.083 12.7087 114.115 12.7327 114.141 12.7628C114.168 12.788 114.189 12.8187 114.203 12.8528C114.217 12.887 114.224 12.9238 114.222 12.9607V19.4702C114.222 19.5517 114.222 19.5867 114.339 19.5867H119.754C119.835 19.5867 119.87 19.5867 119.858 19.4702V12.9142C119.844 12.8474 119.852 12.7777 119.882 12.7162Z" fill="black"/>\n<path d="M133.727 17.2111C133.755 17.1837 133.787 17.1623 133.823 17.1483C133.86 17.1343 133.898 17.1279 133.937 17.1295H136.743C136.782 17.1279 136.82 17.1343 136.857 17.1483C136.893 17.1623 136.925 17.1837 136.953 17.2111C136.979 17.2367 137 17.2675 137.014 17.3015C137.028 17.3356 137.035 17.3722 137.034 17.409V29.2635C137.032 29.3406 137.003 29.4146 136.953 29.4731C136.899 29.5234 136.829 29.5524 136.755 29.5546H133.937C133.86 29.5522 133.786 29.5234 133.727 29.4731C133.7 29.4457 133.678 29.4129 133.664 29.3768C133.65 29.3407 133.644 29.3021 133.646 29.2635V28.2271C133.646 28.1572 133.646 28.1223 133.646 28.1106C133.625 28.11 133.604 28.1165 133.587 28.1292C133.57 28.1419 133.558 28.16 133.553 28.1805C133.237 28.6881 132.79 29.101 132.259 29.3756C131.728 29.6503 131.133 29.7765 130.536 29.7409C129.512 29.7518 128.516 29.406 127.718 28.7627C126.883 28.0891 126.29 27.1609 126.03 26.1194C125.935 25.7801 125.869 25.4334 125.832 25.083C125.762 24.4956 125.727 23.9045 125.727 23.313C125.706 22.2658 125.844 21.2215 126.135 20.2154C126.446 19.2847 127.035 18.4718 127.823 17.8865C128.647 17.2649 129.656 16.9406 130.688 16.9665C131.247 16.923 131.807 17.0296 132.31 17.2753C132.814 17.521 133.243 17.8968 133.553 18.3639C133.553 18.3639 133.622 18.4454 133.646 18.4454C133.669 18.4454 133.646 18.4454 133.646 18.3406V17.4672C133.644 17.3752 133.673 17.2852 133.727 17.2111ZM133.587 24.5939C133.641 24.1848 133.665 23.7721 133.657 23.3595C133.685 22.9719 133.685 22.5827 133.657 22.195C133.605 21.8549 133.511 21.5225 133.378 21.2052C133.26 20.8041 133.02 20.4499 132.691 20.1921C132.354 19.9444 131.945 19.8136 131.526 19.8195C131.087 19.8076 130.657 19.9428 130.304 20.2038C129.967 20.4662 129.715 20.8229 129.582 21.2285C129.312 21.8819 129.178 22.583 129.186 23.2897C129.155 23.6772 129.155 24.0666 129.186 24.4541C129.222 24.7548 129.3 25.0488 129.419 25.3275C129.534 25.7587 129.794 26.1377 130.153 26.4022C130.513 26.6667 130.952 26.8011 131.398 26.7831C131.818 26.7892 132.229 26.6538 132.563 26.3988C132.891 26.1286 133.134 25.7685 133.261 25.3624C133.38 25.1163 133.474 24.8588 133.541 24.5939H133.587Z" fill="black"/>\n<path d="M148.994 17.898C149.777 18.5849 150.261 19.5497 150.344 20.5879C150.358 20.8362 150.358 21.0849 150.344 21.3332V29.2633C150.338 29.3417 150.305 29.4155 150.251 29.4729C150.225 29.4988 150.194 29.5194 150.16 29.5334C150.126 29.5474 150.09 29.5545 150.053 29.5544H147.27C147.23 29.5577 147.19 29.5525 147.152 29.5393C147.114 29.5261 147.079 29.5052 147.049 29.4779C147.02 29.4505 146.996 29.4173 146.98 29.3804C146.964 29.3434 146.956 29.3036 146.956 29.2633V22.0319C146.965 21.9039 146.965 21.7755 146.956 21.6476C146.908 21.1527 146.68 20.6927 146.315 20.355C146.144 20.1894 145.942 20.0598 145.72 19.9738C145.498 19.8878 145.261 19.8471 145.023 19.8543C144.755 19.8431 144.488 19.8904 144.241 19.993C143.994 20.0956 143.772 20.2509 143.59 20.4482C143.211 20.8851 143.018 21.4541 143.055 22.0319V29.2633C143.047 29.3393 143.019 29.4118 142.973 29.4729C142.915 29.5232 142.841 29.552 142.764 29.5544H140.016C139.938 29.552 139.864 29.5232 139.806 29.4729C139.779 29.4455 139.757 29.4128 139.743 29.3767C139.729 29.3406 139.723 29.302 139.724 29.2633V17.4671C139.734 17.3952 139.762 17.327 139.806 17.2691C139.833 17.2412 139.866 17.2194 139.902 17.2053C139.938 17.1912 139.977 17.1852 140.016 17.1876H142.799C142.837 17.1859 142.876 17.1923 142.912 17.2064C142.948 17.2204 142.981 17.2418 143.008 17.2691C143.045 17.3281 143.058 17.3991 143.043 17.4671V18.3172C143.043 18.3172 143.043 18.3987 143.043 18.4103C143.043 18.422 143.043 18.4103 143.136 18.4103C143.457 17.943 143.894 17.5679 144.405 17.3227C144.916 17.0775 145.482 16.9707 146.048 17.0129C147.105 16.932 148.156 17.2475 148.994 17.898Z" fill="black"/>\n<path d="M160.662 17.2111C160.686 17.1834 160.717 17.1616 160.751 17.1475C160.785 17.1334 160.822 17.1272 160.86 17.1296H163.666C163.705 17.1279 163.743 17.1343 163.779 17.1483C163.815 17.1623 163.848 17.1837 163.876 17.2111C163.919 17.2373 163.954 17.2753 163.977 17.3206C163.999 17.366 164.009 17.4168 164.004 17.4673V28.4949C164.077 29.3406 163.95 30.1916 163.632 30.9788C163.314 31.7659 162.815 32.4669 162.175 33.0248C160.813 33.9745 159.176 34.4492 157.517 34.3756C156.958 34.3756 156.353 34.3756 155.619 34.2591C155.583 34.2549 155.548 34.2433 155.516 34.225C155.484 34.2066 155.456 34.1819 155.435 34.1524C155.413 34.123 155.397 34.0893 155.389 34.0536C155.381 34.0178 155.38 33.9808 155.386 33.9447L155.491 31.4527C155.491 31.2431 155.584 31.1499 155.806 31.1849C156.333 31.2727 156.866 31.3194 157.401 31.3246C158.232 31.3728 159.054 31.1344 159.73 30.6492C160.022 30.3724 160.247 30.0319 160.386 29.6543C160.525 29.2766 160.576 28.8719 160.533 28.4716C160.533 28.4716 160.533 28.4018 160.533 28.3901C160.52 28.3806 160.504 28.3755 160.487 28.3755C160.47 28.3755 160.454 28.3806 160.44 28.3901C160.09 28.7329 159.672 28.9982 159.212 29.1687C158.753 29.3392 158.263 29.4112 157.774 29.3799C156.768 29.3865 155.78 29.1252 154.909 28.623C154.001 28.067 153.336 27.1898 153.046 26.166C152.923 25.7632 152.837 25.35 152.79 24.9316C152.743 24.5124 152.708 23.9651 152.685 23.2897C152.669 22.2488 152.814 21.2117 153.116 20.2154C153.435 19.2856 154.027 18.4738 154.816 17.8865C155.619 17.289 156.598 16.9737 157.599 16.9898C158.128 16.9565 158.658 17.044 159.148 17.2458C159.638 17.4475 160.076 17.7582 160.429 18.1543H160.533C160.533 18.1543 160.533 18.1543 160.533 18.0611V17.4673C160.535 17.4179 160.548 17.3696 160.57 17.3254C160.592 17.2813 160.623 17.2423 160.662 17.2111ZM160.58 23.2897C160.611 22.9021 160.611 22.5127 160.58 22.1252C160.551 21.8719 160.497 21.6222 160.417 21.3799C160.295 20.9621 160.047 20.5921 159.707 20.3202C159.343 20.0533 158.9 19.9142 158.449 19.9243C158.009 19.9157 157.578 20.0552 157.226 20.3202C156.883 20.5959 156.624 20.9633 156.481 21.3799C156.229 22.0002 156.114 22.6675 156.143 23.3363C156.117 23.689 156.117 24.0432 156.143 24.3959C156.17 24.6982 156.249 24.9936 156.376 25.2693C156.499 25.6931 156.761 26.0626 157.122 26.3173C157.493 26.5894 157.942 26.7325 158.402 26.7249C158.864 26.7407 159.316 26.5967 159.683 26.3173C160.02 26.0594 160.265 25.7002 160.382 25.2926C160.527 24.6351 160.593 23.9628 160.58 23.2897Z" fill="black"/>\n<path d="M172.024 15C172.024 11.6863 174.71 9 178.024 9H202.024C205.338 9 208.024 11.6863 208.024 15V25C208.024 28.3137 205.338 31 202.024 31H178.024C174.71 31 172.024 28.3137 172.024 25V15Z" fill="#FEFEFE"/>\n<path d="M178.522 15.5449V24H179.834V21.1523H181.792C183.45 21.1523 184.622 20.0156 184.622 18.3633C184.622 16.6875 183.485 15.5449 181.833 15.5449H178.522ZM179.834 16.7051H181.487C182.641 16.7051 183.28 17.291 183.28 18.3633C183.28 19.4121 182.618 19.998 181.487 19.998H179.834V16.7051ZM187.627 16.6992H189.479C190.493 16.6992 191.114 17.2559 191.114 18.1758C191.114 19.1191 190.528 19.6582 189.514 19.6582H187.627V16.6992ZM187.627 20.7773H189.479L191.202 24H192.719L190.821 20.5605C191.852 20.209 192.461 19.2832 192.461 18.1465C192.461 16.5586 191.366 15.5449 189.661 15.5449H186.315V24H187.627V20.7773ZM197.934 15.3398C195.508 15.3398 193.985 17.0391 193.985 19.7695C193.985 22.4941 195.479 24.2051 197.934 24.2051C200.383 24.2051 201.872 22.4883 201.872 19.7695C201.872 17.0449 200.372 15.3398 197.934 15.3398ZM197.934 16.5645C199.54 16.5645 200.53 17.8066 200.53 19.7695C200.53 21.7207 199.54 22.9805 197.934 22.9805C196.311 22.9805 195.327 21.7207 195.327 19.7695C195.327 17.8066 196.34 16.5645 197.934 16.5645Z" fill="black"/>\n<path d="M178.024 10H202.024V8H178.024V10ZM207.024 15V25H209.024V15H207.024ZM202.024 30H178.024V32H202.024V30ZM173.024 25V15H171.024V25H173.024ZM178.024 30C175.263 30 173.024 27.7614 173.024 25H171.024C171.024 28.866 174.158 32 178.024 32V30ZM207.024 25C207.024 27.7614 204.785 30 202.024 30V32C205.89 32 209.024 28.866 209.024 25H207.024ZM202.024 10C204.785 10 207.024 12.2386 207.024 15H209.024C209.024 11.134 205.89 8 202.024 8V10ZM178.024 8C174.158 8 171.024 11.134 171.024 15H173.024C173.024 12.2386 175.263 10 178.024 10V8Z" fill="black"/>\n</svg>'},{size:e=>({width:800,height:220+110*(e.order.order_item.length+e.paymentInfo.length)})})},p={id:"d1751bfc-d8e0-42c9-babb-6f74e91337e0",creator_id:"38188fc8-1d15-4494-87a9-e9bd31263254",updater_id:"38188fc8-1d15-4494-87a9-e9bd31263254",created_at:"2022-07-30T16:40:45.884282+07:00",updated_at:"2024-03-11T09:35:37.938284+07:00",business_id:"6677f055-ab96-4dee-acd7-888c1cb40453",font_size:"16",title:"Hóa đơn bán hàng",show_title:!0,phone_number:"+84336022356",show_phone_number:!0,note:"Thanh toán tiền mặt hoặc chuyển khoản",show_note:!0,avatar:"small",show_avatar:!0,footer:"Cảm ơn quý khách và hẹn gặp lại.",show_footer:!0,qr_code:!0,barcode:!0,other_discount:!0,vat:8,show_vat:!0,amount_paid:!0,debt_amount:!0,bank_account:!0,logo_sbh:!0,name_buyer:!0,phone_buyer:!0,address_buyer:!0,note_buyer:!0,points_buyer:!0,name_seller:!0,name_table:!0,time_service:!0,show_viet_qr_code:!0,show_biz_address:!0,free_print_limit:5,template_type:"framed",show_unit:!0,paper_size:"80mm",show_sign:!0,provisional_invoice_qr:{active:!0,payment_type:"VCB"},store_description:"sdfsadf sdf sd",show_store_description:!0,code_buyer:!0};exports.default=(e,n)=>g[e]({...n,configs:n.configs||p});
|
package/index.d.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@finan-me/fe-reports",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.es.js",
|
|
7
|
+
"types": "index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
10
|
+
"storybook": "start-storybook -p 6006",
|
|
11
|
+
"build-storybook": "build-storybook",
|
|
12
|
+
"build": "rollup -c",
|
|
13
|
+
"minor": "npm version minor",
|
|
14
|
+
"patch": "npm version patch"
|
|
15
|
+
},
|
|
16
|
+
"author": "",
|
|
17
|
+
"license": "ISC",
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@babel/core": "^7.17.9",
|
|
20
|
+
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
21
|
+
"@babel/preset-typescript": "^7.16.7",
|
|
22
|
+
"@rollup/plugin-commonjs": "^22.0.0",
|
|
23
|
+
"@rollup/plugin-node-resolve": "^13.2.1",
|
|
24
|
+
"@rollup/plugin-typescript": "^8.3.2",
|
|
25
|
+
"@rollup/plugin-url": "^6.1.0",
|
|
26
|
+
"@storybook/addon-actions": "^6.4.22",
|
|
27
|
+
"@storybook/addon-essentials": "^6.4.22",
|
|
28
|
+
"@storybook/addon-links": "^6.4.22",
|
|
29
|
+
"@storybook/html": "^6.4.22",
|
|
30
|
+
"babel-loader": "^8.2.5",
|
|
31
|
+
"bwip-js": "^3.0.4",
|
|
32
|
+
"js-base64": "^3.7.2",
|
|
33
|
+
"numeral": "^2.0.6",
|
|
34
|
+
"nunjucks": "^3.2.3",
|
|
35
|
+
"qrcode": "^1.5.0",
|
|
36
|
+
"rollup": "^2.79.2",
|
|
37
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
38
|
+
"rollup-plugin-string": "^3.0.0",
|
|
39
|
+
"rollup-plugin-terser": "^7.0.2"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist/*.js",
|
|
43
|
+
"dist/**/*.js",
|
|
44
|
+
"index.d.ts",
|
|
45
|
+
"ReadMe.md"
|
|
46
|
+
],
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"bwip-js": "^3.0.4",
|
|
49
|
+
"js-base64": "^3.7.2",
|
|
50
|
+
"numeral": "^2.0.6",
|
|
51
|
+
"nunjucks": "^3.2.3",
|
|
52
|
+
"qrcode": "^1.5.0"
|
|
53
|
+
}
|
|
54
|
+
}
|