@feedmepos/mf-inventory-portal 1.2.13 → 1.2.14-dev.2

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 (76) hide show
  1. package/dist/App-BsAX8Df8.js +286 -0
  2. package/dist/{ApprovalView-BWX6xBQs.js → ApprovalView-BT-A6f4_.js} +26 -26
  3. package/dist/{BindingsDialog-CuwkcDKX.js → BindingsDialog-CNpvAGHr.js} +2 -2
  4. package/dist/{BindingsPicker-BibFsY0g.js → BindingsPicker-D-vmVplT.js} +10 -10
  5. package/dist/{BindingsTable-AdjKwSPH.js → BindingsTable-Z7PTxSy6.js} +1 -1
  6. package/dist/{ClosingDraftView-DWFHP9nE.js → ClosingDraftView-C_3P7kh0.js} +44 -44
  7. package/dist/{ClosingTemplateView-DOCF5f_u.js → ClosingTemplateView-CimxBGT-.js} +26 -26
  8. package/dist/{DeliveryOrderPrintPreview-DNDtL_Vo.js → DeliveryOrderPrintPreview-CMTO9y6R.js} +10 -10
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BWhINOE8.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DMK3P4pu.js} +15 -15
  10. package/dist/{FmMultiselectDialog-Dfo04ak5.js → FmMultiselectDialog-D6f0A92U.js} +4 -4
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DGVs4zLl.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CJvnR-aO.js} +54 -54
  12. package/dist/ImportView-CTYLH5Mz.js +1303 -0
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BESx2u4Y.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BbmtJ6Ge.js} +1 -1
  14. package/dist/{IngredientGroupView-M9sXlnE0.js → IngredientGroupView-wygIXAKy.js} +19 -20
  15. package/dist/IngredientsView-Ct3eNIqS.js +2240 -0
  16. package/dist/{IntegrationView-BlUNz1yc.js → IntegrationView-CKA76Mi6.js} +3 -3
  17. package/dist/{InventoryBindingForm-CvQ5zh6v.js → InventoryBindingForm-CdK2Ujur.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BEAEmPsU.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B-O0bjxU.js} +12 -12
  19. package/dist/{InventoryBindingSummary-CsJ-6G2P.js → InventoryBindingSummary-DN6sSW2u.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DjN_ktl1.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BK65pQy4.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BN_e7k7U.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DrFtLYGt.js} +1 -1
  22. package/dist/{PublishView-DZgCyLK2.js → PublishView-LJA3-Xmq.js} +25 -25
  23. package/dist/{PurchaseOrderPrintPreview-CB2xvQ33.js → PurchaseOrderPrintPreview-CpnoNRcV.js} +12 -12
  24. package/dist/{ReceiveRequestView-DgDHOS-Y.js → ReceiveRequestView-d7KmB_XN.js} +131 -132
  25. package/dist/RecipeView-B7PtWfJ-.js +636 -0
  26. package/dist/{StockView-eJOngk08.js → StockView-DoataAnD.js} +165 -166
  27. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BMFfegsk.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BZNMBDJ7.js} +1 -1
  28. package/dist/{SupplierView-BS8rBAKC.js → SupplierView-D9Kb7rAO.js} +4 -4
  29. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CfnN-1oC.js +3385 -0
  30. package/dist/{TransferTemplateView-By5Ci4Yg.js → TransferTemplateView-D9mrfBH5.js} +166 -166
  31. package/dist/UnitView-BP5IzLw2.js +674 -0
  32. package/dist/{WarehouseView-4ZLSJXYc.js → WarehouseView-B-qnAHv5.js} +32 -32
  33. package/dist/api/inventory.d.ts +306 -0
  34. package/dist/api/purchase-order.d.ts +1 -0
  35. package/dist/{app-D2lun71R.js → app-DDKw9H3a.js} +11730 -11115
  36. package/dist/app.d.ts +421 -0
  37. package/dist/app.js +1 -1
  38. package/dist/{closing-template-Cm1TtVzm.js → closing-template-BYCZ8etT.js} +1 -1
  39. package/dist/{decimal-eeicE4jp.js → decimal-DMb7zEqx.js} +1 -1
  40. package/dist/{format-unit-display-vHKazw0l.js → format-unit-display-BCTXGGeT.js} +24 -24
  41. package/dist/helper/number.d.ts +1 -0
  42. package/dist/import-export.helper-B4JVPOJK.js +243 -0
  43. package/dist/{index-DvX9cMJV.js → index-BZIogw8R.js} +1 -1
  44. package/dist/{index-C5s-1g7c.js → index-B__hxI_k.js} +1 -1
  45. package/dist/{purchase-order-template-uTs7bR89.js → purchase-order-template-Duc9oBWo.js} +1 -1
  46. package/dist/router/name.d.ts +1 -0
  47. package/dist/{stock-CL2LNdXp.js → stock-cFTv_nsm.js} +1 -1
  48. package/dist/stores/feature.d.ts +2 -0
  49. package/dist/stores/inventory.d.ts +26 -199
  50. package/dist/{supplier-CuzoW2k4.js → supplier-CESqvbEF.js} +1 -1
  51. package/dist/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/{use-ingredient-select-dialog-Cpg4lHHC.js → use-ingredient-select-dialog-DRJNoQTb.js} +4 -4
  53. package/dist/{use-inventory-binding-dialog-h4M4ICQK.js → use-inventory-binding-dialog-DTK5yRv9.js} +1 -1
  54. package/dist/views/import/ImportView.vue.d.ts +3 -0
  55. package/dist/views/import/components/ImportDialog.vue.d.ts +2 -0
  56. package/dist/views/import/helper/import-export.helper.d.ts +4 -0
  57. package/dist/views/ingredients/helper/import-export.helper.d.ts +3 -1
  58. package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +17 -0
  59. package/dist/views/receive-request/components/netsuite/NetSuiteTransactionChangeLog.vue.d.ts +15 -0
  60. package/dist/views/recipe/RecipeView.vue.d.ts +1 -0
  61. package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +16 -0
  62. package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +2 -0
  63. package/dist/views/recipe/helper/import-recipe.d.ts +48 -0
  64. package/dist/views/unit/UnitView.vue.d.ts +1 -0
  65. package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +12 -0
  66. package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +6 -0
  67. package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +9 -0
  68. package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +5 -0
  69. package/dist/views/unit/helper/import-export.helper.d.ts +40 -0
  70. package/package.json +3 -3
  71. package/dist/App-ZoXow3DD.js +0 -276
  72. package/dist/IngredientsView-DUwhH3j1.js +0 -2475
  73. package/dist/RecipeView-DQDfwCJd.js +0 -621
  74. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-w98ibfql.js +0 -3060
  75. package/dist/UnitView-DmuWMFlA.js +0 -667
  76. package/dist/array-Ca8T3f_G.js +0 -44
