@feedmepos/mf-order-setting 0.0.102 → 0.0.103

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 (139) hide show
  1. package/dist/{DisplaySystemView-jnt6letY.js → DisplaySystemView-BBiZqcWq.js} +1497 -1468
  2. package/dist/{FoodCourtInvitationsView-DoynqFWB.js → FoodCourtInvitationsView-DwOkVs9m.js} +4 -4
  3. package/dist/{FoodCourtOrderSettingsView-DYZLhTHy.js → FoodCourtOrderSettingsView-C9Ag5Bsg.js} +1 -1
  4. package/dist/FoodCourtOrdersView-y4EwK3sn.js +1173 -0
  5. package/dist/{FoodCourtStallsView-CRMTt5BB.js → FoodCourtStallsView-Bi8H-yR7.js} +2 -2
  6. package/dist/{FoodCourtStatusView-C-b-eI-8.js → FoodCourtStatusView-jugAzTKg.js} +1 -1
  7. package/dist/KioskDevicesView-CYiew4X5.js +4 -0
  8. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-BCvbeo7R.js +1497 -0
  9. package/dist/KioskSettingView-AKBiij9a.js +1124 -0
  10. package/dist/KioskView-zKB6mC8I.js +765 -0
  11. package/dist/{OrderSettingsView-BBCnekaj.js → OrderSettingsView-CoV_yX3m.js} +22064 -21635
  12. package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-DjoTyV6m.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-KSMU_jGl.js} +1 -1
  13. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  14. package/dist/{app-Dvk30CIa.js → app-CmuI6uSl.js} +3589 -2902
  15. package/dist/app.js +1 -1
  16. package/dist/{dayjs.min-DUFHhM7O.js → dayjs.min-B3MssMma.js} +1 -1
  17. package/dist/{featureFlag-BvcirzHS.js → featureFlag-CWvkPOBY.js} +123 -130
  18. package/dist/frontend/mf-order/src/api/food-court/index.d.ts +51 -0
  19. package/dist/frontend/mf-order/src/api/kiosk/index.d.ts +4 -0
  20. package/dist/frontend/mf-order/src/api/payment/index.d.ts +8 -0
  21. package/dist/frontend/mf-order/src/api/queue/index.d.ts +13 -0
  22. package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +9 -1
  23. package/dist/frontend/mf-order/src/app.d.ts +687 -0
  24. package/dist/frontend/mf-order/src/main.d.ts +687 -0
  25. package/dist/frontend/mf-order/src/modules/display-system/interface.d.ts +5 -0
  26. package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +4 -0
  27. package/dist/frontend/mf-order/src/modules/kiosk/license.d.ts +92 -0
  28. package/dist/frontend/mf-order/src/modules/kiosk/outletLoad.d.ts +15 -0
  29. package/dist/frontend/mf-order/src/modules/kiosk/settingsSections.d.ts +24 -0
  30. package/dist/frontend/mf-order/src/modules/kiosk/useKioskSettings.d.ts +29 -0
  31. package/dist/frontend/mf-order/src/modules/payment/paymentDevice.d.ts +58 -0
  32. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +67 -1
  33. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +19 -10
  34. package/dist/frontend/mf-order/src/stores/payment/index.d.ts +59 -1
  35. package/dist/frontend/mf-order/src/views/food-court/food-court-export.d.ts +38 -0
  36. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceCard.vue.d.ts +3 -0
  37. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +7 -0
  38. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskLicenseSummary.vue.d.ts +7 -0
  39. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskLicensesView.vue.d.ts +6 -0
  40. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskOtpDialog.vue.d.ts +3 -0
  41. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskPaymentDeviceCard.vue.d.ts +17 -0
  42. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +5 -2
  43. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +0 -9
  44. package/dist/frontend/mf-order/src/views/order-settings/pos-status/PosOrderingStatus.vue.d.ts +17 -0
  45. package/dist/frontend/mf-order/src/views/order-settings/pos-status/pos-status.d.ts +44 -0
  46. package/dist/frontend/mf-order/src/views/order-settings/queue/called-message.d.ts +1 -0
  47. package/dist/frontend/mf-order/src/views/order-settings/queue/phone-join-mode.d.ts +25 -0
  48. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/{index-C4n5H7t3.js → index-BQa8AudZ.js} +3 -3
  50. package/dist/index-CMOvrim4.js +147 -0
  51. package/dist/{index-CW4VlFWz.js → index-D5qh2_4b.js} +1 -1
  52. package/dist/{index-C5n6lil6.js → index-Dup6kWLX.js} +6 -6
  53. package/dist/{index-CGxCWKHB.js → index-wuFIsXHT.js} +188 -179
  54. package/dist/{order.dto-Cb_gh3iB.js → order.dto-BD9raQG5.js} +2782 -2735
  55. package/dist/package/entity/display/blocks.d.ts +12 -2
  56. package/dist/package/entity/marketing/marketing.dto.d.ts +18 -18
  57. package/dist/package/entity/order-platform/external/reconciliation/external-reconciliation.do.d.ts +24 -24
  58. package/dist/package/entity/order-platform/menu.dto.d.ts +20 -20
  59. package/dist/package/entity/order-setting/order-setting.do.d.ts +10 -0
  60. package/dist/package/entity/order-setting/order-setting.dto.d.ts +26 -0
  61. package/dist/package/entity/order-setting/queue/queue.do.d.ts +23 -0
  62. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +14 -0
  63. package/dist/package/entity/queue/queue.do.d.ts +153 -0
  64. package/dist/package/entity/queue/queue.dto.d.ts +221 -2
  65. package/dist/package/entity/queue/queue.enum.d.ts +5 -0
  66. package/dist/package/entity/restaurant/restaurant.dto.d.ts +20 -0
  67. package/dist/style.css +1 -1
  68. package/dist/{index-ILnighyU.js → useInternalUser-CHtaur9A.js} +93 -81
  69. package/package.json +2 -1
  70. package/src/api/food-court/index.ts +63 -0
  71. package/src/api/kiosk/index.ts +8 -0
  72. package/src/api/payment/index.ts +18 -1
  73. package/src/api/queue/index.ts +39 -0
  74. package/src/api/restaurant-setting/index.ts +14 -0
  75. package/src/locales/en-US.json +197 -26
  76. package/src/locales/ja-JP.json +193 -23
  77. package/src/locales/th-TH.json +193 -21
  78. package/src/locales/zh-CN.json +197 -23
  79. package/src/modules/display-system/interface.spec.ts +26 -1
  80. package/src/modules/display-system/interface.ts +20 -0
  81. package/src/modules/kiosk/interface.ts +4 -0
  82. package/src/modules/kiosk/license.spec.ts +167 -0
  83. package/src/modules/kiosk/license.ts +175 -0
  84. package/src/modules/kiosk/outletLoad.spec.ts +25 -0
  85. package/src/modules/kiosk/outletLoad.ts +19 -0
  86. package/src/modules/kiosk/settingsSections.spec.ts +85 -0
  87. package/src/modules/kiosk/settingsSections.ts +82 -0
  88. package/src/modules/kiosk/useKioskSettings.spec.ts +157 -0
  89. package/src/modules/kiosk/useKioskSettings.ts +61 -0
  90. package/src/modules/payment/paymentDevice.spec.ts +175 -0
  91. package/src/modules/payment/paymentDevice.ts +156 -0
  92. package/src/stores/kiosk/index.ts +16 -1
  93. package/src/stores/kiosk/mapper.ts +2 -0
  94. package/src/stores/order-setting/index.spec.ts +83 -0
  95. package/src/stores/order-setting/index.ts +49 -27
  96. package/src/stores/payment/index.spec.ts +86 -0
  97. package/src/stores/payment/index.ts +48 -2
  98. package/src/views/display-system/DisplayInspector.vue +17 -8
  99. package/src/views/display-system/DisplayTemplateEditor.vue +3 -1
  100. package/src/views/food-court/FoodCourtOrdersView.vue +46 -1
  101. package/src/views/food-court/food-court-export.spec.ts +151 -0
  102. package/src/views/food-court/food-court-export.ts +283 -0
  103. package/src/views/kiosk/KioskStatePanel.vue +2 -2
  104. package/src/views/kiosk/KioskView.vue +219 -82
  105. package/src/views/kiosk/devices/KioskDeviceCard.vue +148 -23
  106. package/src/views/kiosk/devices/KioskDevicesView.vue +48 -10
  107. package/src/views/kiosk/devices/KioskLicenseSummary.vue +79 -0
  108. package/src/views/kiosk/devices/KioskLicensesView.vue +152 -0
  109. package/src/views/kiosk/devices/KioskOtpDialog.vue +41 -1
  110. package/src/views/kiosk/devices/KioskPaymentDeviceCard.spec.ts +97 -0
  111. package/src/views/kiosk/devices/KioskPaymentDeviceCard.vue +221 -0
  112. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +1 -1
  113. package/src/views/kiosk/settings/KioskSettingView.vue +702 -419
  114. package/src/views/order-settings/delivery/DeliverySetting.vue +4 -0
  115. package/src/views/order-settings/dine-in/DineInSetting.vue +4 -0
  116. package/src/views/order-settings/pickup/PickUpSetting.vue +4 -4
  117. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +0 -23
  118. package/src/views/order-settings/pos-status/PosOrderingStatus.spec.ts +207 -0
  119. package/src/views/order-settings/pos-status/PosOrderingStatus.vue +209 -0
  120. package/src/views/order-settings/pos-status/pos-status.spec.ts +103 -0
  121. package/src/views/order-settings/pos-status/pos-status.ts +86 -0
  122. package/src/views/order-settings/queue/QueueSetting.source.spec.ts +43 -0
  123. package/src/views/order-settings/queue/QueueSetting.vue +289 -15
  124. package/src/views/order-settings/queue/called-message.spec.ts +29 -1
  125. package/src/views/order-settings/queue/called-message.ts +18 -0
  126. package/src/views/order-settings/queue/phone-join-mode.spec.ts +90 -0
  127. package/src/views/order-settings/queue/phone-join-mode.ts +49 -0
  128. package/dist/FoodCourtOrdersView-CAPOycT3.js +0 -544
  129. package/dist/KioskDevicesView-B0U9JxRl.js +0 -4
  130. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-V3ai4FVI.js +0 -937
  131. package/dist/KioskSettingView-rdom_aS8.js +0 -880
  132. package/dist/KioskView-DOON9zR6.js +0 -516
  133. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +0 -10
  134. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +0 -15
  135. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +0 -10
  136. package/dist/index-CaHG3M7C.js +0 -135
  137. package/src/views/kiosk/settings/KioskDisplayStandSection.vue +0 -189
  138. package/src/views/kiosk/settings/KioskInstructionSection.vue +0 -40
  139. package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +0 -68
