@feedmepos/mf-order-setting 0.0.36 → 0.0.37

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.
Files changed (40) hide show
  1. package/dist/{KioskDevicesView-wPKewwAS.js → KioskDevicesView-D9PQ22G6.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BuwHk_0a.js} +2 -2
  3. package/dist/{KioskSettingView-CV54HpY2.js → KioskSettingView-C98iSa7q.js} +1 -1
  4. package/dist/{KioskView-B4mggCt0.js → KioskView-C6s4u6vt.js} +7 -7
  5. package/dist/{OrderSettingsView-CKGRFx_2.js → OrderSettingsView-DFB_C-VO.js} +6030 -5897
  6. package/dist/{app-D4exdzAx.js → app-86WCOyBO.js} +21 -9
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-C_sCJHuD.js → dayjs.min-BiuO1l2_.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +12 -0
  10. package/dist/frontend/mf-order/src/helpers/order-setting.d.ts +6 -0
  11. package/dist/frontend/mf-order/src/main.d.ts +12 -0
  12. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +27 -0
  13. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  14. package/dist/{index-Cvhc_ltu.js → index-DZKSDqn_.js} +2 -2
  15. package/dist/menu.dto-CT1XwUKO.js +127978 -0
  16. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +24 -24
  17. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +48 -48
  18. package/dist/package/entity/order/menu/menu.dto.d.ts +10 -0
  19. package/dist/package/entity/order/order-item/order-item.dto.d.ts +48 -48
  20. package/dist/package/entity/order/order.do.d.ts +20 -8
  21. package/dist/package/entity/order/order.dto.d.ts +280 -164
  22. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +33 -0
  23. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +18 -0
  24. package/dist/package/entity/order-setting/order-setting.do.d.ts +168 -0
  25. package/dist/package/entity/order-setting/order-setting.dto.d.ts +134 -0
  26. package/dist/package/entity/order-setting/queue/queue.do.d.ts +95 -1613
  27. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +62 -110
  28. package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +72 -0
  29. package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +101 -0
  30. package/dist/package/entity/queue/queue.do.d.ts +18 -6
  31. package/dist/package/entity/queue/queue.dto.d.ts +52 -38
  32. package/dist/package/entity/restaurant/restaurant.dto.d.ts +81 -17
  33. package/package.json +1 -1
  34. package/src/helpers/order-setting.ts +20 -0
  35. package/src/locales/en-US.json +4 -0
  36. package/src/locales/th-TH.json +4 -0
  37. package/src/locales/zh-CN.json +4 -0
  38. package/src/stores/order-setting/mapper.ts +56 -56
  39. package/src/views/order-settings/general/GeneralSetting.vue +159 -4
  40. package/dist/menu.dto-CeUdKgTW.js +0 -103445
