@feedmepos/mf-order-setting 0.0.108 → 0.0.109

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 (57) hide show
  1. package/dist/{DisplaySystemView-ChGTO4v2.js → DisplaySystemView-hHA7fMQR.js} +4 -4
  2. package/dist/{FoodCourtInvitationsView-F1LiGOR8.js → FoodCourtInvitationsView-C_x0pvnB.js} +4 -4
  3. package/dist/{FoodCourtOrderSettingsView-D5M5kFAl.js → FoodCourtOrderSettingsView-BMRJe6tf.js} +1 -1
  4. package/dist/FoodCourtOrdersView-DlGJnMOd.js +1433 -0
  5. package/dist/{FoodCourtStallsView-jz1xnZus.js → FoodCourtStallsView-BAzlMqlj.js} +2 -2
  6. package/dist/{FoodCourtStatusView-DC3qHL1L.js → FoodCourtStatusView-CRkk2f66.js} +1 -1
  7. package/dist/{KioskDevicesView-B9w4izOk.js → KioskDevicesView-COuR39YQ.js} +1 -1
  8. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-XJm-f2JF.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CAcDjPbk.js} +5 -5
  9. package/dist/{KioskSettingView-Bmfvz0Kz.js → KioskSettingView-DsIzIbYf.js} +3 -3
  10. package/dist/{KioskView-B0WlDEsG.js → KioskView-B1sn-D6k.js} +8 -8
  11. package/dist/{OrderSettingsView-BF89-eSB.js → OrderSettingsView-BvYGRXfI.js} +10 -10
  12. package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-BqPQnAVb.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-COUKtg5k.js} +1 -1
  13. package/dist/{app-B4ew9SMz.js → app-utsChJtE.js} +71 -15
  14. package/dist/app.js +1 -1
  15. package/dist/{dayjs.min-BsZk4QHK.js → dayjs.min-C9WrpSe-.js} +1 -1
  16. package/dist/{featureFlag-CFlCo4uv.js → featureFlag-CHPFyNAw.js} +1 -1
  17. package/dist/frontend/mf-order/src/api/food-court/index.d.ts +29 -2
  18. package/dist/frontend/mf-order/src/app.d.ts +56 -0
  19. package/dist/frontend/mf-order/src/main.d.ts +56 -0
  20. package/dist/frontend/mf-order/src/views/food-court/food-court-order.d.ts +12 -1
  21. package/dist/frontend/mf-order/src/views/food-court/orders/FoodCourtOrderSheet.vue.d.ts +3 -1
  22. package/dist/frontend/mf-order/src/views/food-court/orders/FoodCourtReceiptDialog.vue.d.ts +17 -0
  23. package/dist/frontend/mf-order/src/views/food-court/orders/food-court-receipt.d.ts +20 -0
  24. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  25. package/dist/index--4Q-LHMq.js +6854 -0
  26. package/dist/{index-D0vTvoQN.js → index-BaABuG0J.js} +1 -1
  27. package/dist/{index-Z1ZA897U.js → index-CVxg__RB.js} +1 -1
  28. package/dist/index-Ck6Ef5sR.js +5 -0
  29. package/dist/{index-C6c28uBZ.js → index-D349Zd9k.js} +35 -23
  30. package/dist/{index-DLeX1p1o.js → index-DC8V_7zz.js} +2 -2
  31. package/dist/{index-D4_zVJPi.js → index-DVJkdWEG.js} +4 -4
  32. package/dist/index-iSsU83r4.js +46278 -0
  33. package/dist/{order.dto-DrlhCvYK.js → order.dto-D4yp5hGF.js} +47 -43
  34. package/dist/package/entity/alert/suggestion.dto.d.ts +2 -2
  35. package/dist/package/entity/food-court/order-v2.dto.d.ts +5 -5
  36. package/dist/package/entity/kiosk/kiosk.do.d.ts +16 -16
  37. package/dist/package/entity/kiosk/kiosk.dto.d.ts +19 -19
  38. package/dist/package/entity/order/order.do.d.ts +3 -3
  39. package/dist/package/entity/order/order.dto.d.ts +10 -10
  40. package/dist/package/entity/order/order.enum.d.ts +1 -1
  41. package/dist/package/entity/order-platform/deliveroo/deliveroo.menu.dto.d.ts +30 -30
  42. package/dist/{useInternalUser-BaSqwN4K.js → useInternalUser-CeoNePyw.js} +1 -1
  43. package/package.json +4 -1
  44. package/src/api/food-court/index.ts +42 -4
  45. package/src/locales/en-US.json +15 -1
  46. package/src/locales/ja-JP.json +15 -1
  47. package/src/locales/th-TH.json +15 -1
  48. package/src/locales/zh-CN.json +15 -1
  49. package/src/views/food-court/FoodCourtOrdersView.vue +135 -16
  50. package/src/views/food-court/food-court-order.spec.ts +16 -1
  51. package/src/views/food-court/food-court-order.ts +23 -1
  52. package/src/views/food-court/orders/FoodCourtOrderSheet.vue +29 -11
  53. package/src/views/food-court/orders/FoodCourtReceiptDialog.vue +113 -0
  54. package/src/views/food-court/orders/food-court-receipt.spec.ts +43 -0
  55. package/src/views/food-court/orders/food-court-receipt.ts +49 -0
  56. package/vite.config.ts +13 -0
  57. package/dist/FoodCourtOrdersView-BQrESoTH.js +0 -1190
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as G, computed as $, resolveComponent as w, openBlock as u, createBlock as P, withCtx as R, createElementBlock as _, Fragment as X, renderList as ne, unref as t, createVNode as C, createCommentVNode as z, ref as N, watch as ee, createElementVNode as b, toDisplayString as T, nextTick as ie, h as D, isRef as ue } from "vue";
2
- import { d as se } from "./dayjs.min-BsZk4QHK.js";
2
+ import { d as se } from "./dayjs.min-C9WrpSe-.js";
3
3
  import { useI18n as K } from "@feedmepos/mf-common";
4
4
  import { useDialog as ce, components as te } from "@feedmepos/ui-library";
5
5
  import { u as oe } from "./snackbar-DZQ0_reQ.js";