@@ -440,5 +440,68 @@ export const FoodCourtOrderApi = {
440
440
  return getData<FoodCourtOrderReceipt>(
441
441
  await foodCourtClientInstance(foodCourtId).get(`/orders/${orderId}`)
442
442
  )
443
+ },
444
+ /**
445
+ * Every order the list's filters match, one row per stall order (KDI-4942).
446
+ * Refused (400) past 31 days with code EXPORT_RANGE_TOO_LONG, or past 50,000
447
+ * rows with EXPORT_TOO_MANY_ROWS.
448
+ */
449
+ async exportOrders(
450
+ foodCourtId: string,
451
+ query: FoodCourtOrderExportQuery
452
+ ): Promise<FoodCourtOrderExport> {
453
+ return getData<FoodCourtOrderExport>(
454
+ await foodCourtClientInstance(foodCourtId).get('/order-export', {
455
+ params: { ...query, status: query.status.join(',') }
456
+ })
457
+ )
443
458
  }
444
459
  }
460
+
461
+ export type FoodCourtOrderExportQuery = Pick<FoodCourtOrderListQuery, 'from' | 'to' | 'status'>
462
+
463
+ /**
464
+ * One stall order of the export (`FdtoFoodCourtOrderExportRow`, order-backend).
465
+ * Money is in major units (12.3 = RM12.30). The payment, total, fee and
466
+ * settlement columns belong to the whole court order and repeat on each of its
467
+ * stall rows.
468
+ */
469
+ export interface FoodCourtOrderExportRow {
470
+ mainOrderId: string
471
+ subOrderId: string
472
+ shortOrderId: string | null
473
+ /** No court-level invoice number exists yet: always null. */
474
+ invoiceNo: string | null
475
+ subInvoiceNo: string | null
476
+ transactionId: string | null
477
+ gatewayId: string | null
478
+ gatewayName: string | null
479
+ paymentMethod: string | null
480
+ orderChannel: 'KIOSK' | 'QR' | null
481
+ transactionTimestamp: string | null
482
+ orderStatus: string | null
483
+ paymentStatus: string | null
484
+ currency: string
485
+ grossAmount: number | null
486
+ sst: number | null
487
+ serviceCharge: number | null
488
+ rounding: number | null
489
+ discountApplied: number | null
490
+ nettSalesAmount: number
491
+ totalSalesAmount: number
492
+ fcId: string
493
+ fcName: string | null
494
+ restaurantId: string
495
+ restaurantName: string | null
496
+ fee: number | null
497
+ settlementAmount: number | null
498
+ settlementId: string | null
499
+ }
500
+
501
+ export interface FoodCourtOrderExport {
502
+ /** For the file name; null when the court could not be read. */
503
+ courtName: string | null
504
+ rows: FoodCourtOrderExportRow[]
505
+ /** Stalls whose bills could not be read: their bill columns are empty. */
506
+ unreadableStalls: string[]
507
+ }
@@ -1,5 +1,6 @@
1
1
  import { getData, restaurantClientInstance } from '@/api';
