@feedmepos/mf-inventory-portal 1.2.61-dev.1 → 1.2.61
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.
- package/dist/{App-Dj4TFhg1.js → App-BqScGtJx.js} +78 -82
- package/dist/{ApprovalView-Cpbfph-H.js → ApprovalView-BFdlYIot.js} +5 -5
- package/dist/{BindingsDialog-CUbU9tih.js → BindingsDialog-Dvmrms77.js} +5 -5
- package/dist/{BindingsPicker-CMlAGOJT.js → BindingsPicker-fPVSXv-h.js} +3 -3
- package/dist/{BindingsTable-DvOE5QM2.js → BindingsTable-CnUa8VOi.js} +5 -5
- package/dist/{ClosingDraftView-DKv-ehO_.js → ClosingDraftView-10BcpWkm.js} +216 -217
- package/dist/{ClosingHistoryView-DIl78iH9.js → ClosingHistoryView-zLh0HCIb.js} +36 -36
- package/dist/{ClosingTemplateView-DPDh_geQ.js → ClosingTemplateView-BFupX87V.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-Bi3xgagw.js → DeliveryOrderPrintPreview-BLBqmOjw.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_5_SxUn.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DN8ziFA_.js} +20 -20
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B3Kl8YBw.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DJT_7Uus.js} +2 -2
- package/dist/{FmMultiselectDialog-1IUxEPwt.js → FmMultiselectDialog-B5paZk6T.js} +16 -16
- package/dist/{FmMultiselectDialog-BSOTemHV.js → FmMultiselectDialog-DmnYEmN1.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BMK8Az4J.js → FmUnitInput.vue_vue_type_script_setup_true_lang-MW749j29.js} +22 -23
- package/dist/{ImportView-CkitDDEU.js → ImportView-BsI1_unJ.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DZUQavPo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D8hvH-4n.js} +1 -1
- package/dist/{IngredientGroupView-ogDZwQFL.js → IngredientGroupView-BALVTSwF.js} +5 -5
- package/dist/{IngredientsView-B5AWPQhS.js → IngredientsView-C-sauieO.js} +24 -25
- package/dist/{IntegrationView-DIx6B_wR.js → IntegrationView-GG2E4Yrl.js} +17 -18
- package/dist/{InventoryBindingForm-CAs2PaKF.js → InventoryBindingForm-DCSBFj6b.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-D62U_Ewm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-4_i25unG.js} +16 -17
- package/dist/{InventoryBindingSummary-DNWMJUDR.js → InventoryBindingSummary-6dFJPewB.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-flGJ-4xe.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CU9mgYbv.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CwcKHn69.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DC1HpuMm.js} +2 -2
- package/dist/{PublishView-IYCGQZF7.js → PublishView-DO7k1AeP.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-CQ-J1uJn.js → PurchaseOrderPrintPreview-C3VqOLCi.js} +11 -11
- package/dist/ReceiveRequestView-CpgLQtbw.js +2806 -0
- package/dist/RecipeView-C2D7FdzN.js +646 -0
- package/dist/{StockView-F7oGArF7.js → StockView-CtC3ldc6.js} +105 -106
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-j6pS_g4o.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cj6cVmd0.js} +1 -1
- package/dist/{SupplierView-DaDXVRF6.js → SupplierView-DKFtc22j.js} +19 -20
- package/dist/{SurchargeView-CBkF-szL.js → SurchargeView-B-EYMp6w.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BDxbVt07.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CDeeFvnm.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DnoutmMc.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CH3hjFS8.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-rAyYuhku.js +3493 -0
- package/dist/{TransferTemplateView-BlyMl_7M.js → TransferTemplateView-FeC34QoJ.js} +21 -22
- package/dist/{UnitView-JRqgYWbI.js → UnitView-BoJisnXd.js} +10 -11
- package/dist/{WarehouseView-Cb5Dj6f4.js → WarehouseView-s-xF6xJ0.js} +5 -5
- package/dist/{WastageTemplateView-DoyXkHM6.js → WastageTemplateView-BQBlHZLh.js} +14 -14
- package/dist/api/inventory.d.ts +36 -126
- package/dist/api/netsuite.d.ts +1 -8
- package/dist/{app-DMbbrEyL.js → app-_4kRbuQl.js} +7147 -8148
- package/dist/app.d.ts +0 -228
- package/dist/app.js +1 -1
- package/dist/{closing-template-B68c4BCg.js → closing-template-BBWYKm_X.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -37
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +0 -14
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -16
- package/dist/{date2-WSrIZrGN.js → date2-Cd93SZu4.js} +1 -1
- package/dist/{dayjs.min-BEzS3oNC.js → dayjs.min-DeHn_Fz-.js} +16 -16
- package/dist/{defineDeepModel-B7GuNHyt.js → defineDeepModel-DUOLQh1E.js} +1 -1
- package/dist/{duplicate-template-BTdZ25aR.js → duplicate-template-BgpMF-fd.js} +1 -1
- package/dist/{feature-DJFFmYSS.js → feature-DqGkM6Yx.js} +1439 -1334
- package/dist/{format-time-from-id-BEqcrmTR.js → format-time-from-id-BkH4swoc.js} +1 -1
- package/dist/{format-unit-display-DIqyPFuN.js → format-unit-display-rkrD3WLD.js} +15 -16
- package/dist/{import-export.helper-Dnvx2Wa0.js → import-export.helper-C8Q4AMQx.js} +15 -16
- package/dist/{index-dh2P5FKl.js → index-B0WTs-3a.js} +1412 -1471
- package/dist/{index-J3wFLjDN.js → index-B3m_9m2a.js} +3 -3
- package/dist/{index-BNBtrozQ.js → index-O5M93j6z.js} +1 -1
- package/dist/{lodash-DoqYeksT.js → lodash-Dj6GdEkm.js} +1 -1
- package/dist/{netsuite-C87QvoFY.js → netsuite-DpQxb3vH.js} +60 -60
- package/dist/{purchase-order-template-CbRmEHxi.js → purchase-order-template-DKuo07gT.js} +1 -1
- package/dist/router/name.d.ts +0 -1
- package/dist/rules-D6o4zK8x.js +327 -0
- package/dist/{stock-DrdiXQFX.js → stock-D7HQf4-H.js} +1 -1
- package/dist/stock-DLFjfcAv.js +75 -0
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/integration/netsuite.d.ts +1 -8
- package/dist/stores/inventory.d.ts +30 -119
- package/dist/{supplier-DWophRmk.js → supplier-B3kE2tbF.js} +2 -2
- package/dist/{surcharge-Ds9TtpDs.js → surcharge-Cc9vownX.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CPugamev.js → use-ingredient-select-dialog-MnUTm-3P.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Vj7T-h-w.js → use-inventory-binding-dialog-_J9LNiGo.js} +2 -2
- package/dist/{use-template-enabled-locations-2-DfKY5avH.js → use-template-enabled-locations-2-B9gbuIPM.js} +2 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -64
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +24 -192
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -96
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -96
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +0 -14
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -28
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -8
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +2 -16
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -33
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -16
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +4 -32
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -8
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -41
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +36 -246
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -287
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +0 -16
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +0 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -8
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +3 -24
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +12 -96
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -96
- package/dist/{vue-i18n-Td4-wYd2.js → vue-i18n-BvsTy4Fg.js} +535 -535
- package/dist/{xlsx-DFL__z5b.js → xlsx-BvjocXXw.js} +398 -398
- package/dist/{xlsx.util-Bi7Vb-wa.js → xlsx.util-D65Nsat4.js} +1 -1
- package/package.json +3 -3
- package/dist/ReceiveRequestView-NOIHVxoI.js +0 -2916
- package/dist/RecipeView-KZV269Yw.js +0 -1558
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B_u8kuNh.js +0 -3354
- package/dist/UnitCostHistoryView-B6mco57v.js +0 -651
- package/dist/api/unit-cost-history.d.ts +0 -28
- package/dist/number-nN9jCKom.js +0 -232
- package/dist/rules-Dbz4JyZU.js +0 -98
- package/dist/stock-ChSl_QOD.js +0 -75
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -169
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +0 -43
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +0 -25
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +0 -125
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +0 -129
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +0 -30
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -4
- package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +0 -2
- package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +0 -19
- package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +0 -11
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +0 -65
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as v, computed as c } from "vue";
|
|
2
|
-
import { u as p } from "./netsuite-
|
|
3
|
-
import { u as g,
|
|
2
|
+
import { u as p } from "./netsuite-DpQxb3vH.js";
|
|
3
|
+
import { u as g, A as h, a as E, E as b } from "./app-_4kRbuQl.js";
|
|
4
4
|
import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as m } from "./feature-
|
|
5
|
+
import { u as m } from "./feature-DqGkM6Yx.js";
|
|
6
6
|
function C() {
|
|
7
7
|
return {
|
|
8
8
|
setting: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as e,
|
|
1
|
+
import { m as e, _ as Kt, $ as zt, a0 as Gt, a1 as Yt, a2 as Fe, a3 as Jt, a4 as ke, P as He, a5 as Xe, a6 as Ct, a7 as O, a8 as x, e as Te, N as R, w as M, a9 as $e, C as ne, B as se, aa as Ke, M as B, ab as Nt, ac as Wt, ad as Qt, ae as Zt, af as et, ag as Xt, o as en, j as tn, v as ft, a as nn, u as Me } from "./app-_4kRbuQl.js";
|
|
2
2
|
import { useCoreStore as we } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as rn } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as
|
|
4
|
+
import { _ as P } from "./lodash-Dj6GdEkm.js";
|
|
5
5
|
import { defineComponent as sn, ref as ze, computed as Ie, resolveComponent as xe, openBlock as W, createBlock as on, withCtx as oe, createVNode as ae, createElementVNode as w, createElementBlock as ue, Fragment as Le, createCommentVNode as Ue, createTextVNode as Q, toDisplayString as V, renderList as an, unref as It, h as un } from "vue";
|
|
6
|
-
import { u as dn } from "./feature-
|
|
6
|
+
import { u as dn } from "./feature-DqGkM6Yx.js";
|
|
7
7
|
var cn = Object.defineProperty, g = (s, u) => cn(s, "name", { value: u, configurable: !0 }), Ce = "MYR";
|
|
8
8
|
e.enum([
|
|
9
9
|
"custbody_fm_do_id",
|
|
@@ -977,7 +977,7 @@ var pt;
|
|
|
977
977
|
throw new Error(`Missing unit type in NetSuite assembly item ${t.id}`);
|
|
978
978
|
if (o.netSuiteId !== t.unitsType.id)
|
|
979
979
|
throw new Error(`Unit type mismatch for NetSuite assembly item ${t.id}: expected unit type ID ${t.unitsType.id}, got ${o.netSuiteId}`);
|
|
980
|
-
const f = t.subsidiary.items.map((N) => N.id), a =
|
|
980
|
+
const f = t.subsidiary.items.map((N) => N.id), a = O({
|
|
981
981
|
prefix: x.Enum.sku
|
|
982
982
|
}), I = (v = n == null ? void 0 : n.netsuiteCustomAttributes) == null ? void 0 : v.reduce((N, A) => {
|
|
983
983
|
const D = A.compute(r);
|
|
@@ -1104,7 +1104,7 @@ var yt;
|
|
|
1104
1104
|
throw new Error(`Missing unit type in NetSuite service item ${n.id}`);
|
|
1105
1105
|
if (i.netSuiteId !== n.unitsType.id)
|
|
1106
1106
|
throw new Error(`Unit type mismatch for NetSuite service item ${n.id}: expected unit type ID ${n.unitsType.id}, got ${i.netSuiteId}`);
|
|
1107
|
-
const o = n.subsidiary.items.map((S) => S.id), m =
|
|
1107
|
+
const o = n.subsidiary.items.map((S) => S.id), m = O({
|
|
1108
1108
|
prefix: x.Enum.sku
|
|
1109
1109
|
}), l = (E = r == null ? void 0 : r.netsuiteCustomAttributes) == null ? void 0 : E.reduce((S, b) => {
|
|
1110
1110
|
const h = b.compute(c);
|
|
@@ -1176,7 +1176,7 @@ var gt;
|
|
|
1176
1176
|
throw new Error(`Missing unit type in NetSuite inventory item ${t.id}`);
|
|
1177
1177
|
if (o.netSuiteId !== t.unitsType.id)
|
|
1178
1178
|
throw new Error(`Unit type mismatch for NetSuite inventory item ${t.id}: expected unit type ID ${t.unitsType.id}, got ${o.netSuiteId}`);
|
|
1179
|
-
const f = t.subsidiary.items.map((N) => N.id), a =
|
|
1179
|
+
const f = t.subsidiary.items.map((N) => N.id), a = O({
|
|
1180
1180
|
prefix: x.Enum.sku
|
|
1181
1181
|
}), I = (v = n == null ? void 0 : n.netsuiteCustomAttributes) == null ? void 0 : v.reduce((N, A) => {
|
|
1182
1182
|
const D = A.compute(r);
|
|
@@ -1749,7 +1749,7 @@ function Ft(s, u, d) {
|
|
|
1749
1749
|
};
|
|
1750
1750
|
}
|
|
1751
1751
|
g(Ft, "getPurchaseOrderRequestStatusTimestamp");
|
|
1752
|
-
function
|
|
1752
|
+
function Pt(s) {
|
|
1753
1753
|
const u = s.shipDate;
|
|
1754
1754
|
if (!u)
|
|
1755
1755
|
return null;
|
|
@@ -1761,7 +1761,7 @@ function Ot(s) {
|
|
|
1761
1761
|
estimatedTime: new Date(u).toISOString()
|
|
1762
1762
|
};
|
|
1763
1763
|
}
|
|
1764
|
-
g(
|
|
1764
|
+
g(Pt, "transformTransferOrderPreparingShipmentMilestoneFromNetSuite");
|
|
1765
1765
|
var _t;
|
|
1766
1766
|
(function(s) {
|
|
1767
1767
|
(function(u) {
|
|
@@ -1780,7 +1780,7 @@ var _t;
|
|
|
1780
1780
|
overrideCost: o,
|
|
1781
1781
|
customAttributes: m
|
|
1782
1782
|
});
|
|
1783
|
-
}), { netSuiteFromId: I, netSuiteToId: p } =
|
|
1783
|
+
}), { netSuiteFromId: I, netSuiteToId: p } = Ot(n.locations, t);
|
|
1784
1784
|
return {
|
|
1785
1785
|
// spread user-supplied custom fields (typed as CF)
|
|
1786
1786
|
...l,
|
|
@@ -1843,7 +1843,7 @@ var _t;
|
|
|
1843
1843
|
g(r, "toCloseDto"), u.toCloseDto = r;
|
|
1844
1844
|
})(s.ToNetSuite || (s.ToNetSuite = {})), function(u) {
|
|
1845
1845
|
function d(r) {
|
|
1846
|
-
var H, he,
|
|
1846
|
+
var H, he, Oe, at, ut, dt, ct, lt, mt;
|
|
1847
1847
|
const { fromLocation: n, toLocation: t, nsTransferOrder: i, orderItemMapping: o, nsItemFulfillments: m, orderItemMappingByFulfillment: l, nsItemReceipts: f, orderItemMappingByReceipt: a, context: I, nsSystemNotes: p } = r, y = {
|
|
1848
1848
|
_id: n.doc._id,
|
|
1849
1849
|
internal: n.type,
|
|
@@ -1855,7 +1855,7 @@ var _t;
|
|
|
1855
1855
|
address: {
|
|
1856
1856
|
line1: ((H = n.doc.profile.address) == null ? void 0 : H.line1) || "",
|
|
1857
1857
|
line2: (he = n.doc.profile.address) == null ? void 0 : he.line2,
|
|
1858
|
-
state: ((
|
|
1858
|
+
state: ((Oe = n.doc.profile.address) == null ? void 0 : Oe.state) || "",
|
|
1859
1859
|
city: ((at = n.doc.profile.address) == null ? void 0 : at.city) || "",
|
|
1860
1860
|
country: ((ut = n.doc.profile.address) == null ? void 0 : ut.country) || "",
|
|
1861
1861
|
postcode: ((dt = n.doc.profile.address) == null ? void 0 : dt.postcode) || ""
|
|
@@ -1892,8 +1892,8 @@ var _t;
|
|
|
1892
1892
|
measurement: ge,
|
|
1893
1893
|
context: I
|
|
1894
1894
|
});
|
|
1895
|
-
}), k = new Date(i.createdDate), [v, U, N] = i.tranDate.split("-"), A = new Date(Number(v), Number(U) - 1, Number(N)), D =
|
|
1896
|
-
_id:
|
|
1895
|
+
}), k = new Date(i.createdDate), [v, U, N] = i.tranDate.split("-"), A = new Date(Number(v), Number(U) - 1, Number(N)), D = Pt(i), L = {
|
|
1896
|
+
_id: O({
|
|
1897
1897
|
prefix: x.Enum.purchaseOrder,
|
|
1898
1898
|
dateTime: k.toISOString()
|
|
1899
1899
|
}),
|
|
@@ -1911,7 +1911,7 @@ var _t;
|
|
|
1911
1911
|
id: i.custbody_fm_po_request_id,
|
|
1912
1912
|
adjustmentIds: []
|
|
1913
1913
|
} : void 0
|
|
1914
|
-
}, { processedAt: me, rejectedAt:
|
|
1914
|
+
}, { processedAt: me, rejectedAt: Pe } = Ft(i.createdDate, i.orderStatus.id, p ?? []), ve = S.reduce((j, G) => {
|
|
1915
1915
|
const ge = new Date(G.createdAt);
|
|
1916
1916
|
return j ? ge.getTime() < j.getTime() ? ge : j : ge;
|
|
1917
1917
|
}, null);
|
|
@@ -1928,7 +1928,7 @@ var _t;
|
|
|
1928
1928
|
},
|
|
1929
1929
|
purchaseOrderId: L._id,
|
|
1930
1930
|
processedAt: me || (ve == null ? void 0 : ve.toISOString()) || null,
|
|
1931
|
-
rejectedAt:
|
|
1931
|
+
rejectedAt: Pe,
|
|
1932
1932
|
adjustmentIds: [],
|
|
1933
1933
|
purchaseOrder: L,
|
|
1934
1934
|
// NetSuite
|
|
@@ -1944,7 +1944,7 @@ var _t;
|
|
|
1944
1944
|
g(c, "convertToV1"), u.convertToV1 = c;
|
|
1945
1945
|
}(s.FromNetSuite || (s.FromNetSuite = {}));
|
|
1946
1946
|
})(_t || (_t = {}));
|
|
1947
|
-
function
|
|
1947
|
+
function Ot(s, u) {
|
|
1948
1948
|
var r, n;
|
|
1949
1949
|
const d = (r = s.find((t) => {
|
|
1950
1950
|
const [i, o] = u.from.dbName.split("_");
|
|
@@ -1960,7 +1960,7 @@ function Pt(s, u) {
|
|
|
1960
1960
|
netSuiteToId: c
|
|
1961
1961
|
};
|
|
1962
1962
|
}
|
|
1963
|
-
g(
|
|
1963
|
+
g(Ot, "locationMapper");
|
|
1964
1964
|
function xt(s) {
|
|
1965
1965
|
let u = null, d = !1, c = !1;
|
|
1966
1966
|
for (const t of s.item.items) {
|
|
@@ -2072,7 +2072,7 @@ var bt;
|
|
|
2072
2072
|
g(r, "toCloseDto"), u.toCloseDto = r;
|
|
2073
2073
|
})(s.ToNetSuite || (s.ToNetSuite = {})), function(u) {
|
|
2074
2074
|
function d(c) {
|
|
2075
|
-
var v, U, N, A, D, L, me,
|
|
2075
|
+
var v, U, N, A, D, L, me, Pe, ve;
|
|
2076
2076
|
const { vendor: r, nsPurchaseOrder: n, orderItemMapping: t, nsItemReceipts: i, orderItemMappingByReceipt: o, context: m } = c, l = {
|
|
2077
2077
|
_id: r._id,
|
|
2078
2078
|
contactName: r.contactName,
|
|
@@ -2088,7 +2088,7 @@ var bt;
|
|
|
2088
2088
|
country: ((D = r.address) == null ? void 0 : D.country) || "",
|
|
2089
2089
|
postcode: ((L = r.address) == null ? void 0 : L.postcode) || ""
|
|
2090
2090
|
}
|
|
2091
|
-
}, f = (ve = (
|
|
2091
|
+
}, f = (ve = (Pe = (me = m.options) == null ? void 0 : me.netSuite) == null ? void 0 : Pe.additionalInfo) == null ? void 0 : ve.reduce((fe, H) => {
|
|
2092
2092
|
const he = H.compute(c, H.extraParams);
|
|
2093
2093
|
return {
|
|
2094
2094
|
...fe,
|
|
@@ -2108,19 +2108,19 @@ var bt;
|
|
|
2108
2108
|
const H = o[fe.id];
|
|
2109
2109
|
return je.FromNetSuite.transform(m, H, fe);
|
|
2110
2110
|
}), p = n.item.items.reduce((fe, H) => {
|
|
2111
|
-
const he = t[H.line].sku,
|
|
2111
|
+
const he = t[H.line].sku, Oe = t[H.line].measurement;
|
|
2112
2112
|
return fe.push(ie.FromNetSuite.toPurchaseOrderItem({
|
|
2113
2113
|
currency: n.currency.refName,
|
|
2114
2114
|
nsOrderItem: H,
|
|
2115
2115
|
sku: he,
|
|
2116
2116
|
glImpactCost: [],
|
|
2117
|
-
measurement:
|
|
2117
|
+
measurement: Oe,
|
|
2118
2118
|
context: m
|
|
2119
2119
|
})), fe;
|
|
2120
2120
|
}, []), y = new Date(n.createdDate), [E, _, S] = n.tranDate.split("-"), b = new Date(Number(E), Number(_) - 1, Number(S)), h = xt(n);
|
|
2121
2121
|
return {
|
|
2122
2122
|
purchaseOrder: {
|
|
2123
|
-
_id:
|
|
2123
|
+
_id: O({
|
|
2124
2124
|
prefix: x.Enum.purchaseOrder,
|
|
2125
2125
|
dateTime: y.toISOString()
|
|
2126
2126
|
}),
|
|
@@ -2159,7 +2159,7 @@ var Ze;
|
|
|
2159
2159
|
(function(u) {
|
|
2160
2160
|
function d(c) {
|
|
2161
2161
|
const n = {
|
|
2162
|
-
id:
|
|
2162
|
+
id: O({
|
|
2163
2163
|
prefix: x.Enum.measurement
|
|
2164
2164
|
}),
|
|
2165
2165
|
name: c.unitName,
|
|
@@ -2184,7 +2184,7 @@ var St;
|
|
|
2184
2184
|
(function(s) {
|
|
2185
2185
|
(function(u) {
|
|
2186
2186
|
function d(c, r) {
|
|
2187
|
-
let n = c.uom.items, t =
|
|
2187
|
+
let n = c.uom.items, t = O({
|
|
2188
2188
|
prefix: x.Enum.unit
|
|
2189
2189
|
});
|
|
2190
2190
|
const i = {
|
|
@@ -2242,7 +2242,7 @@ var vt;
|
|
|
2242
2242
|
(function(s) {
|
|
2243
2243
|
(function(u) {
|
|
2244
2244
|
function d(c) {
|
|
2245
|
-
const r = c.addressBook.items.find((o) => o.defaultBilling), n =
|
|
2245
|
+
const r = c.addressBook.items.find((o) => o.defaultBilling), n = O({
|
|
2246
2246
|
prefix: x.Enum.supplier
|
|
2247
2247
|
}), t = {
|
|
2248
2248
|
_id: n,
|
|
@@ -2598,7 +2598,7 @@ var ht;
|
|
|
2598
2598
|
return le.FromNetSuite.toPurchaseOrderItem(b, h, k);
|
|
2599
2599
|
});
|
|
2600
2600
|
return {
|
|
2601
|
-
_id:
|
|
2601
|
+
_id: O({
|
|
2602
2602
|
prefix: x.Enum.purchaseOrder,
|
|
2603
2603
|
dateTime: o.toISOString()
|
|
2604
2604
|
}),
|
|
@@ -2663,7 +2663,7 @@ var ht;
|
|
|
2663
2663
|
return le.FromNetSuite.toPurchaseOrderItem(D, L, me);
|
|
2664
2664
|
});
|
|
2665
2665
|
return {
|
|
2666
|
-
_id:
|
|
2666
|
+
_id: O({
|
|
2667
2667
|
prefix: x.Enum.purchaseOrder,
|
|
2668
2668
|
dateTime: m.toISOString()
|
|
2669
2669
|
}),
|
|
@@ -2853,7 +2853,7 @@ function Fn(s, u) {
|
|
|
2853
2853
|
return c;
|
|
2854
2854
|
}
|
|
2855
2855
|
g(Fn, "getAvailableItemToBeFulfilled");
|
|
2856
|
-
function
|
|
2856
|
+
function Pn(s) {
|
|
2857
2857
|
var l, f;
|
|
2858
2858
|
const { inventorySkus: u, legacyParentItemConfigs: d, parentReplicas: c } = s, r = d.reduce((a, I) => (a[I.id] = I, a), {}), n = c.reduce((a, I) => (a[I.netSuiteId] = I, a), {}), t = /* @__PURE__ */ new Set(), i = [];
|
|
2859
2859
|
for (const a of u) {
|
|
@@ -2907,8 +2907,8 @@ function On(s) {
|
|
|
2907
2907
|
updatedParentItemConfigs: o
|
|
2908
2908
|
};
|
|
2909
2909
|
}
|
|
2910
|
-
g(
|
|
2911
|
-
function
|
|
2910
|
+
g(Pn, "syncAssemblyParentItemsWithLegacyConfig");
|
|
2911
|
+
function On(s) {
|
|
2912
2912
|
var n, t;
|
|
2913
2913
|
const { legacyChildItemConfigs: u, childReplicas: d } = s, c = [], r = /* @__PURE__ */ new Set();
|
|
2914
2914
|
for (const i of d)
|
|
@@ -2930,7 +2930,7 @@ function Pn(s) {
|
|
|
2930
2930
|
i.itemType !== R.Enum.Assembly && !r.has(i.netSuiteId) && c.push(i);
|
|
2931
2931
|
return c;
|
|
2932
2932
|
}
|
|
2933
|
-
g(
|
|
2933
|
+
g(On, "syncAssemblyChildItemsWithLegacyConfig");
|
|
2934
2934
|
function xn(s) {
|
|
2935
2935
|
var l, f;
|
|
2936
2936
|
const { inventorySkus: u, legacyParentItemConfigs: d, parentReplicas: c } = s, r = d.reduce((a, I) => (a[I.id] = I, a), {}), n = c.reduce((a, I) => (a[I.netSuiteId] = I, a), {}), t = /* @__PURE__ */ new Set(), i = [];
|
|
@@ -3157,7 +3157,7 @@ function Se(s, u, d, c, r = !1) {
|
|
|
3157
3157
|
if (!(m === "quantity" && l && f && M.equals({
|
|
3158
3158
|
a: l,
|
|
3159
3159
|
b: f
|
|
3160
|
-
})) && !
|
|
3160
|
+
})) && !P.isEqual(t[m], i[m])) {
|
|
3161
3161
|
let a = f, I = l;
|
|
3162
3162
|
if (m === "code" && f)
|
|
3163
3163
|
continue;
|
|
@@ -3266,7 +3266,7 @@ function st(s, u, d, c, r) {
|
|
|
3266
3266
|
if (!(l === "amount" && f && a && M.equals({
|
|
3267
3267
|
a: f,
|
|
3268
3268
|
b: a
|
|
3269
|
-
})) && !
|
|
3269
|
+
})) && !P.isEqual(i[l], o[l])) {
|
|
3270
3270
|
let I = a, p = f;
|
|
3271
3271
|
typeof i[l] == "object" && (I = JSON.stringify(a), p = JSON.stringify(f)), n.push({
|
|
3272
3272
|
type: u === "deliveryFulfillment" ? C.ITEM_FULFILLMENT_ITEM_UPDATED : C.ITEM_RECEIPT_ITEM_UPDATED,
|
|
@@ -3376,7 +3376,7 @@ function Bn(s, u, d) {
|
|
|
3376
3376
|
continue;
|
|
3377
3377
|
}
|
|
3378
3378
|
const h = f[b] ?? null, k = p[b] ?? null;
|
|
3379
|
-
if (!
|
|
3379
|
+
if (!P.isEqual(h, k)) {
|
|
3380
3380
|
let v = k, U = h;
|
|
3381
3381
|
typeof f[b] == "object" && (v = JSON.stringify(k), U = JSON.stringify(h)), b === "createdAt" && (v = new Date(f[b]).toISOString(), U = new Date(p[b]).toISOString()), r.push({
|
|
3382
3382
|
type: ee.ITEM_FULFILLMENT_UPDATED,
|
|
@@ -3437,7 +3437,7 @@ function qn(s, u) {
|
|
|
3437
3437
|
for (const n of d)
|
|
3438
3438
|
n.type === ee.ITEM_FULFILLMENT_CREATED && c.push({
|
|
3439
3439
|
...n.data,
|
|
3440
|
-
id: n.data.id ||
|
|
3440
|
+
id: n.data.id || O({
|
|
3441
3441
|
prefix: x.Enum.deliveryFulfillment
|
|
3442
3442
|
})
|
|
3443
3443
|
});
|
|
@@ -3445,7 +3445,7 @@ function qn(s, u) {
|
|
|
3445
3445
|
for (const n of c)
|
|
3446
3446
|
n.id ? r.push(n) : (console.warn("Missing delivery fulfillment id, generating new id"), r.push({
|
|
3447
3447
|
...n,
|
|
3448
|
-
id:
|
|
3448
|
+
id: O({
|
|
3449
3449
|
prefix: x.Enum.deliveryFulfillment
|
|
3450
3450
|
})
|
|
3451
3451
|
}));
|
|
@@ -3503,7 +3503,7 @@ function jt(s, u, d) {
|
|
|
3503
3503
|
continue;
|
|
3504
3504
|
}
|
|
3505
3505
|
const U = v in Dt, N = U ? p[v] ?? Dt[v] : $(p[v] ?? null), A = U ? _[v] : $(_[v] ?? null);
|
|
3506
|
-
if (!
|
|
3506
|
+
if (!P.isEqual(N, A)) {
|
|
3507
3507
|
if ((v === "createdAt" || v === "createdBy" || v === "remark" || v === "effectiveAt") && A)
|
|
3508
3508
|
continue;
|
|
3509
3509
|
let D = A, L = N;
|
|
@@ -3569,7 +3569,7 @@ function Vt(s, u) {
|
|
|
3569
3569
|
const t = new Date(n.data.createdAt), i = new Date(n.data.effectiveAt);
|
|
3570
3570
|
c.push({
|
|
3571
3571
|
...n.data,
|
|
3572
|
-
id: n.data.id ||
|
|
3572
|
+
id: n.data.id || O({
|
|
3573
3573
|
prefix: x.Enum.deliveryOrder
|
|
3574
3574
|
}),
|
|
3575
3575
|
effectiveAt: J(t, i) ? void 0 : i.toISOString()
|
|
@@ -3579,7 +3579,7 @@ function Vt(s, u) {
|
|
|
3579
3579
|
for (const n of c)
|
|
3580
3580
|
n.id ? r.push(n) : (console.warn("Missing delivery order id, generating new id"), r.push({
|
|
3581
3581
|
...n,
|
|
3582
|
-
id:
|
|
3582
|
+
id: O({
|
|
3583
3583
|
prefix: x.Enum.deliveryOrder
|
|
3584
3584
|
})
|
|
3585
3585
|
}));
|
|
@@ -3653,7 +3653,7 @@ function zn(s, u, d, c = !1) {
|
|
|
3653
3653
|
const a = new Date(se(u._id));
|
|
3654
3654
|
J(a, new Date(l)) && (l = null);
|
|
3655
3655
|
}
|
|
3656
|
-
if (!
|
|
3656
|
+
if (!P.isEqual(l, f)) {
|
|
3657
3657
|
let a = f, I = l;
|
|
3658
3658
|
if (l && f && typeof l == "object" && typeof f == "object" && (a = f ? JSON.stringify(f) : null, I = l ? JSON.stringify(l) : null), o === "effectiveAt") {
|
|
3659
3659
|
if (!f) {
|
|
@@ -3731,7 +3731,7 @@ function Gn(s, u, d, c, r) {
|
|
|
3731
3731
|
const m = new Date(se(d.purchaseOrder._id)), l = new Date(d.purchaseOrder.effectiveAt);
|
|
3732
3732
|
n = {
|
|
3733
3733
|
...d.purchaseOrder,
|
|
3734
|
-
_id: (r == null ? void 0 : r.purchaseOrderId) || d.purchaseOrder._id ||
|
|
3734
|
+
_id: (r == null ? void 0 : r.purchaseOrderId) || d.purchaseOrder._id || O({
|
|
3735
3735
|
prefix: x.Enum.purchaseOrder
|
|
3736
3736
|
}),
|
|
3737
3737
|
effectiveAt: J(m, l) ? void 0 : l.toISOString(),
|
|
@@ -3848,7 +3848,7 @@ function Yn(s, u) {
|
|
|
3848
3848
|
}
|
|
3849
3849
|
g(Yn, "detectPurchaseOrderConflicts");
|
|
3850
3850
|
function Jn(s, u, d, c) {
|
|
3851
|
-
let r = c ?
|
|
3851
|
+
let r = c ? P.cloneDeep(c) : null;
|
|
3852
3852
|
const n = qe((r == null ? void 0 : r.items) || [], u);
|
|
3853
3853
|
if (s.length === 0)
|
|
3854
3854
|
throw new Error("No order lines found");
|
|
@@ -3878,7 +3878,7 @@ function Jn(s, u, d, c) {
|
|
|
3878
3878
|
const i = new Date(se(d._id)), o = new Date(d.effectiveAt);
|
|
3879
3879
|
r = {
|
|
3880
3880
|
...d,
|
|
3881
|
-
_id: d._id ||
|
|
3881
|
+
_id: d._id || O({
|
|
3882
3882
|
prefix: x.Enum.purchaseOrder
|
|
3883
3883
|
}),
|
|
3884
3884
|
effectiveAt: J(i, o) ? void 0 : o.toISOString(),
|
|
@@ -3926,7 +3926,7 @@ function Bt(s, u) {
|
|
|
3926
3926
|
if (t === "nsConfig" || t === "id")
|
|
3927
3927
|
continue;
|
|
3928
3928
|
const i = r[t] ?? null, o = n[t] ?? null;
|
|
3929
|
-
if (!
|
|
3929
|
+
if (!P.isEqual(i, o)) {
|
|
3930
3930
|
let m = o, l = i;
|
|
3931
3931
|
typeof i == "object" && (m = JSON.stringify(o), l = JSON.stringify(i)), c.push({
|
|
3932
3932
|
type: pe.UNIT_OF_MEASUREMENT_UPDATED,
|
|
@@ -3974,7 +3974,7 @@ function Qn(s, u) {
|
|
|
3974
3974
|
continue;
|
|
3975
3975
|
}
|
|
3976
3976
|
const n = s[r] ?? null, t = u[r] ?? null;
|
|
3977
|
-
if (!
|
|
3977
|
+
if (!P.isEqual(n, t)) {
|
|
3978
3978
|
let i = t, o = n;
|
|
3979
3979
|
d.push({
|
|
3980
3980
|
type: Ae.UNIT_UPDATED,
|
|
@@ -4072,7 +4072,7 @@ function Xn(s, u) {
|
|
|
4072
4072
|
const o = new Date(se(u._id));
|
|
4073
4073
|
J(o, new Date(t)) && (t = null);
|
|
4074
4074
|
}
|
|
4075
|
-
if (!
|
|
4075
|
+
if (!P.isEqual(t, i)) {
|
|
4076
4076
|
let o = i, m = t;
|
|
4077
4077
|
if (t && i && typeof t == "object" && typeof i == "object") {
|
|
4078
4078
|
if (n === "netSuite") {
|
|
@@ -4132,7 +4132,7 @@ function ei(s, u, d, c) {
|
|
|
4132
4132
|
const i = new Date(se(d._id)), o = new Date(d.effectiveAt);
|
|
4133
4133
|
r = {
|
|
4134
4134
|
...d,
|
|
4135
|
-
_id: d._id ||
|
|
4135
|
+
_id: d._id || O({
|
|
4136
4136
|
prefix: x.Enum.purchaseOrder
|
|
4137
4137
|
}),
|
|
4138
4138
|
effectiveAt: J(i, o) ? void 0 : o.toISOString(),
|
|
@@ -4192,7 +4192,7 @@ function ri(s) {
|
|
|
4192
4192
|
const r = Object.keys(ii.shape);
|
|
4193
4193
|
for (const n of r) {
|
|
4194
4194
|
const t = d[n] ?? null, i = c[n] ?? null;
|
|
4195
|
-
|
|
4195
|
+
P.isEqual(t, i) || u.push({
|
|
4196
4196
|
type: K.INVENTORY_ITEM_UPDATED,
|
|
4197
4197
|
message: q("InvtPart Child Item", d.netSuiteId, n, i, t),
|
|
4198
4198
|
data: {
|
|
@@ -4218,7 +4218,7 @@ function si(s) {
|
|
|
4218
4218
|
const r = Object.keys(ni.shape);
|
|
4219
4219
|
for (const t of r) {
|
|
4220
4220
|
const i = d[t] ?? null, o = c[t] ?? null;
|
|
4221
|
-
|
|
4221
|
+
P.isEqual(i, o) || u.push({
|
|
4222
4222
|
type: K.INVENTORY_ITEM_UPDATED,
|
|
4223
4223
|
message: q("Inventory Parent Item", d.netSuiteId, t, o, i),
|
|
4224
4224
|
data: {
|
|
@@ -4231,7 +4231,7 @@ function si(s) {
|
|
|
4231
4231
|
const n = Object.keys(ti.shape);
|
|
4232
4232
|
for (const t of n) {
|
|
4233
4233
|
const i = d.skuCache[t] ?? null, o = c.skuCache[t] ?? null;
|
|
4234
|
-
|
|
4234
|
+
P.isEqual(i, o) || u.push({
|
|
4235
4235
|
type: K.INVENTORY_ITEM_SKU_UPDATED,
|
|
4236
4236
|
message: q("Inventory Parent Item", d.netSuiteId, t, o, i),
|
|
4237
4237
|
data: {
|
|
@@ -4322,7 +4322,7 @@ function li(s) {
|
|
|
4322
4322
|
const r = Object.keys(ci.shape);
|
|
4323
4323
|
for (const n of r) {
|
|
4324
4324
|
const t = d[n] ?? null, i = c[n] ?? null;
|
|
4325
|
-
|
|
4325
|
+
P.isEqual(t, i) || u.push({
|
|
4326
4326
|
type: z.ASSEMBLY_ITEM_UPDATED,
|
|
4327
4327
|
message: q("Assembly Child Item", d.netSuiteId, n, i, t),
|
|
4328
4328
|
data: {
|
|
@@ -4348,7 +4348,7 @@ function mi(s) {
|
|
|
4348
4348
|
const r = Object.keys(di.shape);
|
|
4349
4349
|
for (const t of r) {
|
|
4350
4350
|
const i = d[t] ?? null, o = c[t] ?? null;
|
|
4351
|
-
|
|
4351
|
+
P.isEqual(i, o) || u.push({
|
|
4352
4352
|
type: z.ASSEMBLY_ITEM_UPDATED,
|
|
4353
4353
|
message: q("Assembly Parent Item", d.netSuiteId, t, o, i),
|
|
4354
4354
|
data: {
|
|
@@ -4361,7 +4361,7 @@ function mi(s) {
|
|
|
4361
4361
|
const n = Object.keys(ui.shape);
|
|
4362
4362
|
for (const t of n) {
|
|
4363
4363
|
const i = d.skuCache[t] ?? null, o = c.skuCache[t] ?? null;
|
|
4364
|
-
|
|
4364
|
+
P.isEqual(i, o) || u.push({
|
|
4365
4365
|
type: z.ASSEMBLY_ITEM_SKU_UPDATED,
|
|
4366
4366
|
message: q("Assembly Parent Item", d.netSuiteId, t, o, i),
|
|
4367
4367
|
data: {
|
|
@@ -4449,7 +4449,7 @@ function gi(s) {
|
|
|
4449
4449
|
const r = Object.keys(yi.shape);
|
|
4450
4450
|
for (const t of r) {
|
|
4451
4451
|
const i = d[t] ?? null, o = c[t] ?? null;
|
|
4452
|
-
|
|
4452
|
+
P.isEqual(i, o) || u.push({
|
|
4453
4453
|
type: ye.SERVICE_ITEM_UPDATED,
|
|
4454
4454
|
message: q("Service Parent Item", d.netSuiteId, t, o, i),
|
|
4455
4455
|
data: {
|
|
@@ -4462,7 +4462,7 @@ function gi(s) {
|
|
|
4462
4462
|
const n = Object.keys(pi.shape);
|
|
4463
4463
|
for (const t of n) {
|
|
4464
4464
|
const i = d.skuCache[t] ?? null, o = c.skuCache[t] ?? null;
|
|
4465
|
-
|
|
4465
|
+
P.isEqual(i, o) || u.push({
|
|
4466
4466
|
type: ye.SERVICE_ITEM_SKU_UPDATED,
|
|
4467
4467
|
message: q("Service Parent Item", d.netSuiteId, t, o, i),
|
|
4468
4468
|
data: {
|
|
@@ -4764,10 +4764,10 @@ const de = en((s, u) => {
|
|
|
4764
4764
|
},
|
|
4765
4765
|
urls: s
|
|
4766
4766
|
};
|
|
4767
|
-
}), Ci = { class: "flex flex-col" }, Ni = { class: "text-sm" }, Ai = { class: "text-sm" }, Mi = { class: "text-sm" }, Ui = { class: "flex flex-col gap-2 mt-2" }, ki = { class: "text-xs" }, wi = { class: "text-xs" }, Ri = { class: "text-xs" }, Fi = { class: "text-xs" },
|
|
4767
|
+
}), Ci = { class: "flex flex-col" }, Ni = { class: "text-sm" }, Ai = { class: "text-sm" }, Mi = { class: "text-sm" }, Ui = { class: "flex flex-col gap-2 mt-2" }, ki = { class: "text-xs" }, wi = { class: "text-xs" }, Ri = { class: "text-xs" }, Fi = { class: "text-xs" }, Pi = {
|
|
4768
4768
|
key: 0,
|
|
4769
4769
|
class: "text-xs"
|
|
4770
|
-
},
|
|
4770
|
+
}, Oi = {
|
|
4771
4771
|
key: 0,
|
|
4772
4772
|
class: "text-sm text-gray-400"
|
|
4773
4773
|
}, xi = {
|
|
@@ -4907,12 +4907,12 @@ const de = en((s, u) => {
|
|
|
4907
4907
|
a[12] || (a[12] = w("b", null, "UOM:", -1)),
|
|
4908
4908
|
Q(" " + V(_.value.fmMeasurementAbbrev ?? d.sku.unit.abbrev), 1)
|
|
4909
4909
|
]),
|
|
4910
|
-
_.value.remark ? (W(), ue("span",
|
|
4910
|
+
_.value.remark ? (W(), ue("span", Pi, [
|
|
4911
4911
|
a[13] || (a[13] = w("b", null, "Remark:", -1)),
|
|
4912
4912
|
Q(" " + V(_.value.remark), 1)
|
|
4913
4913
|
])) : Ue("", !0)
|
|
4914
4914
|
]))), 128)),
|
|
4915
|
-
n.value.length === 0 ? (W(), ue("span",
|
|
4915
|
+
n.value.length === 0 ? (W(), ue("span", Oi, "No custom code found.")) : Ue("", !0)
|
|
4916
4916
|
])
|
|
4917
4917
|
], 64)) : (W(), ue(Le, { key: 1 }, [
|
|
4918
4918
|
a[16] || (a[16] = w("hr", { class: "my-2" }, null, -1)),
|
|
@@ -5030,7 +5030,7 @@ function Gi() {
|
|
|
5030
5030
|
o[m] = "Invalid record. Please remove this row.";
|
|
5031
5031
|
continue;
|
|
5032
5032
|
}
|
|
5033
|
-
if (!
|
|
5033
|
+
if (!P.isEqual(f, l.sku)) {
|
|
5034
5034
|
o[m] = "Record is outdated. Please re-apply the item.";
|
|
5035
5035
|
continue;
|
|
5036
5036
|
}
|
package/dist/router/name.d.ts
CHANGED