@feedmepos/mf-inventory-portal 1.2.50-dev.2 → 1.2.51-dev.1

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 (79) hide show
  1. package/dist/{App-DAO7XF9h.js → App-bY_YcLwH.js} +24 -23
  2. package/dist/{ApprovalView-BUHefc15.js → ApprovalView-vzIiBqt2.js} +5 -5
  3. package/dist/{BindingsDialog-Cx9ngX7X.js → BindingsDialog-DCh2ORem.js} +2 -2
  4. package/dist/{BindingsPicker-CIZ9FVgv.js → BindingsPicker-DcNG03p-.js} +2 -2
  5. package/dist/{BindingsTable-CMyZkvyn.js → BindingsTable-B_Yaq-z3.js} +3 -3
  6. package/dist/{ClosingDraftView-D4CMfSvf.js → ClosingDraftView-C0T8cWEB.js} +9 -9
  7. package/dist/{ClosingHistoryView-J_2EA-F4.js → ClosingHistoryView-DkKAjh7T.js} +27 -27
  8. package/dist/{ClosingTemplateView-Bz21bJLn.js → ClosingTemplateView-DpH1EyW5.js} +14 -14
  9. package/dist/{DeliveryOrderPrintPreview-D9xRJSBT.js → DeliveryOrderPrintPreview-B2ecLaLu.js} +1 -1
  10. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CI4z5XYQ.js +188 -0
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BcJ1ydJ1.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-kVpsL4cx.js} +2 -2
  12. package/dist/{FmMultiselectDialog-B5F93-xV.js → FmMultiselectDialog-BviFuAM5.js} +81 -84
  13. package/dist/{FmMultiselectDialog-Cxj6_Bbq.js → FmMultiselectDialog-DGUwruxs.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CJsg-6qm.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CRTG3VFo.js} +3 -3
  15. package/dist/{ImportView-mq9p_YKN.js → ImportView-Bk4Z7nGh.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CvdNblLJ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BEJ19Uej.js} +1 -1
  17. package/dist/{IngredientGroupView-1YQdweWW.js → IngredientGroupView-8GHMMOux.js} +5 -5
  18. package/dist/{IngredientsView-rZZDO37M.js → IngredientsView-DbmODx-v.js} +14 -14
  19. package/dist/{IntegrationView-0KCNTL9w.js → IntegrationView-DC0O_Lk4.js} +12 -12
  20. package/dist/{InventoryBindingForm-Cz6tMVlQ.js → InventoryBindingForm-ln0q25n_.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-9jHxMOEn.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFgk9rSe.js} +21 -21
  22. package/dist/{InventoryBindingSummary-DarjH7Dn.js → InventoryBindingSummary-BlNXhS4v.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BR6U0SpT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BY_mXqPr.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C9ffyR0d.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BhNjwE3X.js} +2 -2
  25. package/dist/{PublishView-Bam4W7ko.js → PublishView-5GkTzxbi.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-DEKkUMB6.js → PurchaseOrderPrintPreview-Dj5lJ5Ou.js} +1 -1
  27. package/dist/ReceiveRequestView-BAYczSpW.js +2913 -0
  28. package/dist/{RecipeView-CwwKtDRg.js → RecipeView-OLPRwnVx.js} +8 -8
  29. package/dist/{StockView-CVN5MKbj.js → StockView-TcA5zJqr.js} +15 -15
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bm1MxmBR.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DZ6TDkKR.js} +1 -1
  31. package/dist/{SupplierView-BhnmPv7N.js → SupplierView-77qI9YCg.js} +11 -11
  32. package/dist/{SurchargeView-nlkL3YIK.js → SurchargeView-CxW2ZZ8a.js} +6 -6
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DdPVsOZY.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-_8YeihNH.js} +2 -2
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bp49G_dV.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-ByPIjcED.js} +1 -1
  35. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BQFBZ0CH.js → TransferDetails.vue_vue_type_script_setup_true_lang-7BoFD5wV.js} +128 -128
  36. package/dist/{TransferTemplateView-7AJGTAAy.js → TransferTemplateView-CI0U36Tr.js} +81 -80
  37. package/dist/{UnitView-Dz4bgzmW.js → UnitView-fNFFUNlb.js} +6 -6
  38. package/dist/{WarehouseView-DEYOa_Ol.js → WarehouseView-BAXgnZnO.js} +5 -5
  39. package/dist/{WastageTemplateView-DdPkFfyQ.js → WastageTemplateView-C5qCXWqZ.js} +14 -14
  40. package/dist/{app-kim0oKgm.js → app-CddcvygU.js} +25 -25
  41. package/dist/app.js +1 -1
  42. package/dist/{closing-template-MLHUWgwA.js → closing-template-DxdLqlb1.js} +1 -1
  43. package/dist/{date2-Ck1fxOS1.js → date2-CVZy20Q_.js} +1 -1
  44. package/dist/{dayjs.min-CgHxLw1P.js → dayjs.min-NrRtjg32.js} +26 -26
  45. package/dist/{decimal-DVjzMCmx.js → decimal-Du3Grkk9.js} +2 -2
  46. package/dist/{defineDeepModel-CLo1ie3w.js → defineDeepModel-DgRoiQBp.js} +1 -1
  47. package/dist/{duplicate-template-B_f_fYhs.js → duplicate-template-DvnZ4BW6.js} +1 -1
  48. package/dist/{feature-D4HcMaGK.js → feature-CTA18HlL.js} +7530 -5425
  49. package/dist/{format-time-from-id-CwtHJpC0.js → format-time-from-id-6kt1RMWs.js} +1 -1
  50. package/dist/{format-unit-display-DRIOlVir.js → format-unit-display-mVJ-nuJe.js} +10 -10
  51. package/dist/{import-export.helper-BrcydEPI.js → import-export.helper-DWwlJy7N.js} +5 -5
  52. package/dist/{index-Wd74fJNj.js → index-BEcj1jGd.js} +3 -3
  53. package/dist/{index-ChruXaud.js → index-BfcdagSF.js} +1 -1
  54. package/dist/{index-D9dtwK1d.js → index-By-jyWOP.js} +1 -1
  55. package/dist/{lodash-MkfFbMhZ.js → lodash-D0COOw3m.js} +1 -1
  56. package/dist/{netsuite-D4cXyIr7.js → netsuite-3LgQ5ztL.js} +36 -36
  57. package/dist/{purchase-order-template-BdKUiSPI.js → purchase-order-template-CJCmABzP.js} +1 -1
  58. package/dist/{rules-KSzt3qOJ.js → rules-hQBVd1Mn.js} +9 -9
  59. package/dist/{stock-DZliLQNR.js → stock-4xGaezEy.js} +3 -3
  60. package/dist/{stock-BHWNLsBc.js → stock-B6QW-S14.js} +1 -1
  61. package/dist/stores/feature.d.ts +4 -0
  62. package/dist/style.css +1 -1
  63. package/dist/{supplier-CiMOpHKx.js → supplier-C-dmFnqw.js} +2 -2
  64. package/dist/{surcharge-CjdNdcm1.js → surcharge-Db4IiSEQ.js} +1 -1
  65. package/dist/tsconfig.app.tsbuildinfo +1 -1
  66. package/dist/{use-ingredient-select-dialog-CK_Ldhwm.js → use-ingredient-select-dialog-DgYSZDN8.js} +2 -2
  67. package/dist/{use-inventory-binding-dialog-jfME3m3c.js → use-inventory-binding-dialog-CnYcA_Fo.js} +2 -2
  68. package/dist/{use-template-enabled-locations-2-Dbk_RoRj.js → use-template-enabled-locations-2-B_aZrMUU.js} +2 -2
  69. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +3 -1
  70. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  71. package/dist/{vue-i18n-DUlOMRWF.js → vue-i18n-BCEDBY4T.js} +368 -368
  72. package/dist/{xlsx-CiNXr9Ie.js → xlsx-CJsXiiEq.js} +398 -398
  73. package/dist/{xlsx.util-D81JjCsx.js → xlsx.util-CSudzOii.js} +1 -1
  74. package/package.json +4 -4
  75. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ifkxhq6-.js +0 -231
  76. package/dist/ReceiveRequestView-DDfHVcG2.js +0 -3028
  77. package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +0 -2
  78. package/dist/views/ingredients/helper/calculate-default-cost.d.ts +0 -9
  79. package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +0 -22