2
2
  import { KioskOtpDto, KioskDeviceDto } from '@entity';
3
+ import type { MfKioskLicenseList } from '@/modules/kiosk/license';
3
4
 
4
5
  async function requestOtp(): Promise<KioskOtpDto> {
5
6
  const result = await restaurantClientInstance().get('/kiosk/otp');
@@ -11,6 +12,12 @@ async function getDevices(): Promise<KioskDeviceDto[]> {
11
12
  return getData<KioskDeviceDto[]>(result);
12
13
  }
13
14
 
15
+ /** Every licence of the restaurant's business (licences are shared by all its outlets). */
16
+ async function getLicenses(): Promise<MfKioskLicenseList> {
17
+ const result = await restaurantClientInstance().get('/kiosk/licenses');
18
+ return getData<MfKioskLicenseList>(result);
19
+ }
20
+
14
21
  async function unbind(machineId: string): Promise<void> {
15
22
  await restaurantClientInstance().delete(`/kiosk/unbind/${machineId}`);
16
23
  }
@@ -26,6 +33,7 @@ async function updateDeviceRemark(remarkInfo: string | null, machineId: string):
26
33
  export const KioskApi = {
27
34
  requestOtp,
28
35
  getDevices,
36
+ getLicenses,
29
37
  unbind,
30
38
  updateDevicePin,
31
39
  updateDeviceRemark
@@ -1,5 +1,6 @@
1
1
  import { getData, paymentBackendClientInstance, SvcConfig } from '@/api'
2
2
  import type { TerminalCheckoutsDto } from '@/modules/payment/interface'
3
+ import { toKioskPaymentDevices, type KioskPaymentDevice } from '@/modules/payment/paymentDevice'
3
4
 
4
5
  const kiosksPath = (restaurantId: string) =>
5
6
  `/portal/restaurants/${restaurantId}/kiosks`
@@ -25,6 +26,22 @@ async function listTerminalCheckouts(): Promise<TerminalCheckoutsDto[]> {
25
26
  }))
26
27
  }
27
28
 
29
+ /**
30
+ * The outlet's kiosk payment devices with their gateway setup. For FeedMe staff only:
31
+ * this payment-service endpoint also returns terminal secrets, which
32
+ * `toKioskPaymentDevices` drops before anything else sees the response.
33
+ */
34
+ async function listKioskPaymentDevices(): Promise<KioskPaymentDevice[]> {
35
+ const restaurantId = SvcConfig.getRestaurantId()
36
+ if (!restaurantId) throw new Error('Invalid restaurant')
37
+ const result = await paymentBackendClientInstance().get<unknown>(
38
+ `/portal/restaurants/${restaurantId}/terminals`,
39
+ { params: { deviceType: 'KIOSK' } }
40
+ )
41
+ return toKioskPaymentDevices(getData<unknown>(result))
42
+ }
43
+
28
44
  export const PaymentApi = {
29
- listTerminalCheckouts
45
+ listTerminalCheckouts,
46
+ listKioskPaymentDevices
30
47
  }