@@ -1,9 +1,9 @@
1
- import { defineComponent as Te, ref as H, computed as L, onMounted as Le, resolveComponent as P, openBlock as w, createElementBlock as U, Fragment as Q, createTextVNode as Z, createBlock as X, withCtx as O, createElementVNode as o, toDisplayString as W, unref as F, createVNode as k, createCommentVNode as ee, h as T, reactive as nt, watch as ot, isRef as Ye, normalizeClass as be, renderList as _e, normalizeStyle as Ke, Teleport as st, mergeProps as rt } from "vue";
2
- import { a8 as lt, u as Ie, au as E, am as Ge, av as qe, p as ct, $ as Ee, l as N, t as it, a1 as he, z as ut, B as dt, C as mt, aw as We, ax as Ze, ah as Qe, ay as re, an as ft, aa as Me, a9 as le, a6 as Ue, D as Oe, j as Se, i as pt, f as vt, a as yt, a0 as Fe, O as gt, P as bt, Q as At, T as Dt, V as je } from "./app-D2lun71R.js";
3
- import { useCoreStore as kt, useI18n as Je } from "@feedmepos/mf-common";
1
+ import { defineComponent as Te, ref as H, computed as L, onMounted as Le, resolveComponent as P, openBlock as w, createElementBlock as U, Fragment as J, createTextVNode as Z, createBlock as Q, withCtx as O, createElementVNode as o, toDisplayString as W, unref as F, createVNode as k, createCommentVNode as ee, h as T, reactive as nt, watch as ot, isRef as Ye, normalizeClass as be, renderList as _e, normalizeStyle as Ke, Teleport as st, mergeProps as rt } from "vue";
2
+ import { a7 as lt, u as Ie, av as E, al as Ge, aw as qe, q as ct, Y as Ee, l as N, t as it, $ as he, V as ut, X as dt, W as mt, ax as We, ay as Ze, ag as Je, az as re, am as ft, a9 as Me, a8 as le, a5 as Ue, D as Oe, j as Se, i as pt, f as vt, a as yt, Z as Fe, E as gt, G as bt, I as At, J as Dt, K as je } from "./app-DDKw9H3a.js";
3
+ import { useCoreStore as kt, useI18n as Xe } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Ve, useDialog as _t, useProxiedModel as ht, components as ge, useBreakpoints as xt } from "@feedmepos/ui-library";
5
- import { defineStore as Xe, storeToRefs as wt } from "pinia";
6
- import { a as He, u as et } from "./stock-CL2LNdXp.js";
5
+ import { defineStore as Qe, storeToRefs as wt } from "pinia";
6
+ import { a as He, u as et } from "./stock-cFTv_nsm.js";
7
7
  import { E as Ct } from "./empty-placeholder-wf6-BWE8.js";