6
6
  import { u as me } from "./useFoodCourtContext-2p5sJMcB.js";
7
7
  import { u as fe } from "./search-BAPEUu1R.js";
8
- import { a as U, b as O } from "./index-C6c28uBZ.js";
8
+ import { a as U, b as O } from "./index-D349Zd9k.js";
9
9
  import { S as pe, a as ve, b as le, J as q, c as ae, f as Ce, j as ye, d as ge, e as Q, r as re, s as be, g as Z, h as _e, t as xe } from "./food-court-member-joC8tmsI.js";
10
10
  const he = /* @__PURE__ */ G({
11
11
  __name: "StallRowActions",
@@ -2,7 +2,7 @@ import { defineComponent as B, ref as c, watch as N, resolveComponent as u, open
2
2
  import { useI18n as H } from "@feedmepos/mf-common";
3
3
  import { u as z } from "./snackbar-DZQ0_reQ.js";
4
4
  import { u as D } from "./useFoodCourtContext-2p5sJMcB.js";
5
- import { c as b } from "./index-C6c28uBZ.js";
5
+ import { c as b } from "./index-D349Zd9k.js";
6
6
  import { e as x } from "./food-court-member-joC8tmsI.js";
7
7
  const K = { class: "py-[1.5rem]" }, L = {
8
8
  key: 0,
@@ -1,4 +1,4 @@
1
- import { d as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-XJm-f2JF.js";
1
+ import { d as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-CAcDjPbk.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,12 @@
1
1
  import { ref as M, defineComponent as H, resolveComponent as T, openBlock as i, createElementBlock as u, createElementVNode as r, toDisplayString as l, unref as o, createVNode as h, computed as g, createBlock as C, withCtx as Y, createCommentVNode as k, Fragment as F, renderList as q, createTextVNode as K, watch as Pe, normalizeClass as $e, renderSlot as nt } from "vue";
2
2
  import { useI18n as Z, useCoreStore as at } from "@feedmepos/mf-common";
3
3
  import { defineStore as Le } from "pinia";
4
- import { r as ee, g as oe, S as Fe, p as Ke } from "./index-D0vTvoQN.js";
5
- import "./order.dto-DrlhCvYK.js";
4
+ import { r as ee, g as oe, S as Fe, p as Ke } from "./index-BaABuG0J.js";
5
+ import "./order.dto-D4yp5hGF.js";
6
6
  import { useSnackbar as Me, useDialog as ot } from "@feedmepos/ui-library";
7
- import { d as G } from "./dayjs.min-BsZk4QHK.js";
8
- import { c as rt, g as st, a as Be } from "./app-B4ew9SMz.js";
9
- import { s as Se, u as it } from "./useInternalUser-BaSqwN4K.js";
7
+ import { d as G } from "./dayjs.min-C9WrpSe-.js";
8
+ import { c as rt, g as st, a as Be } from "./app-utsChJtE.js";
9
+ import { s as Se, u as it } from "./useInternalUser-CeoNePyw.js";
10
10
  async function lt() {
11
11
  const e = await ee().get("/kiosk/otp");
12
12
  return oe(e);
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Re, computed as C, ref as R, onMounted as ge, resolveComponent as O, openBlock as S, createBlock as le, withCtx as M, createVNode as i, unref as a, createElementVNode as l, withDirectives as P, vShow as T, toDisplayString as u, reactive as da, watch as Pe, nextTick as fe, onBeforeUnmount as ia, createElementBlock as V, normalizeStyle as Te, Fragment as H, renderList as G, normalizeClass as ae, createCommentVNode as W, toRaw as ua } from "vue";
2
- import { e as Ne, b as Oe, s as Fe, d as ca, r as Ae, f as Ue, h as ma } from "./app-B4ew9SMz.js";
3
- import { b as _, K as pa, c as ya, d as fa } from "./order.dto-DrlhCvYK.js";
4
- import { _ as va, u as ba } from "./index-D4_zVJPi.js";
2
+ import { e as Ne, b as Oe, s as Fe, d as ca, r as Ae, f as Ue, h as ma } from "./app-utsChJtE.js";
3
+ import { b as _, K as pa, c as ya, d as fa } from "./order.dto-D4yp5hGF.js";
4
+ import { _ as va, u as ba } from "./index-DVJkdWEG.js";
5
5
  import { useI18n as Le, FeedMeAuth as Me, useCoreStore as ga } from "@feedmepos/mf-common";
6
6
  import { u as xa } from "./index-Cmb4sEqq.js";
7
7
  import { useSnackbar as ha } from "@feedmepos/ui-library";
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, computed as I, h as P, resolveComponent as K, openBlock as v, createElementBlock as h, createElementVNode as m, toDisplayString as _, unref as i, createVNode as T, Fragment as F, renderList as re, createBlock as E, resolveDynamicComponent as be, createCommentVNode as D, normalizeClass as _e, ref as x, defineAsyncComponent as he, watch as V, withDirectives as we, vShow as xe, withCtx as Ce } from "vue";
2
- import { s as ae, l as U, _ as Ie, a as Te, b as Pe, u as Ae, c as Le, d as Ee, e as te } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-XJm-f2JF.js";
3
- import { d as Ke } from "./dayjs.min-BsZk4QHK.js";
2
+ import { s as ae, l as U, _ as Ie, a as Te, b as Pe, u as Ae, c as Le, d as Ee, e as te } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-CAcDjPbk.js";
3
+ import { d as Ke } from "./dayjs.min-C9WrpSe-.js";
4
4
  import { useI18n as Y, useCoreStore as Re, RestaurantSelector as Fe } from "@feedmepos/mf-common";
5
5
  import { components as De, useDialog as Ue, useSnackbar as ge } from "@feedmepos/ui-library";
6
6
  import { onBeforeRouteLeave as Ne } from "vue-router";
7
- import { S as W, a as ne } from "./index-D0vTvoQN.js";
7
+ import { S as W, a as ne } from "./index-BaABuG0J.js";
8
8
  import { defineStore as $e } from "pinia";
9
- import { O as j } from "./index-DLeX1p1o.js";
10
- import { F as qe, a as Be } from "./order.dto-DrlhCvYK.js";
11
- import { u as Me } from "./app-B4ew9SMz.js";
12
- import { u as Ve } from "./useInternalUser-BaSqwN4K.js";
9
+ import { O as j } from "./index-DC8V_7zz.js";
10
+ import { F as qe, a as Be } from "./order.dto-D4yp5hGF.js";
11
+ import { u as Me } from "./app-utsChJtE.js";
12
+ import { u as Ve } from "./useInternalUser-CeoNePyw.js";
13
13
  import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const Xe = { class: "flex flex-col gap-4" }, We = { class: "fm-typo-en-title-sm-600 block" }, Ge = {
15
15
  class: "hidden xs:flex flex-col gap-8",
@@ -523,7 +523,7 @@ const Fa = { class: "py-[1.5rem]" }, Da = { class: "px-[1.5rem]" }, Ua = { class
523
523
  setup(e) {
524
524
  var k;
525
525
  const { t: a } = Y(), { canManageOrderSetting: l } = Me(), { isInternal: o } = Ve(), t = he(
526
- () => import("./KioskSettingView-Bmfvz0Kz.js")
526
+ () => import("./KioskSettingView-DsIzIbYf.js")
527
527
  ), n = x("device"), s = Ae(), c = _a(), p = Le(), r = Ue(), { currentRestaurant: d, restaurants: f, changeRestaurant: C } = Re(), w = ge(), y = x(((k = d.value) == null ? void 0 : k._id) ?? void 0), A = x(null), R = x(""), g = x(null), N = x(!1), {
528
528
  status: ue,
529
529
  form: Q,
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as ht, ref as Ue, computed as Ae, watch as Tt, resolveComponent as Re, openBlock as ae, createBlock as ut, withCtx as rt, createElementVNode as x, createElementBlock as pe, createVNode as ee, toDisplayString as se, createCommentVNode as De, unref as O, Fragment as nt, renderList as vt, renderSlot as r0, normalizeClass as Ct, reactive as Qt, onMounted as wn, createTextVNode as zt, onUnmounted as Vg, nextTick as hP, shallowRef as YW, Teleport as HW, withModifiers as v0, withDirectives as z$, vModelText as Y$, toRaw as cO, normalizeStyle as WW, isRef as QW, createSlots as JW, h as ZW, withKeys as $P, onBeforeUnmount as XW, resolveDynamicComponent as eQ } from "vue";
2
2
  import { useDialog as ha, useSnackbar as gP } from "@feedmepos/ui-library";
3
- import { _ as Ei } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-BqPQnAVb.js";
4
- import { d as Ot, r as tQ } from "./dayjs.min-BsZk4QHK.js";
3
+ import { _ as Ei } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-COUKtg5k.js";
4
+ import { d as Ot, r as tQ } from "./dayjs.min-C9WrpSe-.js";
5
5
  import { useI18n as bt, useCoreStore as Gt } from "@feedmepos/mf-common";
6
- import { u as ru, r as d0, a as _t, _ as vP } from "./index-D4_zVJPi.js";
7
- import { s as rl, u as vo } from "./useInternalUser-BaSqwN4K.js";
8
- import { e as ju, T as c0, C as Ln, f as Hu, g as nQ, h as yP, p as aQ, r as rQ, i as zn, j as Qi, k as Pu, O as mO, l as pO, m as fO, n as hO, o as iQ, q as H$, s as uQ, t as oQ } from "./order.dto-DrlhCvYK.js";
9
- import { e as wt, i as sQ, c as di, j as qg, k as lQ, g as bP, l as li, m as Gg, n as dQ, o as Kg, p as cQ, q as yg, t as mQ } from "./app-B4ew9SMz.js";
10
- import { O as Ea, s as _P } from "./index-DLeX1p1o.js";
6
+ import { u as ru, r as d0, a as _t, _ as vP } from "./index-DVJkdWEG.js";
7
+ import { s as rl, u as vo } from "./useInternalUser-CeoNePyw.js";
8
+ import { e as ju, T as c0, C as Ln, f as Hu, g as nQ, h as yP, p as aQ, r as rQ, i as zn, j as Qi, k as Pu, O as mO, l as pO, m as fO, n as hO, o as iQ, q as H$, s as uQ, t as oQ } from "./order.dto-D4yp5hGF.js";
9
+ import { e as wt, i as sQ, c as di, j as qg, k as lQ, g as bP, l as li, m as Gg, n as dQ, o as Kg, p as cQ, q as yg, t as mQ } from "./app-utsChJtE.js";
10
+ import { O as Ea, s as _P } from "./index-DC8V_7zz.js";
11
11
  import { u as hn } from "./index-Cmb4sEqq.js";
12
- import { c as W$, r as En, a as Zt } from "./index-Z1ZA897U.js";
12
+ import { c as W$, r as En, a as Zt } from "./index-CVxg__RB.js";
13
13
  import { defineStore as SP } from "pinia";
14
- import { g as Or, m as $O, a as EP, b as tu, c as pQ } from "./index-D0vTvoQN.js";
14
+ import { g as Or, m as $O, a as EP, b as tu, c as pQ } from "./index-BaABuG0J.js";
15
15
  import { u as cn } from "./snackbar-DZQ0_reQ.js";
16
16
  import { _ as Ur } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  import { useRouter as fQ } from "vue-router";
18
18
  import { u as hQ } from "./search-BAPEUu1R.js";
19
- import { u as $Q, e as gQ } from "./featureFlag-CFlCo4uv.js";
19
+ import { u as $Q, e as gQ } from "./featureFlag-CHPFyNAw.js";
20
20
  function vQ(o, d) {
21
21
  return o ? o.autoAccept ? o.autoAcceptPaidOnly ? d : !0 : !1 : null;
22
22
  }
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as O, computed as u, ref as z, onMounted as L, onUnmounted as N, resolveComponent as i, openBlock as s, createBlock as D, withCtx as T, createElementVNode as n, createVNode as d, toDisplayString as k, unref as m, createElementBlock as p, isRef as U, Fragment as K, renderList as M, createCommentVNode as $ } from "vue";
2
2
  import { useI18n as j, useCoreStore as q } from "@feedmepos/mf-common";
3
3
  import { u as A } from "./search-BAPEUu1R.js";
4
- import "./app-B4ew9SMz.js";
4
+ import "./app-utsChJtE.js";
5
5
  const G = { class: "relative w-full" }, H = { class: "flex-grow mx-2 min-w-0" }, J = { class: "inline-block w-full break-words fm-typo-en-body-md-400" }, P = {
6
6
  key: 0,
7
7
  class: "absolute w-full mt-2 bg-white border border-gray-200 rounded-lg shadow-lg min-w-[350px] z-[9999]"
@@ -169,7 +169,21 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
169
169
  exportEmpty: "No data to export for the selected filters",
170
170
  exportIncomplete: "Exported, but the bill details of {count} stall(s) couldn't be read, so their bill columns are empty. Try again later.",
171
171
  exportRangeTooLong: "Export up to {days} days at a time. Pick a shorter date range.",
172
- exportTooManyRows: "Too many orders to export at once (more than {rows} stall orders). Pick a shorter date range."
172
+ exportTooManyRows: "Too many orders to export at once (more than {rows} stall orders). Pick a shorter date range.",
173
+ allStalls: "All stalls",
174
+ moreStalls: "+{count} more",
175
+ searchPlaceholder: "Search FC no., order ID or bill no.",
176
+ noMatch: 'No orders match "{search}" in this period. An order ID is found on any date.',
177
+ searchRangeTooLong: "Search up to {days} days at a time, or search by order ID.",
178
+ statusGuide: "Status guide",
179
+ statusPaidHelp: "The customer has paid. The order has been sent to each stall's POS, and each stall accepts its part.",
180
+ statusPendingPaymentHelp: "The customer checked out and started paying, but the payment is not confirmed yet. A failed or unfinished payment stays here, and the customer can pay again. If a payment still succeeds, the order becomes Paid.",
181
+ statusCancelledHelp: "The customer cancelled the order before paying, so no stall received it. If a payment still succeeds later, the order becomes Paid.",
182
+ statusGuideNote: "Carts that were never checked out are not listed. A refund is made per stall, on that stall's own bill: the stall shows Refunded in the order detail.",
183
+ viewReceipt: "View receipt",
184
+ receiptTitle: "Receipt",
185
+ downloadReceipt: "Download",
186
+ receiptUnavailable: "This receipt can't be shown: {reason}"
173
187
  },
174
188
  qrOrdering: "QR Ordering",
175
189
  qrOrderingSublabel: `Customers order from every stall by scanning the food court QR. When off, customers see "This food court isn't taking orders right now" and every stall shows "Unavailable". The food court kiosk is not affected.`,
@@ -1761,7 +1775,21 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
1761
1775
  exportEmpty: "所选筛选条件下没有可导出的数据",
1762
1776
  exportIncomplete: "已导出,但有 {count} 个档口的账单明细无法读取,其账单栏位为空。请稍后再试。",
1763
1777
  exportRangeTooLong: "每次最多导出 {days} 天,请缩短日期范围。",
1764
- exportTooManyRows: "订单太多,无法一次导出(超过 {rows} 个档口订单)。请缩短日期范围。"
1778
+ exportTooManyRows: "订单太多,无法一次导出(超过 {rows} 个档口订单)。请缩短日期范围。",
1779
+ allStalls: "所有档口",
1780
+ moreStalls: "另外 {count} 个",
1781
+ searchPlaceholder: "搜索 FC 编号、订单 ID 或账单号",
1782
+ noMatch: "此期间没有与“{search}”匹配的订单。订单 ID 可在任何日期找到。",
1783
+ searchRangeTooLong: "每次最多搜索 {days} 天,或按订单 ID 搜索。",
1784
+ statusGuide: "状态说明",
1785
+ statusPaidHelp: "顾客已付款。订单已发送到各档口的 POS,由各档口接受自己的部分。",
1786
+ statusPendingPaymentHelp: "顾客已结账并开始付款,但付款尚未确认。付款失败或未完成时保持此状态,顾客可以再次付款。如果之后付款成功,订单会变为已支付。",
1787
+ statusCancelledHelp: "顾客在付款前取消了订单,因此没有档口收到订单。如果之后付款成功,订单会变为已支付。",
1788
+ statusGuideNote: "未结账的购物车不会列出。退款按档口进行,在该档口自己的账单上处理;已退款的档口在订单详情中显示为已退款。",
1789
+ viewReceipt: "查看收据",
1790
+ receiptTitle: "收据",
1791
+ downloadReceipt: "下载",
1792
+ receiptUnavailable: "无法显示此收据:{reason}"
1765
1793
  },
1766
1794
  qrOrdering: "扫码点餐",
1767
1795
  qrOrderingSublabel: "顾客扫描美食广场二维码即可向每个档口点餐。关闭后,顾客会看到“这个美食广场目前暂停接单”,每个档口显示“暂不可用”。美食广场自助点餐机不受影响。",
@@ -3461,7 +3489,21 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
3461
3489
  exportEmpty: "ไม่มีข้อมูลให้ส่งออกตามตัวกรองที่เลือก",
3462
3490
  exportIncomplete: "ส่งออกแล้ว แต่อ่านรายละเอียดบิลของร้าน {count} ร้านไม่ได้ คอลัมน์บิลของร้านเหล่านั้นจึงว่างอยู่ โปรดลองอีกครั้งภายหลัง",
3463
3491
  exportRangeTooLong: "ส่งออกได้ครั้งละไม่เกิน {days} วัน โปรดเลือกช่วงวันที่ให้สั้นลง",
3464
- exportTooManyRows: "คำสั่งซื้อมากเกินกว่าจะส่งออกในครั้งเดียว (เกิน {rows} คำสั่งซื้อของร้าน) โปรดเลือกช่วงวันที่ให้สั้นลง"
3492
+ exportTooManyRows: "คำสั่งซื้อมากเกินกว่าจะส่งออกในครั้งเดียว (เกิน {rows} คำสั่งซื้อของร้าน) โปรดเลือกช่วงวันที่ให้สั้นลง",
3493
+ allStalls: "ทุกร้าน",
3494
+ moreStalls: "+อีก {count} ร้าน",
3495
+ searchPlaceholder: "ค้นหาเลข FC, รหัสคำสั่งซื้อ หรือเลขบิล",
3496
+ noMatch: 'ไม่มีคำสั่งซื้อที่ตรงกับ "{search}" ในช่วงนี้ ค้นหาด้วยรหัสคำสั่งซื้อได้ทุกวันที่',
3497
+ searchRangeTooLong: "ค้นหาได้ครั้งละไม่เกิน {days} วัน หรือค้นหาด้วยรหัสคำสั่งซื้อ",
3498
+ statusGuide: "คำอธิบายสถานะ",
3499
+ statusPaidHelp: "ลูกค้าชำระเงินแล้ว คำสั่งซื้อถูกส่งไปยัง POS ของแต่ละร้าน และแต่ละร้านรับส่วนของตนเอง",
3500
+ statusPendingPaymentHelp: "ลูกค้าเช็กเอาต์และเริ่มชำระเงินแล้ว แต่ยังไม่ได้รับการยืนยันการชำระเงิน การชำระเงินที่ล้มเหลวหรือยังไม่เสร็จจะอยู่ในสถานะนี้ และลูกค้าชำระใหม่ได้ หากการชำระเงินสำเร็จภายหลัง คำสั่งซื้อจะเป็นชำระแล้ว",
3501
+ statusCancelledHelp: "ลูกค้ายกเลิกคำสั่งซื้อก่อนชำระเงิน จึงไม่มีร้านใดได้รับคำสั่งซื้อ หากการชำระเงินสำเร็จภายหลัง คำสั่งซื้อจะเป็นชำระแล้ว",
3502
+ statusGuideNote: "ตะกร้าที่ไม่ได้เช็กเอาต์จะไม่แสดง การคืนเงินทำแยกตามร้านบนบิลของร้านนั้น ร้านที่คืนเงินแล้วจะแสดงว่าคืนเงินแล้วในรายละเอียดคำสั่งซื้อ",
3503
+ viewReceipt: "ดูใบเสร็จ",
3504
+ receiptTitle: "ใบเสร็จ",
3505
+ downloadReceipt: "ดาวน์โหลด",
3506
+ receiptUnavailable: "แสดงใบเสร็จนี้ไม่ได้: {reason}"
3465
3507
  },
3466
3508
  qrOrdering: "สั่งอาหารผ่าน QR",
3467
3509
  qrOrderingSublabel: 'ลูกค้าสั่งอาหารจากทุกร้านได้โดยสแกน QR ของศูนย์อาหาร เมื่อปิด ลูกค้าจะเห็น "ศูนย์อาหารนี้ยังไม่รับคำสั่งซื้อในขณะนี้" และทุกร้านจะแสดง "ไม่พร้อมให้บริการ" ตู้คีออสก์ของศูนย์อาหารไม่ได้รับผลกระทบ',
@@ -4860,7 +4902,21 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
4860
4902
  exportEmpty: "選択したフィルターでエクスポートするデータがありません",
4861
4903
  exportIncomplete: "エクスポートしましたが、{count} 店舗の伝票の詳細を読み込めなかったため、その伝票の列は空です。後でもう一度お試しください。",
4862
4904
  exportRangeTooLong: "一度にエクスポートできるのは {days} 日分までです。期間を短くしてください。",
4863
- exportTooManyRows: "注文が多すぎて一度にエクスポートできません(店舗の注文 {rows} 件超)。期間を短くしてください。"
4905
+ exportTooManyRows: "注文が多すぎて一度にエクスポートできません(店舗の注文 {rows} 件超)。期間を短くしてください。",
4906
+ allStalls: "すべての店舗",
4907
+ moreStalls: "他{count}件",
4908
+ searchPlaceholder: "FC番号、注文ID、伝票番号で検索",
4909
+ noMatch: "この期間に「{search}」に一致する注文はありません。注文IDはどの日付でも検索できます。",
4910
+ searchRangeTooLong: "一度に検索できるのは{days}日までです。または注文IDで検索してください。",
4911
+ statusGuide: "ステータスの説明",
4912
+ statusPaidHelp: "お客様の支払いが完了しました。注文は各店舗のPOSに送られ、各店舗が自分の分を受け付けます。",
4913
+ statusPendingPaymentHelp: "お客様が会計を始めましたが、支払いはまだ確認されていません。失敗した支払いや未完了の支払いはこの状態のままで、お客様は再度支払えます。支払いが後で成功した場合は「支払済み」になります。",
4914
+ statusCancelledHelp: "お客様が支払い前に注文を取り消したため、どの店舗にも送られていません。後で支払いが成功した場合は「支払済み」になります。",
4915
+ statusGuideNote: "会計していないカートは表示されません。返金は店舗ごとに、その店舗の伝票で行われます。返金された店舗は注文詳細で「返金済み」と表示されます。",
4916
+ viewReceipt: "レシートを表示",
4917
+ receiptTitle: "レシート",
4918
+ downloadReceipt: "ダウンロード",
4919
+ receiptUnavailable: "このレシートは表示できません: {reason}"
4864
4920
  },
4865
4921
  qrOrdering: "QR注文",
4866
4922
  qrOrderingSublabel: "お客様はフードコートのQRを読み取って各店舗に注文できます。オフにすると、お客様には「このフードコートは現在注文を受け付けていません」と表示され、すべての店舗が「利用不可」になります。フードコートのキオスクには影響しません。",
@@ -7621,7 +7677,7 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
7621
7677
  }, uy = {
7622
7678
  order: dy,
7623
7679
  menu: cy
7624
- }, my = "0.0.108", gy = "fmmf";
7680
+ }, my = "0.0.109", gy = "fmmf";
7625
7681
  let hd = !1;
7626
7682
  function hy() {
7627
7683
  hd || (hd = !0, console.log(
@@ -26717,14 +26773,14 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26717
26773
  // allow access via either subject (coverSubject = OR fallback).
26718
26774
  path: Ue.KioskRoute,
26719
26775
  name: "Kiosk",
26720
- component: gn(Ve(() => import("./KioskView-B0WlDEsG.js"))),
26776
+ component: gn(Ve(() => import("./KioskView-B1sn-D6k.js"))),
26721
26777
  meta: hn([{ ...lh, coverSubject: _D.subject }])
26722
26778
  },
26723
26779
  {
26724
26780
  path: Ue.KioskDeviceRoute,
26725
26781
  name: "Kiosk Device",
26726
26782
  component: gn(
26727
- Ve(() => import("./KioskDevicesView-B9w4izOk.js"))
26783
+ Ve(() => import("./KioskDevicesView-COuR39YQ.js"))
26728
26784
  ),
26729
26785
  meta: hn([lh])
26730
26786
  },
@@ -26734,7 +26790,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26734
26790
  path: Ue.KioskOrderSettingRoute,
26735
26791
  name: "Kiosk Order Setting",
26736
26792
  component: gn(
26737
- Ve(() => import("./KioskSettingView-Bmfvz0Kz.js"))
26793
+ Ve(() => import("./KioskSettingView-DsIzIbYf.js"))
26738
26794
  ),
26739
26795
  meta: hn([dh])
26740
26796
  },
@@ -26742,7 +26798,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26742
26798
  path: Ue.OrderSettingView,
26743
26799
  name: "Order Setting View",
26744
26800
  component: gn(
26745
- Ve(() => import("./OrderSettingsView-BF89-eSB.js"))
26801
+ Ve(() => import("./OrderSettingsView-BvYGRXfI.js"))
26746
26802
  ),
26747
26803
  meta: hn([dh])
26748
26804
  },
@@ -26750,7 +26806,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26750
26806
  path: Ue.DisplaySystemView,
26751
26807
  name: "Display System View",
26752
26808
  component: gn(
26753
- Ve(() => import("./DisplaySystemView-ChGTO4v2.js"))
26809
+ Ve(() => import("./DisplaySystemView-hHA7fMQR.js"))
26754
26810
  ),
26755
26811
  meta: hn([YA])
26756
26812
  },
@@ -26761,7 +26817,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26761
26817
  path: Ue.FoodCourtOrderSettingView,
26762
26818
  name: "Food Court Order Setting View",
26763
26819
  component: Ve(
26764
- () => import("./FoodCourtOrderSettingsView-D5M5kFAl.js")
26820
+ () => import("./FoodCourtOrderSettingsView-BMRJe6tf.js")
26765
26821
  )
26766
26822
  },