@@ -1,4 +1,4 @@
1
- import { h as n } from "./date2-Ck1fxOS1.js";
1
+ import { h as n } from "./date2-CVZy20Q_.js";
2
2
  function d(r) {
3
3
  const t = a(r);
4
4
  return t === null ? "" : n(t);
@@ -1,22 +1,22 @@
1
1
  import { components as X, useDialogChild as Ae, useSnackbar as ye, useDialog as De, FmButtonVariant as j } from "@feedmepos/ui-library";
2
2
  import { defineStore as he } from "pinia";
3
3
  import { F as le } from "./form-mode.enum-BKiNVH6A.js";
4
- import { u as ve } from "./purchase-order-template-BdKUiSPI.js";
4
+ import { u as ve } from "./purchase-order-template-CJCmABzP.js";
5
5
  import { ref as E, h as K, defineComponent as te, resolveComponent as U, openBlock as _, createElementBlock as k, createElementVNode as C, normalizeClass as V, createTextVNode as Ne, toDisplayString as N, unref as O, createCommentVNode as q, createVNode as P, withCtx as ee, Fragment as L, renderList as W, onMounted as Re, computed as me, watch as Fe, createSlots as Pe, createBlock as z } from "vue";
6
- import { a as H, c as re, t as A, u as Z, n as Me, k as ce, v as Le, R as ue } from "./app-kim0oKgm.js";
6
+ import { a as H, c as re, t as A, u as Z, n as Me, k as ce, v as Le, R as ue } from "./app-CddcvygU.js";
7
7
  import { useRouter as Be } from "vue-router";
8
- import { a as Qe } from "./FmMultiselectDialog-B5F93-xV.js";
8
+ import { a as Qe } from "./FmMultiselectDialog-BviFuAM5.js";
9
9
  import { D as Y, R as D } from "./row-action.enum-BcW_L_nE.js";
10
10
  import { c as Ue } from "./component-DpCUABT3.js";
11
- import { f as Ve } from "./format-time-from-id-CwtHJpC0.js";
11
+ import { f as Ve } from "./format-time-from-id-6kt1RMWs.js";
12
12
  import { useI18n as ne, useCoreStore as ge } from "@feedmepos/mf-common";
13
- import { t as B, a as be, d as xe, s as Te, r as qe } from "./xlsx.util-D81JjCsx.js";
13
+ import { t as B, a as be, d as xe, s as Te, r as qe } from "./xlsx.util-CSudzOii.js";
14
14
  import { F as He } from "./FmDroppableField-J0xUsOTV.js";
15
- import { d as je, a as Q, t as G, g as J, c as ze, B as Ye } from "./rules-KSzt3qOJ.js";
16
- import { f as Ke } from "./date2-Ck1fxOS1.js";
17
- import { u as oe } from "./supplier-CiMOpHKx.js";
18
- import { u as ae } from "./netsuite-D4cXyIr7.js";
19
- import { u as We } from "./duplicate-template-B_f_fYhs.js";
15
+ import { d as je, a as Q, t as G, g as J, c as ze, B as Ye } from "./rules-hQBVd1Mn.js";
16
+ import { f as Ke } from "./date2-CVZy20Q_.js";
17
+ import { u as oe } from "./supplier-C-dmFnqw.js";
18
+ import { u as ae } from "./netsuite-3LgQ5ztL.js";
19
+ import { u as We } from "./duplicate-template-DvnZ4BW6.js";
20
20
  function Se(t) {
21
21
  const e = H(), a = t.sku, u = e.skuById[a._id];
22
22
  if (u.unit._id !== a.unit._id) return !0;
@@ -1,9 +1,9 @@
1
- import { a as w, t as H, i as T, I as P } from "./rules-KSzt3qOJ.js";
2
- import { u as j } from "./feature-D4HcMaGK.js";
1
+ import { a as w, t as H, i as T, I as P } from "./rules-hQBVd1Mn.js";
2
+ import { u as j } from "./feature-CTA18HlL.js";
3
3
  import { useCoreStore as g } from "@feedmepos/mf-common";
4
- import { a as y, d as k, n as I, e as S } from "./app-kim0oKgm.js";
5
- import { b as N, d as $, s as _ } from "./xlsx.util-D81JjCsx.js";
6
- import { f as O } from "./date2-Ck1fxOS1.js";
4
+ import { a as y, d as k, n as I, e as S } from "./app-CddcvygU.js";
5
+ import { b as N, d as $, s as _ } from "./xlsx.util-CSudzOii.js";
6
+ import { f as O } from "./date2-CVZy20Q_.js";
7
7
  function R() {
8
8
  return {
9
9
  low: 6,
@@ -1,8 +1,8 @@
1
1
  import { ref as v, computed as c } from "vue";
2
- import { u as p } from "./netsuite-D4cXyIr7.js";
3
- import { u as g, z as h, a as E, D as b } from "./app-kim0oKgm.js";
2
+ import { u as p } from "./netsuite-3LgQ5ztL.js";
3
+ import { u as g, A as h, a as E, E as b } from "./app-CddcvygU.js";
4
4
  import { useSnackbar as I } from "@feedmepos/ui-library";
5
- import { u as m } from "./feature-D4HcMaGK.js";
5
+ import { u as m } from "./feature-CTA18HlL.js";
6
6
  function C() {
7
7
  return {
8
8
  setting: {
@@ -1,4 +1,4 @@
1
- import { x, ak as V, al as q, am as Ne, a9 as cl, ah as sr, an as Lt, ao as fl, ap as $l } from "./app-kim0oKgm.js";
1
+ import { y as x, ak as V, al as q, am as Ne, a9 as cl, ah as sr, an as Lt, ao as fl, ap as $l } from "./app-CddcvygU.js";
2
2
  function vl(t, e) {
3
3
  for (var r = 0; r < e.length; r++) {
4
4
  const n = e[r];
@@ -1,4 +1,4 @@
1
- import { x as h } from "./app-kim0oKgm.js";
1
+ import { y as h } from "./app-CddcvygU.js";
2
2
  var a = { exports: {} };
3
3
  function x(r, s = 100, u = {}) {
4
4
  if (typeof r != "function")
@@ -1,4 +1,4 @@
1
- import { ah as jt, x as ep } from "./app-kim0oKgm.js";
1
+ import { ah as jt, y as ep } from "./app-CddcvygU.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,9 +1,9 @@
1
- import { m as e, _ as qt, $ as Ht, a0 as Kt, a1 as Gt, a2 as Re, a3 as Yt, a4 as ke, U as He, a5 as Ze, a6 as ht, a7 as O, a8 as P, s as A, e as he, a9 as $e, B as ee, A as ie, aa as Ke, M as j, ab as Dt, N as F, ac as Jt, ad as Wt, ae as Qt, af as Xe, ag as zt, o as Zt, j as Xt, v as mt, a as en, u as Me } from "./app-kim0oKgm.js";
1
+ import { m as e, _ as qt, $ as Ht, a0 as Kt, a1 as Gt, a2 as Re, a3 as Yt, a4 as ke, U as He, a5 as Ze, a6 as ht, a7 as O, a8 as P, w as A, e as he, N as w, a9 as $e, C as ee, B as ie, aa as Ke, M as j, ab as Dt, ac as Jt, ad as Wt, ae as Qt, af as Xe, ag as zt, o as Zt, j as Xt, v as mt, a as en, u as Me } from "./app-CddcvygU.js";
2
2
  import { useCoreStore as we } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as tn } from "@feedmepos/ui-library";
4
- import { _ as R } from "./lodash-MkfFbMhZ.js";
4
+ import { _ as R } from "./lodash-D0COOw3m.js";
5
5
  import { defineComponent as nn, ref as Ge, computed as Ie, resolveComponent as Le, openBlock as W, createBlock as sn, withCtx as se, createVNode as re, createElementVNode as U, createElementBlock as oe, Fragment as xe, createCommentVNode as Ue, createTextVNode as Q, toDisplayString as $, renderList as rn, unref as ft, h as on } from "vue";
6
- import { u as an } from "./feature-D4HcMaGK.js";
6
+ import { u as an } from "./feature-CTA18HlL.js";
7
7
  var un = Object.defineProperty, E = (r, u) => un(r, "name", { value: u, configurable: !0 }), Ce = "MYR";
8
8
  e.enum([
9
9
  "custbody_fm_do_id",
@@ -457,11 +457,11 @@ e.object({
457
457
  custbody_fm_po_request_id: e.string(),
458
458
  custbody_fm_po_num: e.number()
459
459
  });
460
- var w;
460
+ var F;
461
461
  (function(r) {
462
462
  r.A = "Pending Approval", r.B = "Pending Fulfillment", r.C = "Rejected", r.D = "Partially Fulfilled", r.E = "Pending Receipt/Partially Fulfilled", r.F = "Pending Receipt", r.G = "Received", r.H = "Closed";
463
- })(w || (w = {}));
464
- var ue = e.nativeEnum(w), _n = e.object({
463
+ })(F || (F = {}));
464
+ var ue = e.nativeEnum(F), _n = e.object({
465
465
  abbreviation: e.string(),
466
466
  baseUnit: e.boolean(),
467
467
  conversionRate: e.number(),
@@ -1272,7 +1272,7 @@ var te;
1272
1272
  var p;
1273
1273
  const { poItem: t, nsItemSetting: i, nsUnitTypes: o, overrideCost: m = !0, customAttributes: l } = n;
1274
1274
  let f;
1275
- if (m && t.totalCost) {
1275
+ if (t.totalCost && (m || i.itemType === w.Enum.Service)) {
1276
1276
  const y = A.divide([
1277
1277
  t.totalCost,
1278
1278
  t.quantity
@@ -1634,7 +1634,7 @@ var je;
1634
1634
  }(r.FromNetSuite || (r.FromNetSuite = {}));
1635
1635
  })(je || (je = {}));
1636
1636
  function Ut(r) {
1637
- switch (w[r.id]) {
1637
+ switch (F[r.id]) {
1638
1638
  case ue.enum.A:
1639
1639
  return j.Enum.REQUESTING;
1640
1640
  case ue.enum.B:
@@ -1673,7 +1673,7 @@ function kt(r) {
1673
1673
  }
1674
1674
  E(kt, "validatePurchaseOrderStatusByKey");
1675
1675
  function Ve(r) {
1676
- const u = Object.keys(w).find((d) => w[d] === r);
1676
+ const u = Object.keys(F).find((d) => F[d] === r);
1677
1677
  if (!u)
1678
1678
  throw new Error(`Invalid transfer order status value: ${r}`);
1679
1679
  return u;
@@ -1688,14 +1688,14 @@ function We(r) {
1688
1688
  E(We, "getPurchaseOrderStatusEnumKeyByValue");
1689
1689
  function wt(r, u, d) {
1690
1690
  const c = d.filter((a) => a.field === "TRANDOC.KSTATUS"), s = [
1691
- w.B,
1692
- w.D,
1693
- w.E,
1694
- w.F,
1695
- w.G
1691
+ F.B,
1692
+ F.D,
1693
+ F.E,
1694
+ F.F,
1695
+ F.G
1696
1696
  ], n = [
1697
- w.C
1698
- ], t = Object.keys(w).filter((a) => s.includes(w[a])), i = Object.keys(w).filter((a) => n.includes(w[a])), o = c.find((a) => a.status === "Rejected"), m = c.find((a) => a.status === "Pending Fulfillment");
1697
+ F.C
1698
+ ], t = Object.keys(F).filter((a) => s.includes(F[a])), i = Object.keys(F).filter((a) => n.includes(F[a])), o = c.find((a) => a.status === "Rejected"), m = c.find((a) => a.status === "Pending Fulfillment");
1699
1699
  let l = null, f = null;
1700
1700
  if (m ? l = new Date(m.datetime) : t.includes(u) && (l = new Date(r)), o ? f = new Date(o.datetime) : i.includes(u) && (f = new Date(r)), l && f)
1701
1701
  throw new Error("Both processedAt and rejectedAt are set.");
@@ -2759,9 +2759,9 @@ var Tt;
2759
2759
  throw new Error("Missing transfer order status");
2760
2760
  if (t && i)
2761
2761
  throw new Error("Transfer Order cannot be both approved and rejected at the same time");
2762
- const o = Ve(w.A);
2762
+ const o = Ve(F.A);
2763
2763
  return n.id === o && t ? {
2764
- id: Ve(w.B)
2764
+ id: Ve(F.B)
2765
2765
  } : n;
2766
2766
  }
2767
2767
  E(c, "validateApprovalStatus"), u.validateApprovalStatus = c;
@@ -2823,7 +2823,7 @@ function Fn(r) {
2823
2823
  throw new Error(`Missing replica for NetSuite ID ${p.netSuiteId} for SKU with ID ${a._id}`);
2824
2824
  if (!y.skuCache)
2825
2825
  throw new Error(`Replica for NetSuite ID ${p.netSuiteId} is missing skuCache. Expected parent item replica.`);
2826
- if (y.itemType !== F.Enum.Assembly)
2826
+ if (y.itemType !== w.Enum.Assembly)
2827
2827
  throw new Error(`Replica for NetSuite ID ${p.netSuiteId} has itemType '${y.itemType}'. Expected 'Assembly'.`);
2828
2828
  if (y.skuCache._id !== a._id)
2829
2829
  throw new Error(`SKU ID mismatch: expected replica skuCache._id to be '${a._id}', but got '${y.skuCache._id}'`);
@@ -2857,7 +2857,7 @@ function Fn(r) {
2857
2857
  pktName: ((f = a.customFields) == null ? void 0 : f.pktName) ?? null
2858
2858
  }));
2859
2859
  for (const a of d)
2860
- a.itemType !== F.Enum.Assembly && !m.has(a.id) && o.push(a);
2860
+ a.itemType !== w.Enum.Assembly && !m.has(a.id) && o.push(a);
2861
2861
  return {
2862
2862
  updatedInventorySkus: i,
2863
2863
  updatedParentItemConfigs: o
@@ -2883,7 +2883,7 @@ function Rn(r) {
2883
2883
  pktName: ((t = i.customFields) == null ? void 0 : t.pktName) ?? null
2884
2884
  });
2885
2885
  for (const i of u)
2886
- i.itemType !== F.Enum.Assembly && !s.has(i.netSuiteId) && c.push(i);
2886
+ i.itemType !== w.Enum.Assembly && !s.has(i.netSuiteId) && c.push(i);
2887
2887
  return c;
2888
2888
  }
2889
2889
  E(Rn, "syncAssemblyChildItemsWithLegacyConfig");
@@ -2901,7 +2901,7 @@ function On(r) {
2901
2901
  throw new Error(`Missing replica for NetSuite ID ${p.netSuiteId} for SKU with ID ${a._id}`);
2902
2902
  if (!y.skuCache)
2903
2903
  throw new Error(`Replica for NetSuite ID ${p.netSuiteId} is missing skuCache. Expected parent item replica.`);
2904
- if (y.itemType !== F.Enum.InvtPart)
2904
+ if (y.itemType !== w.Enum.InvtPart)
2905
2905
  throw new Error(`Replica for NetSuite ID ${p.netSuiteId} has itemType '${y.itemType}'. Expected 'InvtPart'.`);
2906
2906
  if (y.skuCache._id !== a._id)
2907
2907
  throw new Error(`SKU ID mismatch: expected replica skuCache._id to be '${a._id}', but got '${y.skuCache._id}'`);
@@ -2935,7 +2935,7 @@ function On(r) {
2935
2935
  pktName: ((f = a.customFields) == null ? void 0 : f.pktName) ?? null
2936
2936
  }));
2937
2937
  for (const a of d)
2938
- a.itemType !== F.Enum.InvtPart && !m.has(a.id) && o.push(a);
2938
+ a.itemType !== w.Enum.InvtPart && !m.has(a.id) && o.push(a);
2939
2939
  return {
2940
2940
  updatedInventorySkus: i,
2941
2941
  updatedParentItemConfigs: o
@@ -2961,7 +2961,7 @@ function Pn(r) {
2961
2961
  pktName: ((t = i.customFields) == null ? void 0 : t.pktName) ?? null
2962
2962
  });
2963
2963
  for (const i of u)
2964
- i.itemType !== F.Enum.InvtPart && !s.has(i.netSuiteId) && c.push(i);
2964
+ i.itemType !== w.Enum.InvtPart && !s.has(i.netSuiteId) && c.push(i);
2965
2965
  return c;
2966
2966
  }
2967
2967
  E(Pn, "syncInventoryChildItemsWithLegacyConfig");
@@ -2979,7 +2979,7 @@ function Ln(r) {
2979
2979
  throw new Error(`Missing replica for NetSuite ID ${p.netSuiteId} for SKU with ID ${a._id}`);
2980
2980
  if (!y.skuCache)
2981
2981
  throw new Error(`Replica for NetSuite ID ${p.netSuiteId} is missing skuCache. Expected parent item replica.`);
2982
- if (y.itemType !== F.Enum.Service)
2982
+ if (y.itemType !== w.Enum.Service)
2983
2983
  throw new Error(`Replica for NetSuite ID ${p.netSuiteId} has itemType '${y.itemType}'. Expected 'Service'.`);
2984
2984
  if (y.skuCache._id !== a._id)
2985
2985
  throw new Error(`SKU ID mismatch: expected replica skuCache._id to be '${a._id}', but got '${y.skuCache._id}'`);
@@ -3014,7 +3014,7 @@ function Ln(r) {
3014
3014
  itemSubType: a.itemSubType
3015
3015
  }));
3016
3016
  for (const a of d)
3017
- a.itemType !== F.Enum.Service && !m.has(a.id) && o.push(a);
3017
+ a.itemType !== w.Enum.Service && !m.has(a.id) && o.push(a);
3018
3018
  return {
3019
3019
  updatedInventorySkus: i,
3020
3020
  updatedParentItemConfigs: o
@@ -4103,7 +4103,7 @@ var Xn = Re.pick({
4103
4103
  });
4104
4104
  function ni(r) {
4105
4105
  const u = [], { incoming: d, current: c } = r;
4106
- if (d.itemType !== F.Enum.InvtPart)
4106
+ if (d.itemType !== w.Enum.InvtPart)
4107
4107
  throw new Error("[detectInventoryChildItemConflicts] only supports InvtPart child items");
4108
4108
  if (!c)
4109
4109
  return u.push({
@@ -4129,7 +4129,7 @@ function ni(r) {
4129
4129
  E(ni, "detectInventoryChildItemConflicts");
4130
4130
  function ii(r) {
4131
4131
  const u = [], { incoming: d, current: c } = r;
4132
- if (d.itemType !== F.Enum.InvtPart)
4132
+ if (d.itemType !== w.Enum.InvtPart)
4133
4133
  throw new Error("[detectInventoryParentItemConflicts] only supports InvtPart parent items");
4134
4134
  if (!c)
4135
4135
  return u.push({
@@ -4167,7 +4167,7 @@ function ii(r) {
4167
4167
  }
4168
4168
  E(ii, "detectInventoryParentItemConflicts");
4169
4169
  function si(r, u, d) {
4170
- if (u.itemType !== F.Enum.InvtPart)
4170
+ if (u.itemType !== w.Enum.InvtPart)
4171
4171
  throw new Error("[resolveInventoryParentItemConflicts] only supports InvtPart parent items");
4172
4172
  if (r.some((n) => n.type === H.INVENTORY_ITEM_CREATED))
4173
4173
  return u;
@@ -4193,7 +4193,7 @@ function si(r, u, d) {
4193
4193
  }
4194
4194
  E(si, "resolveInventoryParentItemConflicts");
4195
4195
  function ri(r, u, d) {
4196
- if (u.itemType !== F.Enum.InvtPart)
4196
+ if (u.itemType !== w.Enum.InvtPart)
4197
4197
  throw new Error("[resolveInventoryChildItemConflicts] only supports InvtPart child items");
4198
4198
  if (r.some((n) => n.type === H.INVENTORY_ITEM_CREATED))
4199
4199
  return u;
@@ -4233,7 +4233,7 @@ var oi = Re.pick({
4233
4233
  });
4234
4234
  function di(r) {
4235
4235
  const u = [], { incoming: d, current: c } = r;
4236
- if (d.itemType !== F.Enum.Assembly)
4236
+ if (d.itemType !== w.Enum.Assembly)
4237
4237
  throw new Error("[detectAssemblyChildItemConflicts] only supports Assembly child items");
4238
4238
  if (!c)
4239
4239
  return u.push({
@@ -4259,7 +4259,7 @@ function di(r) {
4259
4259
  E(di, "detectAssemblyChildItemConflicts");
4260
4260
  function ci(r) {
4261
4261
  const u = [], { incoming: d, current: c } = r;
4262
- if (d.itemType !== F.Enum.Assembly)
4262
+ if (d.itemType !== w.Enum.Assembly)
4263
4263
  throw new Error("[detectAssemblyParentItemConflicts] only supports Assembly parent items");
4264
4264
  if (!c)
4265
4265
  return u.push({
@@ -4297,7 +4297,7 @@ function ci(r) {
4297
4297
  }
4298
4298
  E(ci, "detectAssemblyParentItemConflicts");
4299
4299
  function li(r, u, d) {
4300
- if (u.itemType !== F.Enum.Assembly)
4300
+ if (u.itemType !== w.Enum.Assembly)
4301
4301
  throw new Error("[resolveAssemblyParentItemConflicts] only supports Assembly parent items");
4302
4302
  if (r.some((n) => n.type === K.ASSEMBLY_ITEM_CREATED))
4303
4303
  return u;
@@ -4323,7 +4323,7 @@ function li(r, u, d) {
4323
4323
  }
4324
4324
  E(li, "resolveAssemblyParentItemConflicts");
4325
4325
  function mi(r, u, d) {
4326
- if (u.itemType !== F.Enum.Assembly)
4326
+ if (u.itemType !== w.Enum.Assembly)
4327
4327
  throw new Error("[resolveAssemblyChildItemConflicts] only supports Assembly child items");
4328
4328
  if (r.some((n) => n.type === K.ASSEMBLY_ITEM_CREATED))
4329
4329
  return u;
@@ -4360,7 +4360,7 @@ var fi = Re.pick({
4360
4360
  });
4361
4361
  function pi(r) {
4362
4362
  const u = [], { incoming: d, current: c } = r;
4363
- if (d.itemType !== F.Enum.Service)
4363
+ if (d.itemType !== w.Enum.Service)
4364
4364
  throw new Error("[detectServiceParentItemConflicts] only supports Service parent items");
4365
4365
  if (!c)
4366
4366
  return u.push({
@@ -4399,7 +4399,7 @@ function pi(r) {
4399
4399
  E(pi, "detectServiceParentItemConflicts");
4400
4400
  function yi(r, u, d) {
4401
4401
  var n, t;
4402
- if (u.itemType !== F.Enum.Service)
4402
+ if (u.itemType !== w.Enum.Service)
4403
4403
  throw new Error("[resolveServiceParentItemConflicts] only supports Service parent items");
4404
4404
  if (r.some((i) => i.type === ye.SERVICE_ITEM_CREATED))
4405
4405
  return u;
@@ -1,4 +1,4 @@
1
- import { o as s } from "./app-kim0oKgm.js";
1
+ import { o as s } from "./app-CddcvygU.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = s((n, a) => {
4
4
  function o() {
@@ -1,6 +1,6 @@
1
- import { s } from "./app-kim0oKgm.js";
2
- import "./dayjs.min-CgHxLw1P.js";
3
- import { d, b } from "./date2-Ck1fxOS1.js";
1
+ import { w as s } from "./app-CddcvygU.js";
2
+ import "./dayjs.min-NrRtjg32.js";
3
+ import { d, b } from "./date2-CVZy20Q_.js";
4
4
  function P(t, n) {
5
5
  return s.convertPrecision({
6
6
  value: t,
@@ -28,7 +28,7 @@ function T(t, n) {
28
28
  const r = l(t, n);
29
29
  return c(r);
30
30
  }
31
- function x(t, n) {
31
+ function w(t, n) {
32
32
  return t.precision >= n ? t : s.convertPrecision({ value: t, precision: n });
33
33
  }
34
34
  function f(t) {
@@ -39,12 +39,12 @@ function f(t) {
39
39
  function u(t, n = !0) {
40
40
  return n ? Number(t.amount / Math.pow(10, t.precision)).toFixed(t.precision) : Number(t.amount / Math.pow(10, t.precision)).toString();
41
41
  }
42
- function O(t, n) {
42
+ function x(t, n) {
43
43
  n = n ?? h(t);
44
44
  const r = n, i = t.toFixed(r), e = i.includes(".") ? i.replace(/0+$/, "") : i;
45
45
  return e.endsWith(".") ? e.slice(0, e.length - 1) : e;
46
46
  }
47
- function w(t, n = !1, r = 2) {
47
+ function O(t, n = !1, r = 2) {
48
48
  const i = Number(t.amount / Math.pow(10, t.precision)), e = i.toFixed(
49
49
  Number.isInteger(i) ? 2 : Math.min(4, Math.max(2, r))
50
50
  );
@@ -183,7 +183,7 @@ export {
183
183
  f as b,
184
184
  U as c,
185
185
  c as d,
186
- w as e,
186
+ O as e,
187
187
  F as f,
188
188
  M as g,
189
189
  C as h,
@@ -192,10 +192,10 @@ export {
192
192
  D as k,
193
193
  N as l,
194
194
  P as m,
195
- O as n,
195
+ x as n,
196
196
  $ as o,
197
197
  T as p,
198
198
  S as q,
199
199
  q as t,
200
- x as u
200
+ w as u
201
201
  };
@@ -1,7 +1,7 @@
1
- import { u as i } from "./stock-BHWNLsBc.js";
2
- import { a as s, L as p } from "./app-kim0oKgm.js";
1
+ import { u as i } from "./stock-B6QW-S14.js";
2
+ import { a as s, L as p } from "./app-CddcvygU.js";
3
3
  import { ref as d, computed as k } from "vue";
4
- import { d as B } from "./rules-KSzt3qOJ.js";
4
+ import { d as B } from "./rules-hQBVd1Mn.js";
5
5
  function m() {
6
6
  return {
7
7
  stockBalance: {
@@ -1,4 +1,4 @@
1
- import { o as d, u as l } from "./app-kim0oKgm.js";
1
+ import { o as d, u as l } from "./app-CddcvygU.js";
2
2
  import { useCoreStore as m } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as $ } from "@feedmepos/ui-library";
4
4
  const y = d((o, a) => {
@@ -28,6 +28,8 @@ export interface FeatureState {
28
28
  inventory_backdate_receive: boolean;
29
29
  inventory_purchase_order_custom_cost: boolean;
30
30
  inventory_bulk_import: boolean;
31
+ inventory_portal_surcharge: boolean;
32
+ inventory_purchase_order_cost_edit: boolean;
31
33
  }
32
34
  export declare const useFeatureStore: () => {
33
35
  readonly businessDbName: string;
@@ -60,6 +62,8 @@ export declare const useFeatureStore: () => {
60
62
  readonly enableBackdateReceive: boolean;
61
63
  readonly enablePurchaseOrderReceiveWithCustomCost: boolean;
62
64
  readonly enableBulkImport: boolean;
65
+ readonly enableSurcharge: boolean;
66
+ readonly enablePurchaseOrderCostEdit: boolean;
63
67
  init(): Promise<void>;
64
68
  awaitFeatureLoaded(callback: () => boolean): Promise<boolean>;
65
69
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .fm-admin-badge[data-v-643bdbae]{pointer-events:none;opacity:.9;display:flex;align-items:center;justify-content:center;border-radius:360px;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-0cf5baa2],.fade-leave-active[data-v-0cf5baa2]{transition:opacity .25s ease}.fade-enter[data-v-0cf5baa2],.fade-leave-to[data-v-0cf5baa2]{opacity:0}.fm-droppable-field[data-v-2937afd0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-2937afd0]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-2937afd0]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-2937afd0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-2937afd0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-2937afd0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-2937afd0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-2937afd0]:disabled{display:none;cursor:not-allowed}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}table[data-v-99858b6b]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-99858b6b],table th[data-v-99858b6b]{padding:3px 5px;vertical-align:top}hr[data-v-99858b6b]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-99858b6b]{text-align:left}.text-right[data-v-99858b6b]{text-align:right}.purchase-box[data-v-99858b6b]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-99858b6b]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-99858b6b]{font-weight:600;color:#333}.sub-header[data-v-99858b6b]{font-size:18px;color:#333}.caption[data-v-99858b6b]{font-size:14px;color:#666}.address[data-v-99858b6b]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-99858b6b]{margin-top:30px}.item-header[data-v-99858b6b]{border:0px;background:#ccc;color:#444}table[data-v-805a706a]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-805a706a],table th[data-v-805a706a]{padding:3px 5px;vertical-align:top}hr[data-v-805a706a]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-805a706a]{text-align:left}.text-right[data-v-805a706a]{text-align:right}.purchase-box[data-v-805a706a]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-805a706a]{padding-bottom:0;font-size:32px;color:#333}.subtitle[data-v-805a706a]{padding-bottom:0;font-size:25px;color:#333}.header[data-v-805a706a]{font-weight:600;color:#333}.sub-header[data-v-805a706a]{font-size:18px;color:#333}.caption[data-v-805a706a]{font-size:14px;color:#666}.address[data-v-805a706a]{font-size:14px;line-height:1.2;color:#666}.purchase-body[data-v-805a706a]{margin-top:30px}.item-header[data-v-805a706a]{border:0px;background:#ccc;color:#444}.logo[data-v-805a706a]{max-width:100%;height:100px;-o-object-fit:contain;object-fit:contain}img[data-v-805a706a]{width:100px;height:100px;-o-object-fit:contain;object-fit:contain}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;min-height:24px}.fm-status-badge-draft{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving,.fm-status-badge-partial_received{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-close,.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-error{border-width:2px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}@media print{.print-mode .overflow-auto{overflow:visible!important}}
1
+ .fm-admin-badge[data-v-643bdbae]{pointer-events:none;opacity:.9;display:flex;align-items:center;justify-content:center;border-radius:360px;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-3d54ea9a],.fade-leave-active[data-v-3d54ea9a]{transition:opacity .25s ease}.fade-enter[data-v-3d54ea9a],.fade-leave-to[data-v-3d54ea9a]{opacity:0}.fm-droppable-field[data-v-2937afd0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-2937afd0]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-2937afd0]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-2937afd0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-2937afd0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-2937afd0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-2937afd0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-2937afd0]:disabled{display:none;cursor:not-allowed}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}table[data-v-99858b6b]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-99858b6b],table th[data-v-99858b6b]{padding:3px 5px;vertical-align:top}hr[data-v-99858b6b]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-99858b6b]{text-align:left}.text-right[data-v-99858b6b]{text-align:right}.purchase-box[data-v-99858b6b]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-99858b6b]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-99858b6b]{font-weight:600;color:#333}.sub-header[data-v-99858b6b]{font-size:18px;color:#333}.caption[data-v-99858b6b]{font-size:14px;color:#666}.address[data-v-99858b6b]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-99858b6b]{margin-top:30px}.item-header[data-v-99858b6b]{border:0px;background:#ccc;color:#444}table[data-v-805a706a]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-805a706a],table th[data-v-805a706a]{padding:3px 5px;vertical-align:top}hr[data-v-805a706a]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-805a706a]{text-align:left}.text-right[data-v-805a706a]{text-align:right}.purchase-box[data-v-805a706a]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-805a706a]{padding-bottom:0;font-size:32px;color:#333}.subtitle[data-v-805a706a]{padding-bottom:0;font-size:25px;color:#333}.header[data-v-805a706a]{font-weight:600;color:#333}.sub-header[data-v-805a706a]{font-size:18px;color:#333}.caption[data-v-805a706a]{font-size:14px;color:#666}.address[data-v-805a706a]{font-size:14px;line-height:1.2;color:#666}.purchase-body[data-v-805a706a]{margin-top:30px}.item-header[data-v-805a706a]{border:0px;background:#ccc;color:#444}.logo[data-v-805a706a]{max-width:100%;height:100px;-o-object-fit:contain;object-fit:contain}img[data-v-805a706a]{width:100px;height:100px;-o-object-fit:contain;object-fit:contain}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;min-height:24px}.fm-status-badge-draft{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving,.fm-status-badge-partial_received{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-close,.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-error{border-width:2px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}@media print{.print-mode .overflow-auto{overflow:visible!important}}
@@ -1,5 +1,5 @@
1
- import { o as b, u, n as v, p as w, q as $ } from "./app-kim0oKgm.js";
2
- import { u as S } from "./feature-D4HcMaGK.js";
1
+ import { o as b, u, n as v, p as w, q as $ } from "./app-CddcvygU.js";
2
+ import { u as S } from "./feature-CTA18HlL.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  import { defineStore as f } from "pinia";
5
5
  import { ref as l, computed as d } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { ref as d } from "vue";
2
- import { o as w, j as g } from "./app-kim0oKgm.js";
2
+ import { o as w, j as g } from "./app-CddcvygU.js";
3
3
  import { useCoreStore as h } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as y } from "@feedmepos/ui-library";
5
5
  const p = w((s, r) => {