8
8
  const Re = lt((l, s) => {
9
9
  function e() {
@@ -120,7 +120,7 @@ const Re = lt((l, s) => {
120
120
  }
121
121
  return (n, a) => {
122
122
  const j = P("FmLabel"), M = P("FmDatePicker"), f = P("FmTimePicker"), g = P("FmTextField"), b = P("FmButton"), $ = P("FmForm");
123
- return R.value ? (w(), X($, {
123
+ return R.value ? (w(), Q($, {
124
124
  key: 1,
125
125
  onValidationSuccess: Y,
126
126
  class: "flex flex-col gap-32",
@@ -176,7 +176,7 @@ const Re = lt((l, s) => {
176
176
  ])
177
177
  ]),
178
178
  _: 1
179
- }, 8, ["disabled"])) : (w(), U(Q, { key: 0 }, [
179
+ }, 8, ["disabled"])) : (w(), U(J, { key: 0 }, [
180
180
  Z("Loading")
181
181
  ], 64));
182
182
  };
@@ -210,7 +210,7 @@ function Rt(l, s, e, u) {
210
210
  systemBalance: +N(s),
211
211
  physicalBalance: +N(_),
212
212
  adjustedAmount: +N(m),
213
- adjustedDiffPercentage: C ? +N(Qe(C, 2)) : null
213
+ adjustedDiffPercentage: C ? +N(Je(C, 2)) : null
214
214
  };
215
215
  }
216
216
  function Pt(l) {
@@ -288,10 +288,10 @@ function Lt(l, s, e) {
288
288
  (B) => B.balance
289
289
  ), _ = [...l.items, ...l.negativeStockItems ?? []], m = at(_), R = _.map((B) => {
290
290
  var ie, ue, de;
291
- const J = ((ie = u.get(B.sku._id)) == null ? void 0 : ie[0]) ?? Tt, ce = ((ue = m == null ? void 0 : m.get(B.sku._id)) == null ? void 0 : ue[0]) ?? [];
291
+ const X = ((ie = u.get(B.sku._id)) == null ? void 0 : ie[0]) ?? Tt, ce = ((ue = m == null ? void 0 : m.get(B.sku._id)) == null ? void 0 : ue[0]) ?? [];
292
292
  return Rt(
293
293
  B,
294
- J,
294
+ X,
295
295
  ce,
296
296
  (de = p.get(B.sku._id)) == null ? void 0 : de[0]
297
297
  );
@@ -318,7 +318,7 @@ function Lt(l, s, e) {
318
318
  ],
319
319
  [],
320
320
  I.map((B) => B.name),
321
- ...R.map((B) => I.map((J) => B[J.id]))
321
+ ...R.map((B) => I.map((X) => B[X.id]))
322
322
  ], n = I.map((B) => `system:${B.id}`), a = ut(Y, n), j = `[${v == null ? void 0 : v.name}] closing draft (${dt(new Date(l.updatedAt))}).xlsx`;
323
323
  return mt(a, j), j;
324
324
  }
@@ -370,7 +370,7 @@ const Et = { class: "flex flex-col" }, Vt = { class: "flex gap-12 py-8 justify-e
370
370
  }
371
371
  return (C, x) => {
372
372
  const v = P("FmLabel"), I = P("FmDatePicker"), Y = P("FmTimePicker"), n = P("FmButton"), a = P("FmForm");
373
- return p.value ? (w(), X(a, {
373
+ return p.value ? (w(), Q(a, {
374
374
  key: 1,
375
375
  onValidationSuccess: R,
376
376
  class: "flex flex-col gap-32",
@@ -426,12 +426,12 @@ const Et = { class: "flex flex-col" }, Vt = { class: "flex gap-12 py-8 justify-e
426
426
  ])
427
427
  ]),
428
428
  _: 1
429
- }, 8, ["disabled"])) : (w(), U(Q, { key: 0 }, [
429
+ }, 8, ["disabled"])) : (w(), U(J, { key: 0 }, [
430
430
  Z("Loading")
431
431
  ], 64));
432
432
  };
433
433
  }
434
- }), $e = Xe(
434
+ }), $e = Qe(
435
435
  "closingDraftActions",
436
436
  function() {
437
437
  const s = _t(), e = Ve(), u = He(), p = Re(), _ = et(), m = H(!1), R = H();
@@ -568,10 +568,10 @@ function Be(l) {
568
568
  return "fm-status-badge-complete";
569
569
  }
570
570
  }
571
- const Nt = Xe(
571
+ const Nt = Qe(
572
572
  "closingDraftTable",
573
573
  function() {
574
- const { t: s } = Je(), e = $e(), u = H(new Array()), p = H(!1), _ = Ie(), m = Re();
574
+ const { t: s } = Xe(), e = $e(), u = H(new Array()), p = H(!1), _ = Ie(), m = Re();
575
575
  async function R() {
576
576
  if (u.value = [], !!_._currentLocation) {
577
577
  p.value = !0;
@@ -774,10 +774,10 @@ const Nt = Xe(
774
774
  updateDraftRef: x
775
775
  };
776
776
  }
777
- ), zt = { class: "w-full flex flex-col gap-32" }, Ot = { class: "flex justify-between" }, Yt = { class: "flex" }, Kt = { class: "grid grid-cols-[repeat(4,1fr)] xs:flex xs:flex-col sm:flex sm:flex-col gap-8" }, Gt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, qt = { class: "flex gap-1" }, Wt = { class: "fm-typo-en-body-lg-600" }, Zt = { class: "flex flex-col gap-16" }, Qt = { class: "flex items-center" }, Jt = {
777
+ ), zt = { class: "w-full flex flex-col gap-32" }, Ot = { class: "flex justify-between" }, Yt = { class: "flex" }, Kt = { class: "grid grid-cols-[repeat(4,1fr)] xs:flex xs:flex-col sm:flex sm:flex-col gap-8" }, Gt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, qt = { class: "flex gap-1" }, Wt = { class: "fm-typo-en-body-lg-600" }, Zt = { class: "flex flex-col gap-16" }, Jt = { class: "flex items-center" }, Xt = {
778
778
  key: 0,
779
779
  class: "flex gap-8"
780
- }, Xt = {
780
+ }, Qt = {
781
781
  key: 0,
782
782
  class: "w-full flex flex-col items-center"
783
783
  }, ea = { class: "flex items-center gap-8" }, ta = { class: "flex flex-col gap-8" }, aa = { class: "flex gap-8" }, na = {
@@ -840,7 +840,7 @@ const Nt = Xe(
840
840
  });
841
841
  }
842
842
  );
843
- const B = he(0), J = he(100);
843
+ const B = he(0), X = he(100);
844
844
  async function ce() {
845
845
  var t, y, d;
846
846
  if (!j._currentLocation) return;
@@ -1183,7 +1183,7 @@ const Nt = Xe(
1183
1183
  ), we = A.amount === 0 ? null : Ze(q, {
1184
1184
  ...A,
1185
1185
  amount: Math.abs(A.amount)
1186
- }), ye = we ? Ee(we, J) : null;
1186
+ }), ye = we ? Ee(we, X) : null;
1187
1187
  return {
1188
1188
  id: i._id,
1189
1189
  code: i.code,
@@ -1197,7 +1197,7 @@ const Nt = Xe(
1197
1197
  systemBalance: +N(A),
1198
1198
  physicalBalance: +N(h),
1199
1199
  adjustedAmount: +N(q),
1200
- adjustedDiffPercentage: ye ? +N(Qe(ye, 2)) : null,
1200
+ adjustedDiffPercentage: ye ? +N(Je(ye, 2)) : null,
1201
1201
  isTemplateItem: !r[i._id]
1202
1202
  };
1203
1203
  }).filter((i) => !!(i.isTemplateItem && b.value.templateItem || !i.isTemplateItem && b.value.nonTemplateItem));
@@ -1316,7 +1316,7 @@ const Nt = Xe(
1316
1316
  });