26767
26823
  {
@@ -26769,13 +26825,13 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26769
26825
  // members. Owner-only on the backend, as Order Setting above.
26770
26826
  path: Ue.FoodCourtStallsView,
26771
26827
  name: "Food Court Stalls View",
26772
- component: Ve(() => import("./FoodCourtStallsView-jz1xnZus.js"))
26828
+ component: Ve(() => import("./FoodCourtStallsView-BAzlMqlj.js"))
26773
26829
  },
26774
26830
  {
26775
26831
  // Food Court Operations › Food Court: the court's Active / Inactive status (KDI-4915).
26776
26832
  path: Ue.FoodCourtStatusView,
26777
26833
  name: "Food Court Status View",
26778
- component: Ve(() => import("./FoodCourtStatusView-DC3qHL1L.js"))
26834
+ component: Ve(() => import("./FoodCourtStatusView-CRkk2f66.js"))
26779
26835
  },
26780
26836
  {
26781
26837
  // Food Court Operations › Orders (KDI-4941): the court's orders. Owner-only on
@@ -26784,7 +26840,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26784
26840
  // and a link to one order opens the list with it.
26785
26841
  path: Ue.FoodCourtOrdersView,
26786
26842
  name: "Food Court Orders View",
26787
- component: Ve(() => import("./FoodCourtOrdersView-BQrESoTH.js")),
26843
+ component: Ve(() => import("./FoodCourtOrdersView-DlGJnMOd.js")),
26788
26844
  children: [
26789
26845
  {
26790
26846
  path: ":orderId",
@@ -26800,7 +26856,7 @@ const GD = "/kiosk", YD = "/kiosk/device", HD = "/kiosk/order-setting", WD = "/o
26800
26856
  path: Ue.FoodCourtInvitationsView,
26801
26857
  name: "Food Court Invitations View",
26802
26858
  component: gn(
26803
- Ve(() => import("./FoodCourtInvitationsView-F1LiGOR8.js"))
26859
+ Ve(() => import("./FoodCourtInvitationsView-C_x0pvnB.js"))
26804
26860
  ),
26805
26861
  meta: hn([$D])
26806
26862
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as e, y as r, z as o } from "./app-B4ew9SMz.js";
1
+ import { _ as e, y as r, z as o } from "./app-utsChJtE.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { c as R, g as K } from "./app-B4ew9SMz.js";
1
+ import { c as R, g as K } from "./app-utsChJtE.js";
2
2
  var N = { exports: {} }, E;
3
3
  function X() {
4
4
  return E || (E = 1, function(V, et) {
@@ -2,7 +2,7 @@ var le = Object.defineProperty;
2
2
  var ue = (C, c, y) => c in C ? le(C, c, { enumerable: !0, configurable: !0, writable: !0, value: y }) : C[c] = y;
3
3
  var ot = (C, c, y) => ue(C, typeof c != "symbol" ? c + "" : c, y);
4
4
  import { readonly as Pt, ref as Ut } from "vue";
5
- import { c as st } from "./app-B4ew9SMz.js";
5
+ import { c as st } from "./app-utsChJtE.js";
6
6
  var lt = { exports: {} }, ee;
7
7
  function ce() {
8
8
  return ee || (ee = 1, function(C, c) {
@@ -210,6 +210,18 @@ export interface FoodCourtOrderSummary {
210
210
  /** How the customer paid, as printed ("Visa", "TNG eWallet"). */
211
211
  paymentMethod?: string | null;
212
212
  stallCount: number;
213
+ /**
214
+ * The stalls in the order, in checkout order (KDI-4941). Absent from an
215
+ * order-backend before KDI-4941's list filters.
216
+ */
217
+ stalls?: FoodCourtOrderListStall[];
218
+ }
219
+ /** A stall in a list row. */
220
+ export interface FoodCourtOrderListStall {
221
+ restaurantId: string;
222
+ unitNo: string | null;
223
+ /** The court's name for the stall at checkout, else the outlet's own name; null when unknown. */
224
+ name: string | null;
213
225
  }
214
226
  export interface FoodCourtOrderListQuery {
215
227
  /** ISO time with offset; orders opened from here. */
@@ -221,6 +233,14 @@ export interface FoodCourtOrderListQuery {
221
233
  page: number;
222
234
  /** 1 to 100. */
223
235
  limit: number;
236
+ /** Only orders with one of these stalls (restaurant ids). */
237
+ restaurantId?: string[];
238
+ /**
239
+ * A court or stall order id (found in any date or status), or, inside the
240
+ * other filters, an FC number, stall bill id or stall bill number. With a
241
+ * search the date range may span at most 31 days (SEARCH_RANGE_TOO_LONG).
242
+ */
243
+ search?: string;
224
244
  }
225
245
  /** A page of the list. The backend gives no total count, only whether a next page exists. */
226
246
  export interface FoodCourtOrderListRes {
@@ -306,6 +326,12 @@ export interface FoodCourtOrderReceipt {
306
326
  pf_orders: FoodCourtStallOrder[];
307
327
  paymentMethod?: string | null;
308
328
  total: FdoDinero;
329
+ /** Each stall outlet's own profile, by restaurant id: its name when the court gave the stall none. */
330
+ stallProfiles?: Record<string, {
331
+ name?: string | null;
332
+ } | null>;
333
+ /** The whole-court receipt page in Feeds (the receipt's QR code), no sign-in needed. */
334
+ receiptQrUrl?: string | null;
309
335
  }
310
336
  /**
311
337
  * Food Court Operations › Orders (KDI-4941): the court's orders on
@@ -315,13 +341,14 @@ export declare const FoodCourtOrderApi: {
315
341
  listOrders(foodCourtId: string, query: FoodCourtOrderListQuery): Promise<FoodCourtOrderListRes>;
316
342
  getOrder(foodCourtId: string, orderId: string): Promise<FoodCourtOrderReceipt>;
317
343
  /**
318
- * Every order the list's filters match, one row per stall order (KDI-4942).
344
+ * Every order the list's filters match, one row per stall order (KDI-4942);
345
+ * with stalls picked, only those stalls' rows (KDI-4941).
319
346
  * Refused (400) past 31 days with code EXPORT_RANGE_TOO_LONG, or past 50,000
320
347
  * rows with EXPORT_TOO_MANY_ROWS.
321
348
  */
322
349
  exportOrders(foodCourtId: string, query: FoodCourtOrderExportQuery): Promise<FoodCourtOrderExport>;
323
350
  };
324
- export type FoodCourtOrderExportQuery = Pick<FoodCourtOrderListQuery, 'from' | 'to' | 'status'>;
351
+ export type FoodCourtOrderExportQuery = Pick<FoodCourtOrderListQuery, 'from' | 'to' | 'status' | 'restaurantId'>;
325
352
  /**
326
353
  * One stall order of the export (`FdtoFoodCourtOrderExportRow`, order-backend).
327
354
  * Money is in major units (12.3 = RM12.30). The payment, total, fee and
@@ -163,6 +163,20 @@ export declare const i18nMessages: {
163
163
  exportIncomplete: string;
164
164
  exportRangeTooLong: string;
165
165
  exportTooManyRows: string;
166
+ allStalls: string;
167
+ moreStalls: string;
168
+ searchPlaceholder: string;
169
+ noMatch: string;
170
+ searchRangeTooLong: string;
171
+ statusGuide: string;
172
+ statusPaidHelp: string;
173
+ statusPendingPaymentHelp: string;
174
+ statusCancelledHelp: string;
175
+ statusGuideNote: string;
176
+ viewReceipt: string;
177
+ receiptTitle: string;
178
+ downloadReceipt: string;
179
+ receiptUnavailable: string;
166
180
  };
167
181
  qrOrdering: string;
168
182
  qrOrderingSublabel: string;
@@ -1756,6 +1770,20 @@ export declare const i18nMessages: {
1756
1770
  exportIncomplete: string;
1757
1771
  exportRangeTooLong: string;
1758
1772
  exportTooManyRows: string;
1773
+ allStalls: string;
1774
+ moreStalls: string;
1775
+ searchPlaceholder: string;
1776
+ noMatch: string;
1777
+ searchRangeTooLong: string;
1778
+ statusGuide: string;
1779
+ statusPaidHelp: string;
1780
+ statusPendingPaymentHelp: string;
1781
+ statusCancelledHelp: string;
1782
+ statusGuideNote: string;
1783
+ viewReceipt: string;
1784
+ receiptTitle: string;
1785
+ downloadReceipt: string;
1786
+ receiptUnavailable: string;
1759
1787
  };
1760
1788
  qrOrdering: string;
1761
1789
  qrOrderingSublabel: string;
@@ -3449,6 +3477,20 @@ export declare const i18nMessages: {
3449
3477
  exportIncomplete: string;
3450
3478
  exportRangeTooLong: string;
3451
3479
  exportTooManyRows: string;
3480
+ allStalls: string;
3481
+ moreStalls: string;
3482
+ searchPlaceholder: string;
3483
+ noMatch: string;
3484
+ searchRangeTooLong: string;
3485
+ statusGuide: string;
3486
+ statusPaidHelp: string;
3487
+ statusPendingPaymentHelp: string;
3488
+ statusCancelledHelp: string;
3489
+ statusGuideNote: string;
3490
+ viewReceipt: string;
3491
+ receiptTitle: string;
3492
+ downloadReceipt: string;
3493
+ receiptUnavailable: string;
3452
3494
  };
3453
3495
  qrOrdering: string;
3454
3496
  qrOrderingSublabel: string;
@@ -4849,6 +4891,20 @@ export declare const i18nMessages: {
4849
4891
  exportIncomplete: string;
4850
4892
  exportRangeTooLong: string;
4851
4893
  exportTooManyRows: string;
4894
+ allStalls: string;
4895
+ moreStalls: string;
4896
+ searchPlaceholder: string;
4897
+ noMatch: string;
4898
+ searchRangeTooLong: string;
4899
+ statusGuide: string;
4900
+ statusPaidHelp: string;
4901
+ statusPendingPaymentHelp: string;
4902
+ statusCancelledHelp: string;
4903
+ statusGuideNote: string;
4904
+ viewReceipt: string;
4905
+ receiptTitle: string;
4906
+ downloadReceipt: string;
4907
+ receiptUnavailable: string;
4852
4908
  };
4853
4909
  qrOrdering: string;
4854
4910
  qrOrderingSublabel: string;
@@ -162,6 +162,20 @@ export declare const i18nMessages: {
162
162
  exportIncomplete: string;
163
163
  exportRangeTooLong: string;
164
164
  exportTooManyRows: string;
165
+ allStalls: string;
166
+ moreStalls: string;
167
+ searchPlaceholder: string;
168
+ noMatch: string;
169
+ searchRangeTooLong: string;
170
+ statusGuide: string;
171
+ statusPaidHelp: string;
172
+ statusPendingPaymentHelp: string;
173
+ statusCancelledHelp: string;
174
+ statusGuideNote: string;
175
+ viewReceipt: string;
176
+ receiptTitle: string;
177
+ downloadReceipt: string;
178
+ receiptUnavailable: string;
165
179
  };
166
180
  qrOrdering: string;
167
181
  qrOrderingSublabel: string;
@@ -1755,6 +1769,20 @@ export declare const i18nMessages: {
1755
1769
  exportIncomplete: string;
1756
1770
  exportRangeTooLong: string;
1757
1771
  exportTooManyRows: string;
1772
+ allStalls: string;
1773
+ moreStalls: string;
1774
+ searchPlaceholder: string;
1775
+ noMatch: string;
1776
+ searchRangeTooLong: string;
1777
+ statusGuide: string;
1778
+ statusPaidHelp: string;
1779
+ statusPendingPaymentHelp: string;
1780
+ statusCancelledHelp: string;
1781
+ statusGuideNote: string;
1782
+ viewReceipt: string;
1783
+ receiptTitle: string;
1784
+ downloadReceipt: string;
1785
+ receiptUnavailable: string;
1758
1786
  };
1759
1787
  qrOrdering: string;
1760
1788
  qrOrderingSublabel: string;
@@ -3448,6 +3476,20 @@ export declare const i18nMessages: {
3448
3476
  exportIncomplete: string;
3449
3477
  exportRangeTooLong: string;
3450
3478
  exportTooManyRows: string;
3479
+ allStalls: string;
3480
+ moreStalls: string;
3481
+ searchPlaceholder: string;
3482
+ noMatch: string;
3483
+ searchRangeTooLong: string;
3484
+ statusGuide: string;
3485
+ statusPaidHelp: string;
3486
+ statusPendingPaymentHelp: string;
3487
+ statusCancelledHelp: string;
3488
+ statusGuideNote: string;
3489
+ viewReceipt: string;
3490
+ receiptTitle: string;
3491
+ downloadReceipt: string;
3492
+ receiptUnavailable: string;
3451
3493
  };
3452
3494
  qrOrdering: string;
3453
3495
  qrOrderingSublabel: string;
@@ -4848,6 +4890,20 @@ export declare const i18nMessages: {
4848
4890
  exportIncomplete: string;
4849
4891
  exportRangeTooLong: string;
4850
4892
  exportTooManyRows: string;
4893
+ allStalls: string;
4894
+ moreStalls: string;
4895
+ searchPlaceholder: string;
4896
+ noMatch: string;
4897
+ searchRangeTooLong: string;
4898
+ statusGuide: string;
4899
+ statusPaidHelp: string;
4900
+ statusPendingPaymentHelp: string;
4901
+ statusCancelledHelp: string;
4902
+ statusGuideNote: string;
4903
+ viewReceipt: string;
4904
+ receiptTitle: string;
4905
+ downloadReceipt: string;
4906
+ receiptUnavailable: string;
4851
4907
  };
4852
4908
  qrOrdering: string;
4853
4909
  qrOrderingSublabel: string;
@@ -1,6 +1,6 @@
1
1
  import dayjs from 'dayjs';
2
2
  import type { FdoDinero } from '@feedmepos/core/entity';
3
- import type { FoodCourtOrderReceipt, FoodCourtOrderStatus, FoodCourtStallOrder } from '@/api/food-court';
3
+ import type { FoodCourtOrderListStall, FoodCourtOrderReceipt, FoodCourtOrderStatus, FoodCourtStallOrder } from '@/api/food-court';
4
4
  import type { StatusChip } from './food-court-member';
5
5
  /**
6
6
  * The statuses the Orders list offers. DRAFT is left out: it is a cart the
@@ -8,6 +8,17 @@ import type { StatusChip } from './food-court-member';
8
8
  */
9
9
  export declare const ORDER_LIST_STATUSES: FoodCourtOrderStatus[];
10
10
  export declare const COURT_ORDER_STATUS_CHIP: Record<FoodCourtOrderStatus, StatusChip>;
11
+ /**
12
+ * What each court order status means (Hsin Ling's question, KDI-4941), in the
13
+ * list's order, shown in the Orders page's status guide. There is no Refunded
14
+ * court status yet: a refund today is per stall, on that stall's own bill.
15
+ */
16
+ export declare const COURT_ORDER_STATUS_HELP: {
17
+ status: FoodCourtOrderStatus;
18
+ helpKey: string;
19
+ }[];
20
+ /** A stall's name for the list, with its unit number in front when it has one ("5 · Cafe Run"). */
21
+ export declare function stallLabel(stall: FoodCourtOrderListStall): string;
11
22
  /**
12
23
  * A stall order's chip. A refunded or voided bill wins over the order state;
13
24
  * otherwise NEW = the stall POS has not accepted it yet.
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * Orders › Order detail (KDI-4941, Figma 1.11): one court order as its
3
3
  * whole-court receipt, one card per stall with that stall's items and bill.
4
- * Refund and receipt download are not built yet.
4
+ * View receipt shows the printed whole-court receipt (the court kiosk's
5
+ * printout, KDI-4934). Refund is not built yet: who bears a court refund is
6
+ * still open with product.
5
7
  */
6
8
  type __VLS_Props = {
7
9
  modelValue: boolean;