@@ -0,0 +1,39 @@
1
+ import { baseClientInstance, getData } from '@/api'
2
+ // Type-only on purpose: queue/queue.dto is not in the frontend entity barrel
3
+ // (index.frontend.ts), and the vite `@entity` alias points at that barrel, so a value import
4
+ // of this path would not resolve. Types are erased before bundling.
5
+ import type { QueueEntranceCodeDto, QueueEntranceStateDto } from '@entity/queue/queue.dto'
6
+
7
+ // queue-backend portal routes. The portal host's ingress rewrites `/queue(.*)` to
8
+ // `/portal/queue$1` on queue-backend (gitops manifests/queue-backend/<cc>/<env>/values.yaml).
9
+ // They check the signed-in user can manage the restaurant. Printing is POS-only.
10
+
11
+ /** Whether the outlet needs the entrance code, its reset time, and today's code if one is live. */
12
+ async function getEntranceCodeState(restaurantId: string): Promise<QueueEntranceStateDto> {
13
+ const result = await baseClientInstance().get(`/queue/restaurant/${restaurantId}/entrance-code`)
14
+ return getData<QueueEntranceStateDto>(result)
15
+ }
16
+
17
+ /** Today's entrance QR link: the live code, or a new one when none is live. Not a print. */
18
+ async function getEntranceLink(restaurantId: string): Promise<QueueEntranceCodeDto> {
19
+ const result = await baseClientInstance().post(
20
+ `/queue/restaurant/${restaurantId}/entrance-code`,
21
+ {}
22
+ )
23
+ return getData<QueueEntranceCodeDto>(result)
24
+ }
25
+
26
+ /** Revokes today's code: a new one now, the old one works 5 more minutes. Not a print. */
27
+ async function revokeEntranceCode(restaurantId: string): Promise<QueueEntranceCodeDto> {
28
+ const result = await baseClientInstance().post(
29
+ `/queue/restaurant/${restaurantId}/entrance-code/revoke`,
30
+ {}
31
+ )
32
+ return getData<QueueEntranceCodeDto>(result)
33
+ }
34
+
35
+ export const QueueEntranceCodeApi = {
36
+ getEntranceCodeState,
37
+ getEntranceLink,
38
+ revokeEntranceCode
39
+ }
@@ -8,6 +8,7 @@ import {
8
8
  FdoRestaurantDineIn,
9
9
  FdoRestaurantDriveThru,
10
10
  FdoRestaurantPickup,
11
+ FdoRestaurant,
11
12
  FdoRestaurantSetting,
12
13
  FdoServiceChargeSetting
13
14
  } from '@feedmepos/core/entity'
@@ -20,7 +21,20 @@ interface EntityDocument {
20
21
  }
21
22
  export type RestaurantSettingDoc = EntityDocument & FdoRestaurantSetting
22
23
 