1317
1317
  return (r, t) => {
1318
1318
  const y = P("FmButtonGroup"), d = P("FmMenuDivider"), i = P("FmCard"), c = P("FmButton"), A = P("FmCircularProgress"), h = P("FmChip"), D = P("FmTextField"), q = P("FmIcon"), we = P("FmTable"), ye = P("FmSpacer"), Ne = P("FmTooltip"), Ce = P("FmSideSheet");
1319
- return w(), X(Ce, {
1319
+ return w(), Q(Ce, {
1320
1320
  "dismiss-away": "",
1321
1321
  "max-width": 9999,
1322
1322
  "model-value": F(_),
@@ -1327,8 +1327,8 @@ const Nt = Xe(
1327
1327
  var S, z, K, G;
1328
1328
  return [
1329
1329
  o("div", ha, [
1330
- ((S = e.draft) == null ? void 0 : S.status) === F(re).enum.DRAFT ? (w(), U(Q, { key: 0 }, [
1331
- ke.value ? (w(), X(Ne, {
1330
+ ((S = e.draft) == null ? void 0 : S.status) === F(re).enum.DRAFT ? (w(), U(J, { key: 0 }, [
1331
+ ke.value ? (w(), Q(Ne, {
1332
1332
  key: 0,
1333
1333
  "z-index": 51
1334
1334
  }, {
@@ -1344,19 +1344,19 @@ const Nt = Xe(
1344
1344
  })
1345
1345
  ]),
1346
1346
  _: 1
1347
- })) : (w(), X(c, {
1347
+ })) : (w(), Q(c, {
1348
1348
  key: "approve key",
1349
1349
  label: "Approve",
1350
1350
  onClick: t[6] || (t[6] = () => e.draft && F(p).approveDraft(e.draft, () => g("submitted")))
1351
1351
  }))
1352
1352
  ], 64)) : ee("", !0),
1353
- ((z = e.draft) == null ? void 0 : z.status) === F(re).enum.DRAFT ? (w(), X(c, {
1353
+ ((z = e.draft) == null ? void 0 : z.status) === F(re).enum.DRAFT ? (w(), Q(c, {
1354
1354
  key: 1,
1355
1355
  label: "Reject",
1356
1356
  variant: "destructive",
1357
1357
  onClick: t[7] || (t[7] = () => e.draft && F(p).rejectDraft(e.draft, () => g("submitted")))
1358
1358
  })) : ee("", !0),
1359
- (K = e.draft) != null && K.approvedAt && ((G = e.draft) == null ? void 0 : G.status) !== F(re).enum.COMPLETED ? (w(), X(c, {
1359
+ (K = e.draft) != null && K.approvedAt && ((G = e.draft) == null ? void 0 : G.status) !== F(re).enum.COMPLETED ? (w(), Q(c, {
1360
1360
  key: 2,
1361
1361
  label: "Sync",
1362
1362
  loading: C.value,
@@ -1383,7 +1383,7 @@ const Nt = Xe(
1383
1383
  "onUpdate:modelValue": t[0] || (t[0] = (S) => se.value = S)
1384
1384
  }, null, 8, ["modelValue"])
1385
1385
  ]),
1386
- se.value.value === "overview" ? (w(), U(Q, { key: 0 }, [
1386
+ se.value.value === "overview" ? (w(), U(J, { key: 0 }, [
1387
1387
  k(i, {
1388
1388
  variant: "outlined",
1389
1389
  class: "flex flex-col gap-8 px-12 py-16"
@@ -1401,7 +1401,7 @@ const Nt = Xe(
1401
1401
  ]),
1402
1402
  k(d),
1403
1403
  o("div", Kt, [
1404
- (w(!0), U(Q, null, _e(pe.value, (K, G) => (w(), U("div", {
1404
+ (w(!0), U(J, null, _e(pe.value, (K, G) => (w(), U("div", {
1405
1405
  class: "flex flex-col gap-4",
1406
1406
  key: G
1407
1407
  }, [
@@ -1416,10 +1416,10 @@ const Nt = Xe(
1416
1416
  _: 1
1417
1417
  }),
1418
1418
  o("div", Zt, [
1419
- o("div", Qt, [
1419
+ o("div", Jt, [
1420
1420
  t[12] || (t[12] = o("div", { class: "flex-1 fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, " Closing items ", -1)),
1421
- m.value ? ee("", !0) : (w(), U("div", Jt, [
1422
- r.draft && r.draft.status !== F(re).enum.COMPLETED ? (w(), X(c, {
1421
+ m.value ? ee("", !0) : (w(), U("div", Xt, [
1422
+ r.draft && r.draft.status !== F(re).enum.COMPLETED ? (w(), Q(c, {
1423
1423
  key: 0,
1424
1424
  label: "Refresh balance",
1425
1425
  "prepend-icon": "refresh",
@@ -1445,7 +1445,7 @@ const Nt = Xe(
1445
1445
  })
1446
1446
  ]))
1447
1447
  ]),
1448
- m.value ? (w(), U("div", Xt, [
1448
+ m.value ? (w(), U("div", Qt, [
1449
1449
  t[14] || (t[14] = o("div", { class: "h-80" }, null, -1)),
1450
1450
  o("div", ea, [
1451
1451
  o("div", null, [
@@ -1454,7 +1454,7 @@ const Nt = Xe(
1454
1454
  t[13] || (t[13] = o("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Fetching info... ", -1))
1455
1455
  ]),
1456
1456
  t[15] || (t[15] = o("div", { class: "h-80" }, null, -1))
1457
- ])) : (w(), U(Q, { key: 1 }, [
1457
+ ])) : (w(), U(J, { key: 1 }, [
1458
1458
  o("div", ta, [
1459
1459
  o("div", aa, [
1460
1460
  k(h, {
@@ -1475,7 +1475,7 @@ const Nt = Xe(
1475
1475
  }, null, 8, ["modelValue"])
1476
1476
  ]),
1477
1477
  F(a).skuTags.size ? (w(), U("div", na, [
1478
- (w(!0), U(Q, null, _e(F(a).skuTags.keys(), (S) => (w(), X(h, {
1478
+ (w(!0), U(J, null, _e(F(a).skuTags.keys(), (S) => (w(), Q(h, {
1479
1479
  key: `${S}`,
1480
1480
  label: `${S}`,
1481
1481
  selectable: "",
@@ -1483,7 +1483,7 @@ const Nt = Xe(
1483
1483
  onClick: (z) => M[`${S}`] = !M[`${S}`]
1484
1484
  }, {
1485
1485
  default: O(() => [
1486
- M[`${S}`] ? (w(), X(q, {
1486
+ M[`${S}`] ? (w(), Q(q, {
1487
1487
  key: 0,
1488
1488
  name: "check",
1489
1489
  class: "text-white",
@@ -1518,7 +1518,7 @@ const Nt = Xe(
1518
1518
  ], 64)) : ee("", !0),
1519
1519
  se.value.value === "history" ? (w(), U("div", sa, [
1520
1520
  ae.value.length ? (w(), U("div", ca, [
1521
- (w(!0), U(Q, null, _e(ae.value, (S, z) => (w(), U(Q, { key: z }, [
1521
+ (w(!0), U(J, null, _e(ae.value, (S, z) => (w(), U(J, { key: z }, [
1522
1522
  o("div", ia, [
1523
1523
  o("div", ua, [
1524
1524
  o("div", da, [
@@ -1571,13 +1571,13 @@ const Nt = Xe(
1571
1571
  }, {
1572
1572
  default: O(() => [
1573
1573
  o("div", Da, [
1574
- (w(!0), U(Q, null, _e(S.info, (K, G) => (w(), U("div", {
1574
+ (w(!0), U(J, null, _e(S.info, (K, G) => (w(), U("div", {
1575
1575
  key: G,
1576
1576
  class: "flex flex-col gap-4"
1577
1577
  }, [
1578
1578
  o("div", ka, W(K == null ? void 0 : K.label), 1),
1579
1579
  o("div", _a, [
1580
- (w(!0), U(Q, null, _e(K == null ? void 0 : K.values, (ne, me) => (w(), U("div", {
1580
+ (w(!0), U(J, null, _e(K == null ? void 0 : K.values, (ne, me) => (w(), U("div", {
1581
1581
  key: me,
1582
1582
  class: "fm-typo-en-body-lg-600"
1583
1583
  }, W(ne), 1))), 128))
@@ -1613,7 +1613,7 @@ const Nt = Xe(
1613
1613
  }), wa = { class: "flex-1 flex flex-col gap-8" }, Ca = { class: "flex flex-col" }, Sa = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Fa = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ja = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Ba = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, La = /* @__PURE__ */ Te({
1614
1614
  __name: "ClosingDraftView",
1615
1615
  setup(l) {
1616
- const { t: s } = Je(), { viewDraft: e } = $e(), { viewClosingDraftProps: u, viewClosingDraftShow: p } = wt($e()), _ = Ie(), m = Nt(), R = gt(), { breakpoints: C } = xt();
1616
+ const { t: s } = Xe(), { viewDraft: e } = $e(), { viewClosingDraftProps: u, viewClosingDraftShow: p } = wt($e()), _ = Ie(), m = Nt(), R = gt(), { breakpoints: C } = xt();
1617
1617
  _.watchLocation(m.fetchDrafts);
1618
1618
  const x = L(() => m.loading), v = H(""), I = L(() => C.value.xs || C.value.sm), Y = L(() => I.value ? 10 : 20);
1619
1619
  function n(M) {
@@ -1640,7 +1640,7 @@ const Nt = Xe(
1640
1640
  ]);
1641
1641
  return (M, f) => {
1642
1642
  const g = P("FmTable");
1643
- return w(), U(Q, null, [
1643
+ return w(), U(J, null, [
1644
1644
  k(bt, {
1645
1645
  title: F(s)("inventory.closing.draft.title"),
1646
1646
  actions: j.value,
@@ -1677,14 +1677,14 @@ const Nt = Xe(
1677
1677
  onRowClick: ($) => F(e)($)
1678
1678
  }, {
1679
1679
  default: O(($) => {
1680
- var V, te, B, J, ce, ie, ue, de, oe, Ae, xe, fe, De, pe, ve, se, ae, ke, r, t;
1680
+ var V, te, B, X, ce, ie, ue, de, oe, Ae, xe, fe, De, pe, ve, se, ae, ke, r, t;
1681
1681
  return [
1682
1682
  o("div", wa, [
1683
1683
  o("div", Ca, [
1684
1684
  o("div", Sa, [
1685
1685
  k(F(je), {
1686
1686
  render: (B = (te = (V = $._id) == null ? void 0 : V.column) == null ? void 0 : te.columnDef) == null ? void 0 : B.cell,
1687
- props: (ce = (J = $._id) == null ? void 0 : J.getContext) == null ? void 0 : ce.call(J)
1687
+ props: (ce = (X = $._id) == null ? void 0 : X.getContext) == null ? void 0 : ce.call(X)
1688
1688
  }, null, 8, ["render", "props"])
1689
1689
  ]),
1690
1690
  o("div", Fa, [
@@ -1722,7 +1722,7 @@ const Nt = Xe(
1722
1722
  ]),
1723
1723
  _: 1
1724
1724
  }, 8, ["title", "actions"]),
1725
- (w(), X(st, { to: "body" }, [
1725
+ (w(), Q(st, { to: "body" }, [
1726
1726
  k(xa, rt(F(u), {
1727
1727
  show: F(p),
1728
1728
  "onUpdate:show": f[2] || (f[2] = (b) => Ye(p) ? p.value = b : null),
@@ -1,10 +1,10 @@
1
- import { ref as P, h as F, defineComponent as B, resolveComponent as R, openBlock as k, createElementBlock as I, createElementVNode as _, normalizeClass as Y, createTextVNode as Me, toDisplayString as C, unref as y, createCommentVNode as G, createVNode as $, withCtx as A, Fragment as j, renderList as J, computed as E, watch as Pe, createSlots as Fe, createBlock as L, isRef as Oe, normalizeStyle as Ye, Teleport as Ke, normalizeProps as Ge, guardReactiveProps as Je, mergeProps as We } from "vue";
2
- import { u as ie, an as qe, D as Z, j as V, i as Qe, f as Re, ao as Xe, ap as ae, B as Ze, aq as Ae, C as Ee, a as ce, b as et, E as tt, G as Ve, J as nt, K as ot, ar as st, e as H, V as O, X as lt, as as at, p as rt, T as Ue, A as it, at as ct, a9 as le, O as mt, P as ut, Q as dt } from "./app-D2lun71R.js";
1
+ import { ref as P, h as F, defineComponent as B, resolveComponent as R, openBlock as k, createElementBlock as I, createElementVNode as _, normalizeClass as Y, createTextVNode as Me, toDisplayString as C, unref as y, createCommentVNode as G, createVNode as $, withCtx as A, Fragment as j, renderList as W, computed as E, watch as Pe, createSlots as Fe, createBlock as L, isRef as Oe, normalizeStyle as Ye, Teleport as Ke, normalizeProps as Ge, guardReactiveProps as We, mergeProps as qe } from "vue";
2
+ import { u as ie, am as Je, D as Z, j as V, i as Xe, f as Re, an as Qe, ao as ae, X as Ze, ap as Ae, W as Ee, a as ce, b as et, aq as tt, ar as Ve, B as nt, C as ot, as as st, e as H, K as O, P as lt, at, q as rt, J as Ue, A as it, au as ct, a8 as le, E as mt, G as ut, I as dt } from "./app-DDKw9H3a.js";
3
3
  import { useI18n as z, useCoreStore as Le } from "@feedmepos/mf-common";
4
4
  import { useDialog as te, useDialogChild as pt, useSnackbar as ne, FmButtonVariant as ee, components as N, useProxiedModel as ft, useBreakpoints as vt } from "@feedmepos/ui-library";
5
5
  import { defineStore as Ne, storeToRefs as Be } from "pinia";
6
- import { u as oe } from "./closing-template-Cm1TtVzm.js";
7
- import { u as gt } from "./use-ingredient-select-dialog-Cpg4lHHC.js";
6
+ import { u as oe } from "./closing-template-BYCZ8etT.js";
7
+ import { u as gt } from "./use-ingredient-select-dialog-DRJNoQTb.js";
8
8
  const se = Ne(
9
9
  "closingTemplateTable",
10
10
  function() {
@@ -33,7 +33,7 @@ const se = Ne(
33
33
  };
34
34
  r.open({
35
35
  title: "Publish template",
36
- contentComponent: Xe,
36
+ contentComponent: Qe,
37
37
  contentComponentProps: s,
38
38
  closeButton: !0,
39
39
  primaryActions: {
@@ -97,7 +97,7 @@ const se = Ne(
97
97
  accessorKey: "_id",
98
98
  header: () => l("inventory.closing.table.createdAt"),
99
99
  cell(t) {
100
- return qe(`${t.getValue()}`);
100
+ return Je(`${t.getValue()}`);
101
101
  },
102
102
  enableSorting: !0
103
103
  },
@@ -173,7 +173,7 @@ const se = Ne(
173
173
  Z[V.Delete],
174
174
  Z[V.Publish]
175
175
  ];
176
- return Qe(i, (e) => T(e, s));
176
+ return Xe(i, (e) => T(e, s));
177
177
  },
178
178
  enableSorting: !1,
179
179
  size: 40,
@@ -556,7 +556,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
556
556
  $(n, { "z-index": 50 }, {
557
557
  content: A(() => [
558
558
  _("ol", null, [
559
- (k(!0), I(j, null, J(r.errors, (a, v) => (k(), I("li", { key: v }, C(a), 1))), 128))
559
+ (k(!0), I(j, null, W(r.errors, (a, v) => (k(), I("li", { key: v }, C(a), 1))), 128))
560
560
  ])
561
561
  ]),
562
562
  default: A(() => [
@@ -713,7 +713,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
713
713
  ]))
714
714
  ], 2),
715
715
  g.value.length ? (k(), I("div", Ut, [
716
- (k(!0), I(j, null, J(g.value, (w, p) => (k(), I("div", {
716
+ (k(!0), I(j, null, W(g.value, (w, p) => (k(), I("div", {
717
717
  key: p,
718
718
  class: "flex gap-8 items-center"
719
719
  }, [
@@ -732,7 +732,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
732
732
  ]), 1032, ["class", "label", "button-label"]),
733
733
  v.value ? (k(), I("div", Nt, [
734
734
  _("div", Bt, C(y(d)("inventory.ingredient.import.summary")), 1),
735
- (k(!0), I(j, null, J(m.value, (e, w) => (k(), L(De, {
735
+ (k(!0), I(j, null, W(m.value, (e, w) => (k(), L(De, {
736
736
  key: w,
737
737
  name: e.template.name,
738
738
  locations: e.template.locations,
@@ -740,7 +740,7 @@ const $t = { class: "flex items-center gap-12 pl-8" }, Ct = { class: "flex flex-
740
740
  errors: e.errors,
741
741
  type: "create"
742
742
  }, null, 8, ["name", "locations", "items", "errors"]))), 128)),
743
- (k(!0), I(j, null, J(f.value, (e) => (k(), L(De, {
743
+ (k(!0), I(j, null, W(f.value, (e) => (k(), L(De, {
744
744
  key: e.template._id,
745
745
  name: e.template.name,
746
746
  locations: e.template.locations,
@@ -1194,7 +1194,7 @@ function Ht(u) {
1194
1194
  })
1195
1195
  };
1196
1196
  }
1197
- const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt = { class: "flex-1 flex flex-col" }, Kt = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Jt = { class: "flex flex-col gap-4" }, Wt = /* @__PURE__ */ B({
1197
+ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt = { class: "flex-1 flex flex-col" }, Kt = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Wt = { class: "flex flex-col gap-4" }, qt = /* @__PURE__ */ B({
1198
1198
  __name: "ClosingTemplateItem",
1199
1199
  props: {
1200
1200
  cellByColId: {},
@@ -1219,9 +1219,9 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
1219
1219
  }, null, 8, ["render", "props"])
1220
1220
  ])
1221
1221
  ]),
1222
- _("div", Jt, [
1222
+ _("div", Wt, [
1223
1223
  n[0] || (n[0] = _("div", { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, null, -1)),
1224
- (k(!0), I(j, null, J(c.value, (d) => {
1224
+ (k(!0), I(j, null, W(c.value, (d) => {
1225
1225
  var x, T, h;
1226
1226
  return k(), I("div", {
1227
1227
  key: d.id
@@ -1236,7 +1236,7 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
1236
1236
  ]);
1237
1237
  };
1238
1238
  }
1239
- }), qt = { class: "flex flex-col gap-16" }, Qt = { class: "flex flex-col gap-24" }, Xt = { class: "flex flex-col gap-16" }, Zt = { class: "flex items-center" }, en = { class: "flex-1 fm-typo-en-title-sm-600" }, tn = { class: "flex flex-col gap-16" }, nn = { class: "flex items-center" }, on = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, sn = /* @__PURE__ */ B({
1239
+ }), Jt = { class: "flex flex-col gap-16" }, Xt = { class: "flex flex-col gap-24" }, Qt = { class: "flex flex-col gap-16" }, Zt = { class: "flex items-center" }, en = { class: "flex-1 fm-typo-en-title-sm-600" }, tn = { class: "flex flex-col gap-16" }, nn = { class: "flex items-center" }, on = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, sn = /* @__PURE__ */ B({
1240
1240
  __name: "ClosingTemplateForm",
1241
1241
  props: {
1242
1242
  modelValue: {},
@@ -1313,8 +1313,8 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
1313
1313
  disabled: t.disabled
1314
1314
  }, {
1315
1315
  default: A(() => [
1316
- _("div", qt, [
1317
- _("div", Qt, [
1316
+ _("div", Jt, [
1317
+ _("div", Xt, [
1318
1318
  $(i, {
1319
1319
  label: y(o)("inventory.closing.form.name"),
1320
1320
  "label-mark": "required",
@@ -1330,7 +1330,7 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
1330
1330
  }, null, 8, ["label", "modelValue"])
1331
1331
  ])
1332
1332
  ]),
1333
- _("div", Xt, [
1333
+ _("div", Qt, [
1334
1334
  _("div", Zt, [
1335
1335
  _("div", en, C(y(o)("inventory.closing.form.locations")), 1),
1336
1336
  $(e, {
@@ -1394,7 +1394,7 @@ const jt = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, Yt =
1394
1394
  key: y(c).items.map((M) => M.sku._id).join(".")
1395
1395
  }, {
1396
1396
  default: A((M) => [
1397
- $(Wt, {
1397
+ $(qt, {
1398
1398
  row: D,
1399
1399
  "cell-by-col-id": M
1400
1400
  }, null, 8, ["row", "cell-by-col-id"])
@@ -1799,20 +1799,20 @@ const dn = /* @__PURE__ */ ct(mn, [["render", un]]), pn = { class: "flex flex-co
1799
1799
  onRowClick: (U) => y(c)(U)
1800
1800
  }, {
1801
1801
  default: A((U) => {
1802
- var ue, de, pe, W, fe, ve, ge, ye, q, he, be, _e, xe, we, ke, Q, Te, $e, Ce, Ie, X, Se;
1802
+ var ue, de, pe, q, fe, ve, ge, ye, J, he, be, _e, xe, we, ke, X, Te, $e, Ce, Ie, Q, Se;
1803
1803
  return [
1804
1804
  _("div", Cn, [
1805
1805
  _("div", In, [
1806
1806
  _("div", Sn, [
1807
1807
  $(y(O), {
1808
1808
  render: (pe = (de = (ue = U._id) == null ? void 0 : ue.column) == null ? void 0 : de.columnDef) == null ? void 0 : pe.cell,
1809
- props: (fe = (W = U._id) == null ? void 0 : W.getContext) == null ? void 0 : fe.call(W)
1809
+ props: (fe = (q = U._id) == null ? void 0 : q.getContext) == null ? void 0 : fe.call(q)
1810
1810
  }, null, 8, ["render", "props"])
1811
1811
  ]),
1812
1812
  _("div", Dn, [
1813
1813
  $(y(O), {
1814
1814
  render: (ye = (ge = (ve = U.name) == null ? void 0 : ve.column) == null ? void 0 : ge.columnDef) == null ? void 0 : ye.cell,
1815
- props: (he = (q = U.name) == null ? void 0 : q.getContext) == null ? void 0 : he.call(q)
1815
+ props: (he = (J = U.name) == null ? void 0 : J.getContext) == null ? void 0 : he.call(J)
1816
1816
  }, null, 8, ["render", "props"])
1817
1817
  ]),
1818
1818
  _("div", null, C((be = M.original.locations) != null && be.length ? y(l)("inventory.closing.table.enabledForN", {
@@ -1825,14 +1825,14 @@ const dn = /* @__PURE__ */ ct(mn, [["render", un]]), pn = { class: "flex flex-co
1825
1825
  _("div", Pn, [
1826
1826
  $(y(O), {
1827
1827
  render: (ke = (we = (xe = U.ref) == null ? void 0 : xe.column) == null ? void 0 : we.columnDef) == null ? void 0 : ke.cell,
1828
- props: (Te = (Q = U.ref) == null ? void 0 : Q.getContext) == null ? void 0 : Te.call(Q)
1828
+ props: (Te = (X = U.ref) == null ? void 0 : X.getContext) == null ? void 0 : Te.call(X)
1829
1829
  }, null, 8, ["render", "props"])
1830
1830
  ])
1831
1831
  ]),
1832
1832
  _("div", null, [
1833
1833
  $(y(O), {
1834
1834
  render: (Ie = (Ce = ($e = U.status) == null ? void 0 : $e.column) == null ? void 0 : Ce.columnDef) == null ? void 0 : Ie.cell,
1835
- props: (Se = (X = U.status) == null ? void 0 : X.getContext) == null ? void 0 : Se.call(X)
1835
+ props: (Se = (Q = U.status) == null ? void 0 : Q.getContext) == null ? void 0 : Se.call(Q)
1836
1836
  }, null, 8, ["render", "props"])
1837
1837
  ])
1838
1838
  ])
@@ -1848,8 +1848,8 @@ const dn = /* @__PURE__ */ ct(mn, [["render", un]]), pn = { class: "flex flex-co
1848
1848
  _: 1
1849
1849
  }, 8, ["title", "actions"]),
1850
1850
  (k(), L(Ke, { to: "body" }, [
1851
- $(dn, Ge(Je(y(m))), null, 16),
1852
- $(cn, We(y(g), {
1851
+ $(dn, Ge(We(y(m))), null, 16),
1852
+ $(cn, qe(y(g), {
1853
1853
  onSubmitted: S[2] || (S[2] = (M) => y(v).fetchTemplates())
1854
1854
  }), null, 16)
1855
1855
  ]))
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as x, computed as f, ref as h, onMounted as g, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as _ } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { aG as y, at as w } from "./app-D2lun71R.js";
3
+ import { aH as y, au as w } from "./app-DDKw9H3a.js";
4
4
  const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
5
5
  key: 0,
6
6
  class: "subtitle"
7
- }, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" }, U = { class: "purchase-body" }, B = { class: "text-left" }, H = { class: "text-left" }, L = { class: "text-left" }, M = { class: "text-left" }, V = { class: "text-left" }, G = { class: "text-right" }, J = { key: 0 }, j = {
7
+ }, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" }, H = { class: "purchase-body" }, U = { class: "text-left" }, B = { class: "text-left" }, L = { class: "text-left" }, M = { class: "text-left" }, V = { class: "text-left" }, J = { class: "text-right" }, j = { key: 0 }, z = {
8
8
  key: 1,
9
9
  style: { "padding-top": "30px" }
10
- }, z = { valign: "bottom" }, Q = { class: "header" }, K = { class: "caption" }, W = {
10
+ }, G = { valign: "bottom" }, Q = { class: "header" }, K = { class: "caption" }, W = {
11
11
  class: "text-left",
12
12
  style: { width: "20%" }
13
13
  }, X = { class: "text-left" }, Y = {
@@ -106,7 +106,7 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
106
106
  ])
107
107
  ])
108
108
  ]),
109
- t("div", U, [
109
+ t("div", H, [
110
110
  t("table", null, [
111
111
  l[19] || (l[19] = t("thead", { class: "item-header" }, [
112
112
  t("tr", null, [
@@ -126,8 +126,8 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
126
126
  ], -1)),
127
127
  t("tbody", null, [
128
128
  t("tr", null, [
129
- t("td", B, e(s.value.orderNumber), 1),
130
- t("td", H, e(s.value.ref), 1),
129
+ t("td", U, e(s.value.orderNumber), 1),
130
+ t("td", B, e(s.value.ref), 1),
131
131
  t("td", L, e(s.value.supplier.phoneNumber), 1)
132
132
  ])
133
133
  ])
@@ -161,14 +161,14 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
161
161
  "text-warning": r.received != r.quantity
162
162
  }])
163
163
  }, e(r.received + "/" + r.quantity), 3),
164
- t("td", G, e(r.unit), 1)
164
+ t("td", J, e(r.unit), 1)
165
165
  ]))), 128))
166
166
  ])
167
167
  ])
168
168
  ]),
169
169
  l[24] || (l[24] = t("hr", null, null, -1)),
170
- s.value.remark ? (u(), i("div", J, "Remark: " + e(s.value.remark), 1)) : d("", !0),
171
- s.value.deliveryOrders.length > 0 ? (u(), i("div", j, [
170
+ s.value.remark ? (u(), i("div", j, "Remark: " + e(s.value.remark), 1)) : d("", !0),
171
+ s.value.deliveryOrders.length > 0 ? (u(), i("div", z, [
172
172
  l[21] || (l[21] = t("hr", null, null, -1)),
173
173
  l[22] || (l[22] = n(" Delivery History: ")),
174
174
  (u(!0), i(o, null, p(s.value.deliveryOrders, (r, a) => (u(), i("div", {
@@ -176,7 +176,7 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
176
176
  style: { padding: "10px 30px" }
177
177
  }, [
178
178
  t("table", null, [
179
- t("tr", z, [
179
+ t("tr", G, [
180
180
  t("td", null, [
181
181
  t("div", Q, "Ref: " + e(r.ref), 1),
182
182
  t("div", K, e(r.createdAt), 1),