@@ -206,12 +206,12 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
206
206
  }, "strip", z.ZodTypeAny, {
207
207
  id?: string | null | undefined;
208
208
  remark?: string | null | undefined;
209
+ productId?: string | null | undefined;
210
+ product?: any;
209
211
  is?: {
210
212
  delivery?: boolean | null | undefined;
211
213
  takeaway: boolean;
212
214
  } | null | undefined;
213
- productId?: string | null | undefined;
214
- product?: any;
215
215
  nettTotal?: {
216
216
  currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
217
217
  amount: number;
@@ -261,12 +261,12 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
261
261
  }, {
262
262
  id?: string | null | undefined;
263
263
  remark?: string | null | undefined;
264
+ productId?: string | null | undefined;
265
+ product?: any;
264
266
  is?: {
265
267
  delivery?: boolean | null | undefined;
266
268
  takeaway: boolean;
267
269
  } | null | undefined;
268
- productId?: string | null | undefined;
269
- product?: any;
270
270
  nettTotal?: {
271
271
  currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
272
272
  amount: number;
@@ -320,12 +320,12 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
320
320
  product: {
321
321
  id?: string | null | undefined;
322
322
  remark?: string | null | undefined;
323
+ productId?: string | null | undefined;
324
+ product?: any;
323
325
  is?: {
324
326
  delivery?: boolean | null | undefined;
325
327
  takeaway: boolean;
326
328
  } | null | undefined;
327
- productId?: string | null | undefined;
328
- product?: any;
329
329
  nettTotal?: {
330
330
  currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
331
331
  amount: number;
@@ -379,12 +379,12 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
379
379
  product: {
380
380
  id?: string | null | undefined;
381
381
  remark?: string | null | undefined;
382
+ productId?: string | null | undefined;
383
+ product?: any;
382
384
  is?: {
383
385
  delivery?: boolean | null | undefined;
384
386
  takeaway: boolean;
385
387
  } | null | undefined;
386
- productId?: string | null | undefined;
387
- product?: any;
388
388
  nettTotal?: {
389
389
  currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
390
390
  amount: number;
@@ -435,7 +435,7 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
435
435
  }>;
436
436
  export declare const RestaurantQueuePOSDto: z.ZodObject<{
437
437
  _id: z.ZodString;
438
- userId: z.ZodString;
438
+ userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
439
439
  pf_user: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodAny>>>;
440
440
  code: z.ZodString;
441
441
  restaurantId: z.ZodString;
@@ -447,6 +447,7 @@ export declare const RestaurantQueuePOSDto: z.ZodObject<{
447
447
  cart: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
448
448
  }, "strip", z.ZodTypeAny, {
449
449
  pax?: number | null | undefined;
450
+ userId?: string | null | undefined;
450
451
  pf_restaurant?: any;
451
452
  pf_user?: any;
452
453
  modifiedAt?: string | null | undefined;
@@ -454,11 +455,11 @@ export declare const RestaurantQueuePOSDto: z.ZodObject<{
454
455
  status: "QUEUE" | "ARRIVED" | "EXPIRED" | "CALLED" | "CANCEL";
455
456
  _id: string;
456
457
  restaurantId: string;
457
- userId: string;
458
458
  createdAt: string;
459
459
  cart: any[];
460
460
  }, {
461
461
  pax?: number | null | undefined;
462
+ userId?: string | null | undefined;
462
463
  pf_restaurant?: any;
463
464
  pf_user?: any;
464
465
  modifiedAt?: string | null | undefined;
@@ -467,12 +468,11 @@ export declare const RestaurantQueuePOSDto: z.ZodObject<{
467
468
  status: "QUEUE" | "ARRIVED" | "EXPIRED" | "CALLED" | "CANCEL";
468
469
  _id: string;
469
470
  restaurantId: string;
470
- userId: string;
471
471
  createdAt: string;
472
472
  }>;
473
473
  export declare const RestaurantQueueDto: z.ZodObject<{
474
474
  _id: z.ZodString;
475
- userId: z.ZodString;
475
+ userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
476
476
  pf_user: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodAny>>>;
477
477
  code: z.ZodString;
478
478
  restaurantId: z.ZodString;
@@ -1726,16 +1726,16 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1726
1726
  }, "strip", z.ZodTypeAny, {
1727
1727
  id?: string | null | undefined;
1728
1728
  remark?: string | null | undefined;
1729
- is?: {
1730
- delivery?: boolean | null | undefined;
1731
- takeaway: boolean;
1732
- } | null | undefined;
1733
1729
  productId?: string | null | undefined;
1734
1730
  variantSelected?: {
1735
1731
  name: string[];
1736
1732
  combinationKey: string;
1737
1733
  } | null | undefined;
1738
1734
  upsellingId?: string | null | undefined;
1735
+ is?: {
1736
+ delivery?: boolean | null | undefined;
1737
+ takeaway: boolean;
1738
+ } | null | undefined;
1739
1739
  customer?: any;
1740
1740
  nettTotal?: {
1741
1741
  currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
@@ -1877,10 +1877,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1877
1877
  }, {
1878
1878
  id?: string | null | undefined;
1879
1879
  remark?: string | null | undefined;
1880
- is?: {
1881
- delivery?: boolean | null | undefined;
1882
- takeaway: boolean;
1883
- } | null | undefined;
1884
1880
  taxes?: Record<string, any> | undefined;
1885
1881
  productId?: string | null | undefined;
1886
1882
  variantSelected?: {
@@ -1888,6 +1884,10 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1888
1884
  combinationKey: string;
1889
1885
  } | null | undefined;
1890
1886
  upsellingId?: string | null | undefined;
1887
+ is?: {
1888
+ delivery?: boolean | null | undefined;
1889
+ takeaway: boolean;
1890
+ } | null | undefined;
1891
1891
  customer?: any;
1892
1892
  adjustments?: Record<string, any> | undefined;
1893
1893
  nettTotal?: {
@@ -7237,7 +7237,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7237
7237
  address: string;
7238
7238
  coordinates: number[];
7239
7239
  }>>>>;
7240
+ slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7240
7241
  }>, "strip", z.ZodTypeAny, {
7242
+ slot?: string | null | undefined;
7241
7243
  remark?: string | null | undefined;
7242
7244
  pickupPoint?: {
7243
7245
  name: string;
@@ -7248,6 +7250,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7248
7250
  contactNumber: string;
7249
7251
  pickupAt: string;
7250
7252
  }, {
7253
+ slot?: string | null | undefined;
7251
7254
  remark?: string | null | undefined;
7252
7255
  pickupPoint?: {
7253
7256
  name: string;
@@ -8145,7 +8148,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8145
8148
  }>>>;
8146
8149
  deliveryAt: z.ZodString;
8147
8150
  allocatingAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8151
+ slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8148
8152
  }>, "strip", z.ZodTypeAny, {
8153
+ slot?: string | null | undefined;
8149
8154
  providers?: ({
8150
8155
  instruction?: string | null | undefined;
8151
8156
  driver?: {
@@ -8340,6 +8345,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8340
8345
  contactNumber: string;
8341
8346
  deliveryAt: string;
8342
8347
  }, {
8348
+ slot?: string | null | undefined;
8343
8349
  providers?: ({
8344
8350
  instruction?: string | null | undefined;
8345
8351
  driver?: {
@@ -9180,6 +9186,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
9180
9186
  };
9181
9187
  type: "DINE_IN";
9182
9188
  } | {
9189
+ slot?: string | null | undefined;
9183
9190
  remark?: string | null | undefined;
9184
9191
  pickupPoint?: {
9185
9192
  name: string;
@@ -9190,6 +9197,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
9190
9197
  contactNumber: string;
9191
9198
  pickupAt: string;
9192
9199
  } | {
9200
+ slot?: string | null | undefined;
9193
9201
  providers?: ({
9194
9202
  instruction?: string | null | undefined;
9195
9203
  driver?: {
@@ -9390,16 +9398,16 @@ export declare const RestaurantQueueDto: z.ZodObject<{
9390
9398
  draft: {
9391
9399
  id?: string | null | undefined;
9392
9400
  remark?: string | null | undefined;
9393
- is?: {
9394
- delivery?: boolean | null | undefined;
9395
- takeaway: boolean;
9396
- } | null | undefined;
9397
9401
  productId?: string | null | undefined;
9398
9402
  variantSelected?: {
9399
9403
  name: string[];
9400
9404
  combinationKey: string;
9401
9405
  } | null | undefined;
9402
9406
  upsellingId?: string | null | undefined;
9407
+ is?: {
9408
+ delivery?: boolean | null | undefined;
9409
+ takeaway: boolean;
9410
+ } | null | undefined;
9403
9411
  customer?: any;
9404
9412
  nettTotal?: {
9405
9413
  currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
@@ -10270,6 +10278,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
10270
10278
  };
10271
10279
  type: "DINE_IN";
10272
10280
  } | {
10281
+ slot?: string | null | undefined;
10273
10282
  remark?: string | null | undefined;
10274
10283
  pickupPoint?: {
10275
10284
  name: string;
@@ -10280,6 +10289,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
10280
10289
  contactNumber: string;
10281
10290
  pickupAt: string;
10282
10291
  } | {
10292
+ slot?: string | null | undefined;
10283
10293
  providers?: ({
10284
10294
  instruction?: string | null | undefined;
10285
10295
  driver?: {
@@ -10475,10 +10485,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
10475
10485
  draft: {
10476
10486
  id?: string | null | undefined;
10477
10487
  remark?: string | null | undefined;
10478
- is?: {
10479
- delivery?: boolean | null | undefined;
10480
- takeaway: boolean;
10481
- } | null | undefined;
10482
10488
  taxes?: Record<string, any> | undefined;
10483
10489
  productId?: string | null | undefined;
10484
10490
  variantSelected?: {
@@ -10486,6 +10492,10 @@ export declare const RestaurantQueueDto: z.ZodObject<{
10486
10492
  combinationKey: string;
10487
10493
  } | null | undefined;
10488
10494
  upsellingId?: string | null | undefined;
10495
+ is?: {
10496
+ delivery?: boolean | null | undefined;
10497
+ takeaway: boolean;
10498
+ } | null | undefined;
10489
10499
  customer?: any;
10490
10500
  adjustments?: Record<string, any> | undefined;
10491
10501
  nettTotal?: {
@@ -10631,6 +10641,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
10631
10641
  }, "strip", z.ZodTypeAny, {
10632
10642
  orderId?: string | null | undefined;
10633
10643
  pax?: number | null | undefined;
10644
+ userId?: string | null | undefined;
10634
10645
  pf_restaurant?: {
10635
10646
  pickup?: {
10636
10647
  catalogId?: string | null | undefined;
@@ -11401,6 +11412,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
11401
11412
  };
11402
11413
  type: "DINE_IN";
11403
11414
  } | {
11415
+ slot?: string | null | undefined;
11404
11416
  remark?: string | null | undefined;
11405
11417
  pickupPoint?: {
11406
11418
  name: string;
@@ -11411,6 +11423,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
11411
11423
  contactNumber: string;
11412
11424
  pickupAt: string;
11413
11425
  } | {
11426
+ slot?: string | null | undefined;
11414
11427
  providers?: ({
11415
11428
  instruction?: string | null | undefined;
11416
11429
  driver?: {
@@ -11611,16 +11624,16 @@ export declare const RestaurantQueueDto: z.ZodObject<{
11611
11624
  draft: {
11612
11625
  id?: string | null | undefined;
11613
11626
  remark?: string | null | undefined;
11614
- is?: {
11615
- delivery?: boolean | null | undefined;
11616
- takeaway: boolean;
11617
- } | null | undefined;
11618
11627
  productId?: string | null | undefined;
11619
11628
  variantSelected?: {
11620
11629
  name: string[];
11621
11630
  combinationKey: string;
11622
11631
  } | null | undefined;
11623
11632
  upsellingId?: string | null | undefined;
11633
+ is?: {
11634
+ delivery?: boolean | null | undefined;
11635
+ takeaway: boolean;
11636
+ } | null | undefined;
11624
11637
  customer?: any;
11625
11638
  nettTotal?: {
11626
11639
  currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
@@ -11860,12 +11873,12 @@ export declare const RestaurantQueueDto: z.ZodObject<{
11860
11873
  status: "QUEUE" | "ARRIVED" | "EXPIRED" | "CALLED" | "CANCEL";
11861
11874
  _id: string;
11862
11875
  restaurantId: string;
11863
- userId: string;
11864
11876
  createdAt: string;
11865
11877
  cart: any[];
11866
11878
  }, {
11867
11879
  orderId?: string | null | undefined;
11868
11880
  pax?: number | null | undefined;
11881
+ userId?: string | null | undefined;
11869
11882
  pf_restaurant?: {
11870
11883
  pickup?: {
11871
11884
  catalogId?: string | null | undefined;
@@ -12626,6 +12639,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
12626
12639
  };
12627
12640
  type: "DINE_IN";
12628
12641
  } | {
12642
+ slot?: string | null | undefined;
12629
12643
  remark?: string | null | undefined;
12630
12644
  pickupPoint?: {
12631
12645
  name: string;
@@ -12636,6 +12650,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
12636
12650
  contactNumber: string;
12637
12651
  pickupAt: string;
12638
12652
  } | {
12653
+ slot?: string | null | undefined;
12639
12654
  providers?: ({
12640
12655
  instruction?: string | null | undefined;
12641
12656
  driver?: {
@@ -12831,10 +12846,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
12831
12846
  draft: {
12832
12847
  id?: string | null | undefined;
12833
12848
  remark?: string | null | undefined;
12834
- is?: {
12835
- delivery?: boolean | null | undefined;
12836
- takeaway: boolean;
12837
- } | null | undefined;
12838
12849
  taxes?: Record<string, any> | undefined;
12839
12850
  productId?: string | null | undefined;
12840
12851
  variantSelected?: {
@@ -12842,6 +12853,10 @@ export declare const RestaurantQueueDto: z.ZodObject<{
12842
12853
  combinationKey: string;
12843
12854
  } | null | undefined;
12844
12855
  upsellingId?: string | null | undefined;
12856
+ is?: {
12857
+ delivery?: boolean | null | undefined;
12858
+ takeaway: boolean;
12859
+ } | null | undefined;
12845
12860
  customer?: any;
12846
12861
  adjustments?: Record<string, any> | undefined;
12847
12862
  nettTotal?: {
@@ -12986,7 +13001,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
12986
13001
  status: "QUEUE" | "ARRIVED" | "EXPIRED" | "CALLED" | "CANCEL";
12987
13002
  _id: string;
12988
13003
  restaurantId: string;
12989
- userId: string;
12990
13004
  createdAt: string;
12991
13005
  }>;
12992
13006
  export declare const RestaurantQueueUpdateStatusDto: z.ZodObject<{
@@ -1369,24 +1369,72 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1369
1369
  }>>>>;
1370
1370
  queueSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1371
1371
  enableOrder: z.ZodBoolean;
1372
- initialNumber: z.ZodNumber;
1373
- endNumber: z.ZodNumber;
1374
- currentNumber: z.ZodNumber;
1375
1372
  autoCalledLimit: z.ZodNumber;
1376
1373
  duration: z.ZodDefault<z.ZodNumber>;
1374
+ codeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1375
+ start: z.ZodNumber;
1376
+ end: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1377
+ current: z.ZodNumber;
1378
+ prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1379
+ pax: z.ZodObject<{
1380
+ min: z.ZodNumber;
1381
+ max: z.ZodNumber;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ min: number;
1384
+ max: number;
1385
+ }, {
1386
+ min: number;
1387
+ max: number;
1388
+ }>;
1389
+ }, "strip", z.ZodTypeAny, {
1390
+ prefix?: string | null | undefined;
1391
+ end?: number | null | undefined;
1392
+ pax: {
1393
+ min: number;
1394
+ max: number;
1395
+ };
1396
+ start: number;
1397
+ current: number;
1398
+ }, {
1399
+ prefix?: string | null | undefined;
1400
+ end?: number | null | undefined;
1401
+ pax: {
1402
+ min: number;
1403
+ max: number;
1404
+ };
1405
+ start: number;
1406
+ current: number;
1407
+ }>, "many">>>;
1408
+ disableRemoteQueue: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1377
1409
  }, "strip", z.ZodTypeAny, {
1378
- duration: number;
1410
+ codeSettings?: {
1411
+ prefix?: string | null | undefined;
1412
+ end?: number | null | undefined;
1413
+ pax: {
1414
+ min: number;
1415
+ max: number;
1416
+ };
1417
+ start: number;
1418
+ current: number;
1419
+ }[] | null | undefined;
1420
+ disableRemoteQueue?: boolean | null | undefined;
1379
1421
  enableOrder: boolean;
1380
- initialNumber: number;
1381
- endNumber: number;
1382
- currentNumber: number;
1383
1422
  autoCalledLimit: number;
1423
+ duration: number;
1384
1424
  }, {
1385
1425
  duration?: number | undefined;
1426
+ codeSettings?: {
1427
+ prefix?: string | null | undefined;
1428
+ end?: number | null | undefined;
1429
+ pax: {
1430
+ min: number;
1431
+ max: number;
1432
+ };
1433
+ start: number;
1434
+ current: number;
1435
+ }[] | null | undefined;
1436
+ disableRemoteQueue?: boolean | null | undefined;
1386
1437
  enableOrder: boolean;
1387
- initialNumber: number;
1388
- endNumber: number;
1389
- currentNumber: number;
1390
1438
  autoCalledLimit: number;
1391
1439
  }>>>;
1392
1440
  upsellingSetting: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodObject<{
@@ -1683,12 +1731,20 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1683
1731
  grabfoodDelivery?: any;
1684
1732
  shopeefoodDelivery?: any;
1685
1733
  queueSetting?: {
1686
- duration: number;
1734
+ codeSettings?: {
1735
+ prefix?: string | null | undefined;
1736
+ end?: number | null | undefined;
1737
+ pax: {
1738
+ min: number;
1739
+ max: number;
1740
+ };
1741
+ start: number;
1742
+ current: number;
1743
+ }[] | null | undefined;
1744
+ disableRemoteQueue?: boolean | null | undefined;
1687
1745
  enableOrder: boolean;
1688
- initialNumber: number;
1689
- endNumber: number;
1690
- currentNumber: number;
1691
1746
  autoCalledLimit: number;
1747
+ duration: number;
1692
1748
  } | null | undefined;
1693
1749
  upsellingSetting?: {
1694
1750
  recommandation: boolean;
@@ -1960,10 +2016,18 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1960
2016
  shopeefoodDelivery?: any;
1961
2017
  queueSetting?: {
1962
2018
  duration?: number | undefined;
2019
+ codeSettings?: {
2020
+ prefix?: string | null | undefined;
2021
+ end?: number | null | undefined;
2022
+ pax: {
2023
+ min: number;
2024
+ max: number;
2025
+ };
2026
+ start: number;
2027
+ current: number;
2028
+ }[] | null | undefined;
2029
+ disableRemoteQueue?: boolean | null | undefined;
1963
2030
  enableOrder: boolean;
1964
- initialNumber: number;
1965
- endNumber: number;
1966
- currentNumber: number;
1967
2031
  autoCalledLimit: number;
1968
2032
  } | null | undefined;
1969
2033
  upsellingSetting?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-order-setting",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "type": "module",
5
5
  "module": "./dist/app.js",
6
6
  "license": "UNLICENSED",
@@ -0,0 +1,20 @@
1
+ import {type BaseOrderNumberSettings} from '@entity'
2
+ export function getSequenceStartEndLabel(sequence: BaseOrderNumberSettings) {
3
+ const digit = sequence.digit ?? 3
4
+ const start = 1
5
+ const end = Math.pow(10, digit) - 1
6
+
7
+ const s = `${sequence.prefix}${start.toString().padStart(digit, '0')}`
8
+ const e = `${sequence.prefix}${end.toString().padStart(digit, '0')}`
9
+ return { start: s, end: e }
10
+ }
11
+
12
+ export function sequenceSettingRules(errMsg: string, digit?: number| null) {
13
+ return [
14
+ () =>
15
+ (!digit && digit !== 0) ||
16
+ ((digit ?? 0) >= 1 &&
17
+ (digit ?? 0) <= 4) || errMsg
18
+ ]
19
+ }
20
+
@@ -34,6 +34,7 @@
34
34
  "asap": "ASAP",
35
35
  "auto": "Auto",
36
36
  "autoIntegration": "Auto Integration",
37
+ "autoResetOrderNumber": "Auto reset order number",
37
38
  "autoIntegrationWarning": "Auto delivery integration not available, contact our staff for more information. Reason: {reason}",
38
39
  "autoIntegrationCountryNotSupport": "Platform not support auto integration in current country.",
39
40
  "autoSendKitchen": "Auto Send Kitchen",
@@ -57,6 +58,7 @@
57
58
  "create": "Create",
58
59
  "createTestOrder": "Create Test Order",
59
60
  "credit": "Credit",
61
+ "currentNumber": "Current Number",
60
62
  "customerItemRemark": "Customer item remark",
61
63
  "customerItemRemarkSublabel": "Customer can attach remark to item",
62
64
  "customOfflinePayment": "Custom Offline Payment",
@@ -170,6 +172,7 @@
170
172
  "online": "Online",
171
173
  "operatingHour": "Operating hour",
172
174
  "orderFrom": "Order from",
175
+ "orderNumberSettings": "Order Number Settings",
173
176
  "orderSetting": "Order Setting",
174
177
  "orderType": "Order Type",
175
178
  "padDigit": "Pad Digit",
@@ -219,6 +222,7 @@
219
222
  "learnMore": "learn more"
220
223
  },
221
224
  "serve": "serve",
225
+ "sequenceSettingRules": "Cannot be less than 1 and more than 4",
222
226
  "serviceCharge": "Service Charge",
223
227
  "serviceChargeRule": "* Service Charge required POS version 4.0.0 or higher",
224
228
  "serviceChargeSublabel": "Make your own rules to omit change based on different conditions such as restaurant, dining option, items, slot, etc.",
@@ -34,6 +34,7 @@
34
34
  "asap": "ทันที",
35
35
  "auto": "อัตโนมัติ",
36
36
  "autoIntegration": "รวมอัตโนมัติ",
37
+ "autoResetOrderNumber": "รีเซ็ตหมายเลขคำสั่งซื้ออัตโนมัติ",
37
38
  "autoIntegrationWarning": "การรวมระบบการจัดส่งอัตโนมัติไม่พร้อมใช้งาน โปรดติดต่อเจ้าหน้าที่ของเราเพื่อขอข้อมูลเพิ่มเติม เหตุผล: {reason}",
38
39
  "autoIntegrationCountryNotSupport": "แพลตฟอร์มไม่รองรับการเชื่อมต่อการจัดส่งแบบไดนามิกในประเทศ/ภูมิภาคปัจจุบัน",
39
40
  "autoSendKitchen": "ส่งอัตโนมัติครัว",
@@ -57,6 +58,7 @@
57
58
  "create": "สร้าง",
58
59
  "createTestOrder": "สร้างคำสั่งซื้อทดสอบ",
59
60
  "credit": "เครดิต",
61
+ "currentNumber": "หมายเลขปัจจุบัน",
60
62
  "customerItemRemark": "หมายเหตุรายการลูกค้า",
61
63
  "customerItemRemarkSublabel": "ลูกค้าสามารถแนบหมายเหตุกับรายการได้",
62
64
  "customOfflinePayment": "การชำระเงินออฟไลน์แบบกำหนดเอง",
@@ -168,6 +170,7 @@
168
170
  "online": "ออนไลน์",
169
171
  "operatingHour": "เวลาทำการ",
170
172
  "orderFrom": "คำสั่งซื้อจาก",
173
+ "orderNumberSettings": "การตั้งค่าหมายเลขคำสั่งซื้อ",
171
174
  "orderSetting": "การตั้งค่าคำสั่งซื้อ",
172
175
  "orderType": "ประเภทคำสั่งซื้อ",
173
176
  "padDigit": "ตัวเลขบนแป้น",
@@ -215,6 +218,7 @@
215
218
  "learnMore": "เรียนรู้เพิ่มเติม"
216
219
  },
217
220
  "serve": "เสิร์ฟ",
221
+ "sequenceSettingRules": "ไม่สามารถน้อยกว่า 1 และมากกว่า 4 ได้",
218
222
  "serviceCharge": "ค่าบริการ",
219
223
  "serviceChargeRule": "* ค่าบริการจำเป็นต้องใช้ POS เวอร์ชัน 4.0.0 ขึ้นไป",
220
224
  "serviceChargeSublabel": "สร้างกฎเกณฑ์ของคุณเองเพื่อหลีกเลี่ยงการเปลี่ยนแปลงตามเงื่อนไขที่แตกต่างกัน เช่น ร้านอาหาร ตัวเลือกการรับประทานอาหาร รายการ ช่อง ฯลฯ",
@@ -34,6 +34,7 @@
34
34
  "asap": "尽快配送",
35
35
  "auto": "自动",
36
36
  "autoIntegration": "自动对接",
37
+ "autoResetOrderNumber": "自动重置订单号",
37
38
  "autoIntegrationWarning": "自动配送对接不可用, 请联络我们的工作人员了解更多信息。 原因: {reason}",
38
39
  "autoIntegrationCountryNotSupport": "平台不支持当前国家/地区的自动配送对接。",
39
40
  "autoSendKitchen": "自动发送至厨房",
@@ -58,6 +59,7 @@
58
59
  "create": "创建",
59
60
  "createTestOrder": "创建测试订单",
60
61
  "credit": "可用余额",
62
+ "currentNumber": "当前号码",
61
63
  "customerItemRemark": "客户商品备注",
62
64
  "customerItemRemarkSublabel": "客户可以为商品添加备注",
63
65
  "customOfflinePayment": "自定义线下付款方式",
@@ -172,6 +174,7 @@
172
174
  "online": "在线",
173
175
  "operatingHour": "营业时间",
174
176
  "orderFrom": "预订从",
177
+ "orderNumberSettings": "订单号设置",
175
178
  "orderSetting": "订单设置",
176
179
  "orderType": "订单类型",
177
180
  "padDigit": "位数",
@@ -221,6 +224,7 @@
221
224
  "learnMore": "了解更多"
222
225
  },
223
226
  "serve": "服务",
227
+ "sequenceSettingRules": "不能小于 1 且不能大于 4",
224
228
  "serviceCharge": "服务费",
225
229
  "serviceChargeRule": "* 服务费功能仅适用于POS版本4.0.0或更高版本。",
226
230
  "serviceChargeSublabel": "根据不同的情况,如餐厅,就餐选项,商品,时间段等,自定义规则。",