24
+ /** The POS liveness fields of a restaurant doc (see `readRestaurantPosState`). */
25
+ export type RestaurantPosState = Pick<FdoRestaurant, '_id' | 'posHeartbeat' | 'posVersion'>
26
+
23
27
  export const restaurantApi = {
28
+ /**
29
+ * A fresh read of the restaurant doc, for its POS heartbeat. The portal shell's
30
+ * `currentRestaurant` is loaded once at sign-in, so its `posHeartbeat` is stale
31
+ * by the time anyone looks; this hits portal-v2 `GET /restaurants/:id` instead.
32
+ */
33
+ async readRestaurantPosState(restaurantId: string): Promise<RestaurantPosState> {
34
+ const result = await baseClientInstance().get(`/restaurants/${restaurantId}`)
35
+ const { _id, posHeartbeat, posVersion } = getData<RestaurantPosState>(result)
36
+ return { _id, posHeartbeat, posVersion }
37
+ },
24
38
  async readRestaurantSetting(restaurantId: string): Promise<RestaurantSettingDoc> {
25
39
  const result = await baseClientInstance().get(`/restaurants/${restaurantId}/restaurant-setting`)
26
40
  return getData<RestaurantSettingDoc>(result)
@@ -43,13 +43,18 @@
43
43
  "stallVoided": "Voided",
44
44
  "stallUnknown": "Unknown",
45
45
  "close": "Close",
46
- "detailLoadFailed": "Couldn't load this order."
46
+ "detailLoadFailed": "Couldn't load this order.",
47
+ "export": "Export",
48
+ "exportEmpty": "No data to export for the selected filters",
49
+ "exportIncomplete": "Exported, but the bill details of {count} stall(s) couldn't be read, so their bill columns are empty. Try again later.",
50
+ "exportRangeTooLong": "Export up to {days} days at a time. Pick a shorter date range.",
51
+ "exportTooManyRows": "Too many orders to export at once (more than {rows} stall orders). Pick a shorter date range."
47
52
  },
48
53
  "qrOrdering": "QR Ordering",
49
54
  "qrOrderingSublabel": "Customers order from every stall by scanning the food court QR. When off, every stall shows \"Not taking orders now\". The food court kiosk is not affected.",
50
55
  "acceptedPaymentOnline": "Customers pay online (E-payment) once for the whole food court order.",
51
56
  "acceptedPaymentNotAccepted": "Cash, Pay at Counter and Credit are not accepted.",
52
- "acceptedPaymentSource": "The payment methods come from the food court's payout account, in Payment › Payout Account.",
57
+ "acceptedPaymentSource": "The agreed online payment methods are configured by FeedMe.",
53
58
  "autoResetTooltip": "The FC order number goes back to 1 at this time every day (Malaysia / Singapore time).",
54
59
  "numberOfDigits": "Number of digits",
55
60
  "numberOfDigitsRule": "Enter 2 to 6 digits",
@@ -264,7 +269,7 @@
264
269
  "activateDeliveryCompany": "Activate {company} Delivery",
265
270
  "activateFeedmeExpressSublabel": "Customer can select FeedMe express to delivery their meal",
266
271
  "activateIntegration": "Activate {integrationType} Integration",
267
- "activateLocation": "Activate location",
272
+ "activateLocation": "Outlet",
268
273
  "active": "Active",
269
274
  "add": "Add",
270
275
  "addCampaign": "Add campaign",
@@ -319,9 +324,9 @@
319
324
  "billRounding": "Bill Rounding",
320
325
  "bindDevice": "Bind device",
321
326
  "bindDeviceFailed": "Couldn't start device binding. Please try again.",
322
- "bindDeviceMessage": "Enter this code to your kiosk device to bind.",
327
+ "bindDeviceMessage": "Enter this code in the kiosk or tablet app to bind the device.",
323
328
  "bindDeviceNetworkError": "Couldn't reach the server. Check your internet connection and try again.",
324
- "bindDeviceNoQuota": "No kiosk license left for this business. Add kiosk devices in the license portal, or unbind a kiosk you no longer use.",
329
+ "bindDeviceNoQuota": "No free kiosk or tablet licence left for this business. Contact FeedMe to add one, or unbind a device you no longer use.",
325
330
  "bindDevicePermissionDenied": "You don't have permission to bind devices.",
326
331
  "cancel": "Cancel",
327
332
  "cancelResetPin": "Cancel reset PIN",
@@ -338,7 +343,7 @@
338
343
  "confirm": "Confirm",
339
344
  "contact": "contact",
340
345
  "copyFailed": "Failed to copy to clipboard",
341
- "coverCarouselHint": "Add up to {max} images per orientation. With two or more, the kiosk landing screen fades between them in the order shown.",
346
+ "coverCarouselHint": "Add up to {max} images per orientation. With two or more, the kiosk and tablet home screen fades between them in the order shown.",
342
347
  "coverCarouselInterval": "Seconds per image",
343
348
  "coverCarouselIntervalHint": "How long each image is shown before it fades to the next. Leave empty to use the default of {seconds} seconds.",
344
349
  "coverCarouselMoveEarlier": "Show earlier",
@@ -382,12 +387,12 @@
382
387
  "deliveryTime": "Delivery Time",
383
388
  "deliveryTitle": "{company} delivery",
384
389
  "deliveryZone": "Delivery Zone",
385
- "deviceAccessDeniedMessage": "You don't have permission to view kiosk devices. Contact your administrator if you need access.",
390
+ "deviceAccessDeniedMessage": "You don't have permission to view devices. Contact your administrator if you need access.",
386
391
  "deviceAccessDeniedTitle": "Access denied",
387
392
  "deviceAppInfo": "App Info",
388
- "deviceBinding": "Device Binding",
389
- "deviceDetails": "Device Details",
390
- "deviceLoadErrorMessage": "Something went wrong while loading kiosk devices. Please try again.",
393
+ "deviceBinding": "Devices",
394
+ "deviceDetails": "Details",
395
+ "deviceLoadErrorMessage": "Something went wrong while loading devices. Please try again.",
391
396
  "deviceLoadErrorTitle": "Couldn't load devices",
392
397
  "deviceOtaVersion": "OTA Version",
393
398
  "devicePinCode": "PIN Code",
@@ -413,6 +418,36 @@
413
418
  "dineInType": "Dine In Type",
414
419
  "disabled": "Disabled",
415
420
  "disableRemoteQueue": "Disable Remote Queue",
421
+ "queuePhoneJoin": "Phone join",
422
+ "queuePhoneJoinDescription": "Where customers can join the queue from their own phone. Queues created at the POS are not affected.",
423
+ "queuePhoneJoinAnywhere": "Anywhere",
424
+ "queuePhoneJoinEntrance": "Only with entrance QR",
425
+ "queuePhoneJoinOff": "Off (counter only)",
426
+ "queueEntranceDescription": "Customers join by scanning the entrance QR, printed from the POS. The code changes every day, so print a new one on the POS before you open.",
427
+ "queueEntranceResetTime": "Daily reset time",
428
+ "queueEntranceResetTimeHint": "Each day's entrance QR stops working at this time. Pick a time after closing and before the next day's first customer.",
429
+ "queueEntranceQr": "Entrance QR",
430
+ "queueEntranceNoCode": "No entrance QR for today yet. Print it from the POS. Customers cannot join from their phone until there is one.",
431
+ "queueEntranceGetLink": "Get today's link",
432
+ "queueEntranceCopyLink": "Copy link",
433
+ "queueEntranceLinkCopied": "Entrance QR link copied",
434
+ "queueEntranceLinkCopyFailed": "Unable to copy the link. Select it and copy it instead.",
435
+ "queueEntranceNotPrinted": "Not printed yet",
436
+ "queueEntranceRevoke": "Revoke QR",
437
+ "queueEntranceRevokeConfirmTitle": "Revoke today's entrance QR?",
438
+ "queueEntranceRevokeConfirmMessage": "The current QR stops working in 5 minutes and a new one is made now. Print the new QR from the POS and replace the one at the entrance.",
439
+ "queueEntranceRevoked": "QR revoked. Print the new one from the POS.",
440
+ "queueEntranceForbidden": "You don't have permission to see this outlet's entrance QR. Ask the outlet owner to give you outlet management access.",
441
+ "queueEntrancePrinted": "Printed {time}",
442
+ "queueEntrancePrintedBy": "Printed {time} by {name}",
443
+ "queueEntranceValidUntil": "Valid until {time}",
444
+ "queueEntranceActivityTitle": "Recent activity",
445
+ "queueEntranceActivityPrinted": "Printed on the POS",
446
+ "queueEntranceActivityReprinted": "Printed again on the POS",
447
+ "queueEntranceActivityReplaced": "Replaced on the POS",
448
+ "queueEntranceActivityRevoked": "Revoked in the portal",
449
+ "queueEntranceActivityLinkIssued": "Link created in the portal",
450
+ "queueEntranceActivityBy": "{action} by {name}",
416
451
  "disableSMS": "Disable notifications",
417
452
  "queueNotifyOnCancel": "Notify customer when a queue is cancelled",
418
453
  "queueCalledMessage": "Called SMS message",
@@ -425,7 +460,7 @@
425
460
  "queueCalledMessageNotSevenBit": "Emoji, Chinese or Thai text, or curly quotes (’) limit each SMS to 70 characters.",
426
461
  "queueCalledMessageLinkOrPhone": "Malaysian carriers may block SMS that contain links or phone numbers.",
427
462
  "queueCalledMessageTimerNotMentioned": "Auto-cancel is on, but this message doesn't mention it. Add {placeholder} to tell customers how long they have.",
428
- "queueCalledMessagePlaceholderWhileTimerOff": "Auto-cancel is off, so the default line is sent instead of this message.",
463
+ "queueCalledMessagePlaceholderWhileTimerOff": "Your message uses {placeholder} but auto-cancel is off, so it isn't sent. Customers get the default line shown in the preview.",
429
464
  "queueCalledMessageUnknownPlaceholder": "Remove {names}: the only placeholder supported is {placeholder}.",
430
465
  "queueCalledMessageTooLong": "Keep the called SMS message to {max} characters.",
431
466
  "discountCampaign": "Discount Campaign",
@@ -454,8 +489,8 @@
454
489
  "promotion": "Promotion",
455
490
  "voucher": "Voucher"
456
491
  },
457
- "displayPaxDialogDescription": "Display pax dialog in kiosk",
458
- "displayPaxDialogTitle": "Display Pax Dialog",
492
+ "displayPaxDialogDescription": "Ask customers for the number of guests",
493
+ "displayPaxDialogTitle": "Number of guests",
459
494
  "displayStand": "Display Stand",
460
495
  "driveThru": "Drive Thru",
461
496
  "driveThruSettingUpdated": "Drive thru setting updated.",
@@ -485,6 +520,29 @@
485
520
  "paymentCheckoutLoadErrorTitle": "Couldn't load payment methods",
486
521
  "noPaymentCheckoutsTitle": "No payment methods yet",
487
522
  "paymentGateway": "Payment Gateway",
523
+ "paymentDevice": "Payment device",
524
+ "paymentDeviceStaffOnly": "Visible to FeedMe staff only",
525
+ "paymentDeviceLoading": "Loading payment device…",
526
+ "paymentDeviceLoadError": "Couldn't load the payment device.",
527
+ "paymentDeviceNotLinked": "No payment device is linked to this kiosk.",
528
+ "paymentDeviceExpectedId": "Expected payment device ID",
529
+ "paymentDeviceStatus": "Status",
530
+ "paymentDeviceName": "Name",
531
+ "paymentDeviceId": "Payment device ID",
532
+ "paymentDeviceDeviceId": "Device ID",
533
+ "paymentDeviceSoftPos": "SoftPos gateway",
534
+ "paymentDeviceEcr": "ECR gateway",
535
+ "paymentDeviceEcrIntegrations": "ECR integrations",
536
+ "paymentDeviceQr": "QR gateway",
537
+ "paymentDeviceNone": "None",
538
+ "paymentDeviceMerchantId": "Merchant ID",
539
+ "paymentDeviceTerminalId": "Terminal ID",
540
+ "paymentDeviceOpenPortal": "Open in payment portal",
541
+ "paymentDeviceReportedByKiosk": "Reported by the kiosk app",
542
+ "paymentDeviceReportedDiffers": "Different from the payment device",
543
+ "paymentDeviceIdCopied": "Payment device ID copied",
544
+ "paymentDeviceLinked": "Payment device linked",
545
+ "paymentDeviceMissingShort": "No payment device",
488
546
  "exclusive": "Exclulsive",
489
547
  "existingRemarks": "Existing Remarks",
490
548
  "externalDelivery": "External Delivery",
@@ -535,10 +593,83 @@
535
593
  "invalidPosVersion": "Invalid POS version",
536
594
  "invalidRestaurant": "Invalid restaurant",
537
595
  "item": "Item",
538
- "kiosk": "Kiosk",
596
+ "kiosk": "Kiosk / Tablet",
597
+ "unsavedChanges": "Unsaved changes",
598
+ "allChangesSaved": "All changes saved",
599
+ "discardChanges": "Discard",
600
+ "unsavedLeaveTitle": "Discard unsaved changes?",
601
+ "unsavedLeaveMessage": "Your changes to the settings are not saved yet. If you leave, they are lost.",
602
+ "unsavedLeaveConfirm": "Discard changes",
603
+ "keepEditing": "Keep editing",
604
+ "settingsLoadErrorTitle": "Couldn't load the settings",
605
+ "settingsLoadErrorMessage": "Something went wrong while loading the settings for this outlet. Please try again.",
606
+ "settingsLoading": "Loading settings…",
607
+ "devicesLoading": "Loading devices…",
608
+ "settingsSectionsLabel": "Settings sections",
609
+ "settingsSectionOrdering": "Ordering",
610
+ "settingsSectionOrderingHint": "Kiosks and tablets. Pick at counter, display stand and the kiosk order number are kiosk only.",
611
+ "settingsSectionLook": "Look and photos",
612
+ "settingsSectionLookHint": "Kiosks and tablets both use these.",
613
+ "settingsSectionPayment": "Payment",
614
+ "settingsSectionPaymentHint": "Kiosk only. Customers who order on a tablet pay at the counter.",
615
+ "settingsSectionUpdates": "Updates",
616
+ "settingsSectionUpdatesHint": "Admins only.",
617
+ "settingsSectionError": "Check this section",
618
+ "customiseMessages": "Customise messages",
619
+ "messagesDefault": "Default messages",
620
+ "messagesCustom": "Custom messages",
621
+ "changeCovers": "Change covers",
622
+ "coverImageCount": "{count} of {max}",
623
+ "coverDialogNote": "Your changes are saved when you press Save settings.",
624
+ "coverNoImage": "No image yet",
625
+ "done": "Done",
626
+ "dineInSwitch": "Accept dine-in orders on kiosks",
627
+ "dineInSwitchHint": "Kiosk only. Tablets always take dine-in orders for their own table.",
628
+ "takeawaySwitch": "Accept takeaway orders",
629
+ "paxDialogTabletNote": "On a tablet, this question is skipped when staff set the number of guests on the device.",
630
+ "noDevicesBoundTitle": "No devices yet",
539
631
  "kioskDevices": "Kiosk devices",
540
- "kioskDisplay": "Kiosk Display",
541
- "kioskDisplayDescription": "Click \"Bind device\" to receive a special code for device binding.",
632
+ "kioskDisplay": "Devices",
633
+ "licenseSummaryKiosk": "Kiosk licences",
634
+ "licenseSummaryTablet": "Tablet licences",
635
+ "licenseSummaryUsage": "{used} of {total} used · {free} free",
636
+ "licenseSummaryNextExpiry": "next expiry {date}",
637
+ "licenseSummaryNoFree": "No free licence. Contact FeedMe to add one.",
638
+ "licenseSummaryUnlimited": "This business needs no licence to bind a kiosk or tablet.",
639
+ "licenseLoadError": "Could not load licences. You can still bind and manage devices.",
640
+ "licenseSharedNote": "Licences are shared by all outlets of this business.",
641
+ "licenseLabel": "Licence",
642
+ "licenseActiveUntil": "Active until {date}",
643
+ "licenseExpiresInDays": "Expires in {days} days",
644
+ "licenseExpiresInOneDay": "Expires in 1 day",
645
+ "licenseExpired": "Expired",
646
+ "licenseNone": "No licence",
647
+ "licenseNoneDetail": "No licence (bound before licences were needed)",
648
+ "licenseFree": "Free",
649
+ "licenseInUse": "In use",
650
+ "licenseInUseExpiringSoon": "In use · expires soon",
651
+ "licenseUsesKioskLicense": "Uses a kiosk licence",
652
+ "licenseUsesTabletLicense": "Uses a tablet licence",
653
+ "licenseType": "Licence type",
654
+ "licenseId": "Licence ID",
655
+ "licenseExpiry": "Licence expiry",
656
+ "licenseTypeKiosk": "Kiosk",
657
+ "licenseTypeTablet": "Tablet",
658
+ "licensesTab": "Licences",
659
+ "licensesEmpty": "This business has no kiosk or tablet licence. Contact FeedMe to add one.",
660
+ "licenseColumnType": "Type",
661
+ "licenseColumnStatus": "Status",
662
+ "licenseColumnDevice": "Device",
663
+ "licenseColumnOutlet": "Outlet",
664
+ "licenseColumnExpires": "Expires",
665
+ "bindLicenseTitle": "Licence used",
666
+ "bindLicenseKiosk": "A kiosk will use a kiosk licence.",
667
+ "bindLicenseTablet": "A tablet will use a tablet licence.",
668
+ "bindLicenseTabletFallback": "No free tablet licence. A tablet will use a kiosk licence.",
669
+ "bindLicenseNoKiosk": "No free kiosk licence. A kiosk cannot be bound.",
670
+ "bindLicenseNoTablet": "No free tablet licence. A tablet cannot be bound.",
671
+ "bindLicenseUnlimited": "This business needs no licence to bind a device.",
672
+ "kioskDisplayDescription": "Bind a kiosk or tablet to this outlet with a one-time code.",
542
673
  "kioskLanguage": "Language",
543
674
  "kioskOrderNumber": "Kiosk order number",
544
675
  "kioskOrderNumberPrefix": "Order number prefix",
@@ -546,12 +677,12 @@
546
677
  "kioskShareNumber": "Kiosk takeaway uses the kiosk order number",
547
678
  "kioskShareNumberSublabel": "Kiosk dine-in and kiosk takeaway share one running number. Other takeaway orders keep their own number.",
548
679
  "kioskLanguageAtLeastOne": "Select at least one language, or turn the limit off.",
549
- "kioskLanguageHint": "Choose which languages customers can pick from on the kiosk. By default the kiosk offers every language it supports.",
680
+ "kioskLanguageHint": "Choose which languages customers can pick on kiosks and tablets. By default they offer every language they support.",
550
681
  "kioskLanguageRestrict": "Limit the languages shown",
551
682
  "kioskLanguageRestrictSublabel": "Off: show every supported language. On: show only the ones ticked below.",
552
- "kioskOnly": "Kiosk Only",
553
- "kioskSettingFailed": "Failed to update kiosk order setting",
554
- "kioskSettingSuccess": "Kiosk order setting updated",
683
+ "kioskOnly": "Kiosks",
684
+ "kioskSettingFailed": "Couldn't save the settings",
685
+ "kioskSettingSuccess": "Settings saved",
555
686
  "kioskSummary": "Kiosk Summary",
556
687
  "lastOrderBeforeClosing": "Last order before closing",
557
688
  "lastOrderBeforeClosingDescription": "Orders must be placed before the designated closing time",
@@ -577,7 +708,7 @@
577
708
  "nfc": "NFC",
578
709
  "noAvailableItem": "No available item",
579
710
  "noAvailableTable": "No available table",
580
- "noDevicesBound": "No devices bound yet. Click \"Bind device\" to add one.",
711
+ "noDevicesBound": "Bind your first kiosk or tablet with a one-time code.",
581
712
  "noDevicesMatch": "No devices match your search criteria.",
582
713
  "nonNegativeRule": "Value should be positive value",
583
714
  "noPin": "No PIN",
@@ -591,6 +722,42 @@
591
722
  "offlinePaymentName": "Offline Payment Name",
592
723
  "online": "Online",
593
724
  "onlineFromPos": "Adjust from POS",
725
+ "posStatus": {
726
+ "posOnline": "POS online",
727
+ "posOffline": "POS offline",
728
+ "posUnknown": "POS status unknown",
729
+ "lastSeen": "Last seen {time} ({age} ago)",
730
+ "lastSeenAt": "Last seen {time}",
731
+ "neverSeen": "No heartbeat from the Main POS yet",
732
+ "setOnPos": "Set on the POS",
733
+ "refresh": "Refresh",
734
+ "refreshCheckedAt": "Refresh (checked at {time})",
735
+ "loadFailed": "Could not read this from the POS. Refresh to try again.",
736
+ "offlineHint": "Customers see \"POS is offline\". Check that the Main POS is open and online.",
737
+ "futureHeartbeatHint": "The POS clock is ahead, so the POS shows as online even when it is off. Ask the outlet to fix the date and time on the Main POS.",
738
+ "accept": {
739
+ "dineIn": {
740
+ "on": "Dine-in orders on",
741
+ "off": "Dine-in orders off",
742
+ "unknown": "Dine-in setting unknown"
743
+ },
744
+ "pickup": {
745
+ "on": "Pickup orders on",
746
+ "off": "Pickup orders off",
747
+ "unknown": "Pickup setting unknown"
748
+ },
749
+ "delivery": {
750
+ "on": "Delivery orders on",
751
+ "off": "Delivery orders off",
752
+ "unknown": "Delivery setting unknown"
753
+ }
754
+ },
755
+ "acceptOffHint": {
756
+ "dineIn": "Customers see \"QR order is disabled by the restaurant\". Turn on dine-in orders in the POS settings.",
757
+ "pickup": "Customers see \"Pickup order is disabled by the restaurant\". Turn on pickup orders in the POS settings.",
758
+ "delivery": "Customers see \"Delivery order is disabled by the restaurant\". Turn on delivery orders in the POS settings."
759
+ }
760
+ },
594
761
  "operatingHour": "Operating hour",
595
762
  "operatingSystem": "Operating System",
596
763
  "orderFrom": "Order from",
@@ -603,7 +770,7 @@
603
770
  "minWeighGrams": "Minimum weight",
604
771
  "minWeighGramsLabel": "Minimum weight (g)",
605
772
  "minWeighGramsPlaceholder": "No minimum",
606
- "minWeighGramsHint": "For items sold by weight. The kiosk will not sell a lighter portion. Leave empty for no minimum (any weight above 0 g, like POS).",
773
+ "minWeighGramsHint": "For items sold by weight. Kiosks and tablets will not sell a lighter portion. Leave empty for no minimum (any weight above 0 g, like POS).",
607
774
  "other": "Other",
608
775
  "onlinePaxDialog": "Pax Dialog (Online Ordering)",
609
776
  "onlinePaxDialogSublabel": "Ask customers for the number of people when they order online. POS keeps its own pax dialog setting.",
@@ -759,7 +926,7 @@
759
926
  "tableService": "Table Service",
760
927
  "tableServiceSetting": "Table service setting",
761
928
  "tabletDevices": "Tablet devices",
762
- "tabletOnly": "Tablet Only",
929
+ "tabletOnly": "Tablets",
763
930
  "takeaway": "Takeaway",
764
931
  "takeawayTitle": "Take Away",
765
932
  "taxExclusive": "Exclusive",
@@ -778,9 +945,9 @@
778
945
  "totalDevices": "Total devices",
779
946
  "tuesday": "Tuesday",
780
947
  "unbind": "Unbind",
781
- "unbindKioskDevice": "Unbind Kiosk Device",
948
+ "unbindKioskDevice": "Unbind device",
782
949
  "unbindKioskDeviceWarning": "Are you sure want to unbind device? If yes, please enter {machineId} inside the textfield",
783
- "unbindSuccess": "Kiosk display successfully unbinded.",
950
+ "unbindSuccess": "Device unbound.",
784
951
  "unbindWarning": "Please enter the machine ID to confirm unbind.",
785
952
  "unknown": "Unknown",
786
953
  "update": "Update",
@@ -790,7 +957,7 @@
790
957
  "updateNow": "Update now",
791
958
  "updatePayoutAccount": "Update payout account",
792
959
  "updatePickupSetting": "Update Pickup Setting",
793
- "updateSetting": "Update setting",
960
+ "updateSetting": "Save settings",
794
961
  "uploadImage": "Upload Image",
795
962
  "vatExclude": "VAT Excluded",
796
963
  "vendorBearPercentage": "Vendor bear percentage",
@@ -1107,6 +1274,7 @@
1107
1274
  "showEstimatedTime": "Show estimated wait",
1108
1275
  "showWaitingCount": "Show parties in line",
1109
1276
  "announce": "Announce out loud",
1277
+ "dineInCallMode": "Dine-in orders are called",
1110
1278
  "columns": "Columns",
1111
1279
  "upcomingCount": "Upcoming numbers shown",
1112
1280
  "layout": "Arrangement",
@@ -1124,6 +1292,9 @@
1124
1292
  },
1125
1293
  "values": {
1126
1294
  "horizontal": "Side by side",
1295
+ "dineInCallFirstItem": "When the first item is served",
1296
+ "dineInCallEveryItem": "Each time an item is served",
1297
+ "dineInCallAllItems": "When every item is served",
1127
1298
  "vertical": "Stacked",
1128
1299
  "cover": "Fill and crop",
1129
1300
  "itemImage": "Image",