@feedmepos/mf-inventory-portal 1.2.4-dev.1 → 1.2.5-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.
- package/dist/{App-CdweYGJb.js → App-plHMDZk7.js} +1 -1
- package/dist/{ApprovalView-N5aTAawv.js → ApprovalView-CChHxp4X.js} +50 -49
- package/dist/{BindingsDialog-CF43nBIL.js → BindingsDialog-CU-u0hJx.js} +2 -2
- package/dist/{BindingsPicker-UXffTvIT.js → BindingsPicker-BpbNVNQQ.js} +1 -1
- package/dist/{BindingsTable-bGEdChlq.js → BindingsTable-v1QcskCd.js} +1 -1
- package/dist/{ClosingDraftView-CU6ncRGd.js → ClosingDraftView-D9HwfK7e.js} +2 -2
- package/dist/{ClosingTemplateView-B7hlv-ol.js → ClosingTemplateView-ancesrdQ.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BHsASpvc.js → DeliveryOrderPrintPreview-DLSzR6HB.js} +8 -8
- package/dist/{FmAdminBadge-phxApe08.js → FmAdminBadge-Cb9aT29U.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cp0j6Sx0.js +230 -0
- package/dist/{FmMultiselectDialog-Cw7978N9.js → FmMultiselectDialog-SoaYz3_K.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-m_DVEWZp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D5k7Xk3M.js} +15 -15
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CK2uHzWs.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-NY7TPnoY.js} +1 -1
- package/dist/{IngredientGroupView-BLlM22XE.js → IngredientGroupView-DmbPHuWG.js} +2 -2
- package/dist/{IngredientsView-D-MLnQUs.js → IngredientsView-Bxb_BeyP.js} +71 -61
- package/dist/{IntegrationView-DS8GfDcu.js → IntegrationView-B8mnGO1_.js} +84 -84
- package/dist/{InventoryBindingForm-Cxl3010v.js → InventoryBindingForm-B2tlc3uk.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVytESGu.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-qi9Mri.js} +3 -3
- package/dist/{InventoryBindingSummary-BPLbgkdU.js → InventoryBindingSummary-BUkLwuPN.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6G0tvu8.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-4W5T_8W7.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DIgC7Vso.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DCtPbVFp.js} +7 -7
- package/dist/{PublishView-C7M3-gQh.js → PublishView-Dkq9VZOG.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-ZhFYuurj.js → PurchaseOrderPrintPreview-C-jyn09w.js} +8 -8
- package/dist/{ReceiveRequestView-BCdKPhsr.js → ReceiveRequestView-V4YNI_Jd.js} +82 -79
- package/dist/{RecipeView-DUmXQOxV.js → RecipeView-Ck3RZRhC.js} +3 -3
- package/dist/{StockView-BcxAyI7w.js → StockView-nstUyEXe.js} +7 -7
- package/dist/{SupplierView-q04_80bh.js → SupplierView-eXyZsmHQ.js} +862 -831
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-OCR95cDM.js +2578 -0
- package/dist/{TransferTemplateView-Cfcu-qeJ.js → TransferTemplateView-DZG_UCWg.js} +57 -57
- package/dist/{UnitView-BAPZkTQp.js → UnitView-COiitpcS.js} +3 -3
- package/dist/WarehouseView-DhBpkfGm.js +1066 -0
- package/dist/api/inventory.d.ts +8 -0
- package/dist/api/shipment.d.ts +11 -0
- package/dist/api/warehouse.d.ts +3 -1
- package/dist/{app-Bcq0U90V.js → app-DayXXH4q.js} +14439 -13858
- package/dist/app.d.ts +24 -9
- package/dist/app.js +1 -1
- package/dist/{decimal-Dhnp84Mk.js → decimal-CFYWiBC2.js} +1 -1
- package/dist/{format-unit-display-X0is3zJN.js → format-unit-display-DIr9pTFo.js} +21 -21
- package/dist/{index-Bb9d1Qcc.js → index-DLOpJmH-.js} +1 -1
- package/dist/{index-CnqZ1tak.js → index-tQKFc6GI.js} +1 -1
- package/dist/{stock-DcD5Tbqe.js → stock-DeAkNJnm.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/inventory.d.ts +1 -0
- package/dist/stores/location.d.ts +57 -1
- package/dist/stores/supplier.d.ts +96 -0
- package/dist/stores/warehouse.d.ts +4 -0
- package/dist/{supplier-njZB-A08.js → supplier-C4DAoZrI.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CFxbHyQu.js → use-ingredient-select-dialog-CV7X8z4O.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CtvdrDNH.js → use-inventory-binding-dialog-nuT-Ptlx.js} +1 -1
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +60 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +10 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +94 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +72 -1
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
- package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
- package/package.json +2 -2
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CQi8T-o4.js +0 -227
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CBFgpKee.js +0 -2494
- package/dist/WarehouseView-9AkOoqZV.js +0 -1034
package/dist/app.d.ts
CHANGED
|
@@ -367,11 +367,11 @@ export declare const i18nMessages: {
|
|
|
367
367
|
menu: string;
|
|
368
368
|
amount: string;
|
|
369
369
|
};
|
|
370
|
-
|
|
370
|
+
status: {
|
|
371
371
|
title: string;
|
|
372
372
|
preventFromOrder: string;
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
active: string;
|
|
374
|
+
inactive: string;
|
|
375
375
|
};
|
|
376
376
|
create: {
|
|
377
377
|
title: string;
|
|
@@ -713,6 +713,11 @@ export declare const i18nMessages: {
|
|
|
713
713
|
};
|
|
714
714
|
supplier: {
|
|
715
715
|
title: string;
|
|
716
|
+
delivery: {
|
|
717
|
+
title: string;
|
|
718
|
+
preparationTime: string;
|
|
719
|
+
deliveryTime: string;
|
|
720
|
+
};
|
|
716
721
|
supplyItems: {
|
|
717
722
|
title: string;
|
|
718
723
|
addItems: string;
|
|
@@ -1249,11 +1254,11 @@ export declare const i18nMessages: {
|
|
|
1249
1254
|
menu: string;
|
|
1250
1255
|
amount: string;
|
|
1251
1256
|
};
|
|
1252
|
-
|
|
1257
|
+
status: {
|
|
1253
1258
|
title: string;
|
|
1254
1259
|
preventFromOrder: string;
|
|
1255
|
-
|
|
1256
|
-
|
|
1260
|
+
active: string;
|
|
1261
|
+
inactive: string;
|
|
1257
1262
|
};
|
|
1258
1263
|
create: {
|
|
1259
1264
|
title: string;
|
|
@@ -1617,6 +1622,11 @@ export declare const i18nMessages: {
|
|
|
1617
1622
|
contact: string;
|
|
1618
1623
|
email: string;
|
|
1619
1624
|
};
|
|
1625
|
+
delivery: {
|
|
1626
|
+
title: string;
|
|
1627
|
+
preparationTime: string;
|
|
1628
|
+
deliveryTime: string;
|
|
1629
|
+
};
|
|
1620
1630
|
create: {
|
|
1621
1631
|
title: string;
|
|
1622
1632
|
success: string;
|
|
@@ -2848,11 +2858,11 @@ export declare const i18nMessages: {
|
|
|
2848
2858
|
menu: string;
|
|
2849
2859
|
amount: string;
|
|
2850
2860
|
};
|
|
2851
|
-
|
|
2861
|
+
status: {
|
|
2852
2862
|
title: string;
|
|
2853
2863
|
preventFromOrder: string;
|
|
2854
|
-
|
|
2855
|
-
|
|
2864
|
+
active: string;
|
|
2865
|
+
inactive: string;
|
|
2856
2866
|
};
|
|
2857
2867
|
create: {
|
|
2858
2868
|
title: string;
|
|
@@ -3194,6 +3204,11 @@ export declare const i18nMessages: {
|
|
|
3194
3204
|
};
|
|
3195
3205
|
supplier: {
|
|
3196
3206
|
title: string;
|
|
3207
|
+
delivery: {
|
|
3208
|
+
title: string;
|
|
3209
|
+
preparationTime: string;
|
|
3210
|
+
deliveryTime: string;
|
|
3211
|
+
};
|
|
3197
3212
|
supplyItems: {
|
|
3198
3213
|
title: string;
|
|
3199
3214
|
addItems: string;
|
package/dist/app.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a4 as Ae, a as q, V as Ie, al as M, v as De, am as he, w as ve, u as Z, j as B, x as Oe,
|
|
1
|
+
import { a4 as Ae, a as q, V as Ie, al as M, v as De, am as he, w as ve, u as Z, j as B, x as Oe, aP as ce, y as ge, b as te, t as G, Z as J, aO as Fe, aG as Pe, a1 as Ue, z as Me, B as Be, an as Le, e as me, f as re, R as ue, a3 as Qe, aj as He, D as j, i as I, h as Ve } from "./app-DayXXH4q.js";
|
|
2
2
|
import { useCoreStore as ne, useI18n as oe } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialogChild as qe, useSnackbar as be, useDialog as je, FmButtonVariant as z, components as X } from "@feedmepos/ui-library";
|
|
4
4
|
import { defineStore as xe } from "pinia";
|
|
5
|
-
import { defineComponent as ae, resolveComponent as Q, openBlock as _, createElementBlock as k, createElementVNode as C, normalizeClass as H, createTextVNode as ze, toDisplayString as D, unref as A, createCommentVNode as V, createVNode as P, withCtx as ee, Fragment as L, renderList as Y, ref as
|
|
5
|
+
import { defineComponent as ae, resolveComponent as Q, openBlock as _, createElementBlock as k, createElementVNode as C, normalizeClass as H, createTextVNode as ze, toDisplayString as D, unref as A, createCommentVNode as V, createVNode as P, withCtx as ee, Fragment as L, renderList as Y, ref as R, onMounted as Ke, computed as de, watch as Ye, createSlots as We, createBlock as K, h as W } from "vue";
|
|
6
6
|
import { useRouter as Ge } from "vue-router";
|
|
7
|
-
import { u as se } from "./supplier-
|
|
7
|
+
import { u as se } from "./supplier-C4DAoZrI.js";
|
|
8
8
|
const Se = Ae((e, t) => {
|
|
9
9
|
function s() {
|
|
10
10
|
var o;
|
|
@@ -43,7 +43,7 @@ function Te(e) {
|
|
|
43
43
|
const i = e.measurement;
|
|
44
44
|
return i ? !t.unitById[l.unit._id].measurements.find((c) => c.id === i.id) : !1;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var N = /* @__PURE__ */ ((e) => (e.PURCHASE = "PURCHASE", e.TRANSFER = "TRANSFER", e))(N || {}), ie = /* @__PURE__ */ ((e) => (e.Source = "Source", e.Destination = "Destination", e.Ingredient = "Ingredient", e))(ie || {});
|
|
47
47
|
const pe = Ie(0);
|
|
48
48
|
function _e(e) {
|
|
49
49
|
var l;
|
|
@@ -107,7 +107,7 @@ function Ze(e) {
|
|
|
107
107
|
["Menu version", s == null ? void 0 : s.menuVersion],
|
|
108
108
|
[
|
|
109
109
|
"Purchase/Transfer",
|
|
110
|
-
typeof a.purchaseOrder.supplier.internal == "string" ?
|
|
110
|
+
typeof a.purchaseOrder.supplier.internal == "string" ? N.TRANSFER : N.PURCHASE
|
|
111
111
|
],
|
|
112
112
|
[
|
|
113
113
|
"Transfer from",
|
|
@@ -260,7 +260,7 @@ function Xe(e, t) {
|
|
|
260
260
|
const h = m[1], d = m[2];
|
|
261
261
|
let u;
|
|
262
262
|
if (d.startsWith("supplier"))
|
|
263
|
-
u = c[d], t !==
|
|
263
|
+
u = c[d], t !== N.PURCHASE && s.push(`Expected transfer type Purchase but found ${t} instead.`);
|
|
264
264
|
else {
|
|
265
265
|
const v = o[d];
|
|
266
266
|
if (!v)
|
|
@@ -331,7 +331,7 @@ function tt(e) {
|
|
|
331
331
|
return {
|
|
332
332
|
id: `${s[1] ?? ""}`.trim(),
|
|
333
333
|
name: `${l[1] ?? ""}`.trim(),
|
|
334
|
-
type: `${c[1] ?? ""}`.trim().toLocaleLowerCase() === "transfer" ?
|
|
334
|
+
type: `${c[1] ?? ""}`.trim().toLocaleLowerCase() === "transfer" ? N.TRANSFER : N.PURCHASE,
|
|
335
335
|
transferFrom: `${a[1] ?? ""}`.trim(),
|
|
336
336
|
locations: m.slice(1).map((u) => `${u}`.trim()).filter((u) => u),
|
|
337
337
|
reference: `${h[1] ?? ""}`.trim(),
|
|
@@ -648,7 +648,7 @@ const it = { class: "flex items-center gap-12 pl-8" }, lt = { class: "flex flex-
|
|
|
648
648
|
}, St = { class: "fm-typo-en-body-lg-600" }, Tt = /* @__PURE__ */ ae({
|
|
649
649
|
__name: "TransferTemplateImport",
|
|
650
650
|
setup(e) {
|
|
651
|
-
const t =
|
|
651
|
+
const t = R(null), s = qe(), l = be(), i = R(!1), o = R(!1), f = se();
|
|
652
652
|
Ke(async () => {
|
|
653
653
|
o.value = !0;
|
|
654
654
|
try {
|
|
@@ -663,7 +663,7 @@ const it = { class: "flex items-center gap-12 pl-8" }, lt = { class: "flex flex-
|
|
|
663
663
|
o.value = !1;
|
|
664
664
|
}
|
|
665
665
|
});
|
|
666
|
-
const c =
|
|
666
|
+
const c = R(new Array()), a = R([]), m = R([]), h = de(
|
|
667
667
|
() => !!c.value.length || a.value.some((b) => b.errors.length) || m.value.some((b) => b.errors.length)
|
|
668
668
|
), d = de(
|
|
669
669
|
() => !!a.value.length || !!m.value.length
|
|
@@ -800,7 +800,7 @@ const it = { class: "flex items-center gap-12 pl-8" }, lt = { class: "flex flex-
|
|
|
800
800
|
(_(!0), k(L, null, Y(a.value, (p, n) => (_(), K(fe, {
|
|
801
801
|
key: n,
|
|
802
802
|
name: p.template.name,
|
|
803
|
-
"transfer-type": typeof p.template.purchaseOrder.supplier.internal == "string" ? A(
|
|
803
|
+
"transfer-type": typeof p.template.purchaseOrder.supplier.internal == "string" ? A(N).TRANSFER : A(N).PURCHASE,
|
|
804
804
|
locations: p.template.locations,
|
|
805
805
|
items: p.template.purchaseOrder.items,
|
|
806
806
|
errors: p.errors,
|
|
@@ -809,7 +809,7 @@ const it = { class: "flex items-center gap-12 pl-8" }, lt = { class: "flex flex-
|
|
|
809
809
|
(_(!0), k(L, null, Y(m.value, (p) => (_(), K(fe, {
|
|
810
810
|
key: p.template._id,
|
|
811
811
|
name: p.template.name,
|
|
812
|
-
"transfer-type": typeof p.template.purchaseOrder.supplier.internal == "string" ? A(
|
|
812
|
+
"transfer-type": typeof p.template.purchaseOrder.supplier.internal == "string" ? A(N).TRANSFER : A(N).PURCHASE,
|
|
813
813
|
locations: p.template.locations,
|
|
814
814
|
items: p.template.purchaseOrder.items,
|
|
815
815
|
errors: p.errors,
|
|
@@ -833,7 +833,7 @@ function _t(e) {
|
|
|
833
833
|
return l && l == i;
|
|
834
834
|
}
|
|
835
835
|
const $t = xe("transferTemplateActions", () => {
|
|
836
|
-
const e = je(), t = be(), s = Z(), l = Ce(), i = Le(), o = Se(), f = te(), c = Ge(), { t: a } = oe(), m =
|
|
836
|
+
const e = je(), t = be(), s = Z(), l = Ce(), i = Le(), o = Se(), f = te(), c = Ge(), { t: a } = oe(), m = R({});
|
|
837
837
|
function h() {
|
|
838
838
|
m.value = {
|
|
839
839
|
mode: me.CREATE,
|
|
@@ -949,7 +949,7 @@ const $t = xe("transferTemplateActions", () => {
|
|
|
949
949
|
}
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
|
-
const b =
|
|
952
|
+
const b = R({});
|
|
953
953
|
function r(n) {
|
|
954
954
|
b.value = {
|
|
955
955
|
template: n,
|
|
@@ -989,12 +989,12 @@ const $t = xe("transferTemplateActions", () => {
|
|
|
989
989
|
const O = !g.purchaseOrder.items.length || g.purchaseOrder.items.some(Te), F = !_t(g.purchaseOrder.supplier), U = g.purchaseOrder.supplier.internal ? f.getNetSuiteLocation(
|
|
990
990
|
`${g.purchaseOrder.supplier.internal}_${g.purchaseOrder.supplier._id}`
|
|
991
991
|
) : f.getNetSuiteVendor(g.purchaseOrder.supplier._id), ke = F ? `The subsidiary of the request
|
|
992
|
-
location is ${(le = f.getLocationSubsidiary(U == null ? void 0 : U.netSuiteId)) == null ? void 0 : le.fullName}.` : void 0, Ee = O || F,
|
|
992
|
+
location is ${(le = f.getLocationSubsidiary(U == null ? void 0 : U.netSuiteId)) == null ? void 0 : le.fullName}.` : void 0, Ee = O || F, Re = O ? "This template is invalid. Update this template." : F ? ke : void 0, Ne = `${g.purchaseOrder.supplier.internal ? "Transfer" : "Purchase"} from ${g.purchaseOrder.supplier.name}`;
|
|
993
993
|
return {
|
|
994
994
|
label: g.name,
|
|
995
995
|
value: g._id,
|
|
996
996
|
disabled: Ee,
|
|
997
|
-
sublabel:
|
|
997
|
+
sublabel: Re ?? Ne
|
|
998
998
|
};
|
|
999
999
|
});
|
|
1000
1000
|
return E.sort((g, O) => +!!g.disabled - +!!O.disabled), e.open({
|
|
@@ -1129,14 +1129,14 @@ function ye(e) {
|
|
|
1129
1129
|
const Ce = xe(
|
|
1130
1130
|
"transferTemplateTable",
|
|
1131
1131
|
function() {
|
|
1132
|
-
const { t } = oe(), s = $t(), l =
|
|
1132
|
+
const { t } = oe(), s = $t(), l = R(!1), i = R(new Array()), o = Se(), f = q();
|
|
1133
1133
|
async function c() {
|
|
1134
1134
|
i.value = [], l.value = !0;
|
|
1135
1135
|
try {
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1136
|
+
f.isInventoryLoaded || await f.readInventory();
|
|
1137
|
+
const [d] = await Promise.all([o.readTemplates()]).delayed(
|
|
1138
|
+
1e3
|
|
1139
|
+
);
|
|
1140
1140
|
i.value = d.map(ye);
|
|
1141
1141
|
} catch (d) {
|
|
1142
1142
|
console.log("Something went wrong when fetching templates:", d);
|
|
@@ -1280,7 +1280,7 @@ function Dt(e, t, s) {
|
|
|
1280
1280
|
return `${B(e, !1)} ${l}`;
|
|
1281
1281
|
}
|
|
1282
1282
|
export {
|
|
1283
|
-
|
|
1283
|
+
N as P,
|
|
1284
1284
|
Se as a,
|
|
1285
1285
|
$t as b,
|
|
1286
1286
|
Dt as f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as u } from "vue";
|
|
2
|
-
import { u as d,
|
|
2
|
+
import { u as d, b3 as p, aV as v, c as m, b as h } from "./app-DayXXH4q.js";
|
|
3
3
|
import { useSnackbar as E } from "@feedmepos/ui-library";
|
|
4
4
|
function I() {
|
|
5
5
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b2 as x, b9 as V, ba as q, bb as Re, bc as cl, bd as sr, be as Lt, bf as fl, bg as $l } from "./app-DayXXH4q.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 { a4 as m, u as k, a as l, av as B, V as p } from "./app-
|
|
1
|
+
import { a4 as m, u as k, a as l, av as B, V as p } from "./app-DayXXH4q.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $ } from "@feedmepos/ui-library";
|
|
4
4
|
import { ref as y, computed as b } from "vue";
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface FeatureState {
|
|
|
22
22
|
inventory_xilnex_opening_migration: boolean;
|
|
23
23
|
inventory_synergy_opening_migration: boolean;
|
|
24
24
|
inventory_netsuite_inventory_transfer_out: boolean;
|
|
25
|
+
inventory_portal_supplier_preparation_time: boolean;
|
|
25
26
|
}
|
|
26
27
|
export declare const useFeatureStore: () => {
|
|
27
28
|
readonly businessDbName: string;
|
|
@@ -48,6 +49,7 @@ export declare const useFeatureStore: () => {
|
|
|
48
49
|
readonly acceptRequireFulfillment: boolean | undefined;
|
|
49
50
|
readonly useOperatePurchaseOrderV2: boolean;
|
|
50
51
|
readonly isNetSuiteInventoryTransferOutEnabled: boolean;
|
|
52
|
+
readonly enableSupplierPreparationTime: boolean;
|
|
51
53
|
init(): Promise<void>;
|
|
52
54
|
awaitFeatureLoaded(callback: () => boolean): Promise<boolean>;
|
|
53
55
|
};
|
|
@@ -5,13 +5,17 @@ export declare const InventoryLocationType: {
|
|
|
5
5
|
restaurant: "restaurant";
|
|
6
6
|
warehouse: "warehouse";
|
|
7
7
|
};
|
|
8
|
-
export type InventoryLocation =
|
|
8
|
+
export type InventoryLocation = FdtoInventoryLocationInfo;
|
|
9
9
|
export declare function useLocationStore(): {
|
|
10
10
|
_currentLocation: {
|
|
11
11
|
inventory?: {
|
|
12
12
|
_id: string;
|
|
13
13
|
updatedAt: string;
|
|
14
14
|
} | null | undefined;
|
|
15
|
+
preparationTime?: {
|
|
16
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
17
|
+
value: number;
|
|
18
|
+
} | null | undefined;
|
|
15
19
|
name: string;
|
|
16
20
|
type: "restaurant" | "warehouse";
|
|
17
21
|
acceptRequest: boolean;
|
|
@@ -103,6 +107,10 @@ export declare function useLocationStore(): {
|
|
|
103
107
|
_id: string;
|
|
104
108
|
updatedAt: string;
|
|
105
109
|
} | null | undefined;
|
|
110
|
+
preparationTime?: {
|
|
111
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
112
|
+
value: number;
|
|
113
|
+
} | null | undefined;
|
|
106
114
|
name: string;
|
|
107
115
|
type: "restaurant" | "warehouse";
|
|
108
116
|
acceptRequest: boolean;
|
|
@@ -194,6 +202,10 @@ export declare function useLocationStore(): {
|
|
|
194
202
|
_id: string;
|
|
195
203
|
updatedAt: string;
|
|
196
204
|
} | null | undefined;
|
|
205
|
+
preparationTime?: {
|
|
206
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
207
|
+
value: number;
|
|
208
|
+
} | null | undefined;
|
|
197
209
|
name: string;
|
|
198
210
|
type: "restaurant" | "warehouse";
|
|
199
211
|
acceptRequest: boolean;
|
|
@@ -285,6 +297,10 @@ export declare function useLocationStore(): {
|
|
|
285
297
|
_id: string;
|
|
286
298
|
updatedAt: string;
|
|
287
299
|
} | null | undefined;
|
|
300
|
+
preparationTime?: {
|
|
301
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
302
|
+
value: number;
|
|
303
|
+
} | null | undefined;
|
|
288
304
|
name: string;
|
|
289
305
|
type: "restaurant" | "warehouse";
|
|
290
306
|
acceptRequest: boolean;
|
|
@@ -377,6 +393,10 @@ export declare function useLocationStore(): {
|
|
|
377
393
|
_id: string;
|
|
378
394
|
updatedAt: string;
|
|
379
395
|
} | null | undefined;
|
|
396
|
+
preparationTime?: {
|
|
397
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
398
|
+
value: number;
|
|
399
|
+
} | null | undefined;
|
|
380
400
|
name: string;
|
|
381
401
|
type: "restaurant" | "warehouse";
|
|
382
402
|
acceptRequest: boolean;
|
|
@@ -468,6 +488,10 @@ export declare function useLocationStore(): {
|
|
|
468
488
|
_id: string;
|
|
469
489
|
updatedAt: string;
|
|
470
490
|
} | null | undefined;
|
|
491
|
+
preparationTime?: {
|
|
492
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
493
|
+
value: number;
|
|
494
|
+
} | null | undefined;
|
|
471
495
|
name: string;
|
|
472
496
|
type: "restaurant" | "warehouse";
|
|
473
497
|
acceptRequest: boolean;
|
|
@@ -559,6 +583,10 @@ export declare function useLocationStore(): {
|
|
|
559
583
|
_id: string;
|
|
560
584
|
updatedAt: string;
|
|
561
585
|
} | null | undefined;
|
|
586
|
+
preparationTime?: {
|
|
587
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
588
|
+
value: number;
|
|
589
|
+
} | null | undefined;
|
|
562
590
|
name: string;
|
|
563
591
|
type: "restaurant" | "warehouse";
|
|
564
592
|
acceptRequest: boolean;
|
|
@@ -650,6 +678,10 @@ export declare function useLocationStore(): {
|
|
|
650
678
|
_id: string;
|
|
651
679
|
updatedAt: string;
|
|
652
680
|
} | null | undefined;
|
|
681
|
+
preparationTime?: {
|
|
682
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
683
|
+
value: number;
|
|
684
|
+
} | null | undefined;
|
|
653
685
|
name: string;
|
|
654
686
|
type: "restaurant" | "warehouse";
|
|
655
687
|
acceptRequest: boolean;
|
|
@@ -742,6 +774,10 @@ export declare function useLocationStore(): {
|
|
|
742
774
|
_id: string;
|
|
743
775
|
updatedAt: string;
|
|
744
776
|
} | null | undefined;
|
|
777
|
+
preparationTime?: {
|
|
778
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
779
|
+
value: number;
|
|
780
|
+
} | null | undefined;
|
|
745
781
|
name: string;
|
|
746
782
|
type: "restaurant" | "warehouse";
|
|
747
783
|
acceptRequest: boolean;
|
|
@@ -833,6 +869,10 @@ export declare function useLocationStore(): {
|
|
|
833
869
|
_id: string;
|
|
834
870
|
updatedAt: string;
|
|
835
871
|
} | null | undefined;
|
|
872
|
+
preparationTime?: {
|
|
873
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
874
|
+
value: number;
|
|
875
|
+
} | null | undefined;
|
|
836
876
|
name: string;
|
|
837
877
|
type: "restaurant" | "warehouse";
|
|
838
878
|
acceptRequest: boolean;
|
|
@@ -927,6 +967,10 @@ export declare function useLocationStore(): {
|
|
|
927
967
|
_id: string;
|
|
928
968
|
updatedAt: string;
|
|
929
969
|
} | null | undefined;
|
|
970
|
+
preparationTime?: {
|
|
971
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
972
|
+
value: number;
|
|
973
|
+
} | null | undefined;
|
|
930
974
|
name: string;
|
|
931
975
|
type: "restaurant" | "warehouse";
|
|
932
976
|
acceptRequest: boolean;
|
|
@@ -1018,6 +1062,10 @@ export declare function useLocationStore(): {
|
|
|
1018
1062
|
_id: string;
|
|
1019
1063
|
updatedAt: string;
|
|
1020
1064
|
} | null | undefined;
|
|
1065
|
+
preparationTime?: {
|
|
1066
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1067
|
+
value: number;
|
|
1068
|
+
} | null | undefined;
|
|
1021
1069
|
name: string;
|
|
1022
1070
|
type: "restaurant" | "warehouse";
|
|
1023
1071
|
acceptRequest: boolean;
|
|
@@ -1109,6 +1157,10 @@ export declare function useLocationStore(): {
|
|
|
1109
1157
|
_id: string;
|
|
1110
1158
|
updatedAt: string;
|
|
1111
1159
|
} | null | undefined;
|
|
1160
|
+
preparationTime?: {
|
|
1161
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1162
|
+
value: number;
|
|
1163
|
+
} | null | undefined;
|
|
1112
1164
|
name: string;
|
|
1113
1165
|
type: "restaurant" | "warehouse";
|
|
1114
1166
|
acceptRequest: boolean;
|
|
@@ -1201,6 +1253,10 @@ export declare function useLocationStore(): {
|
|
|
1201
1253
|
_id: string;
|
|
1202
1254
|
updatedAt: string;
|
|
1203
1255
|
} | null | undefined;
|
|
1256
|
+
preparationTime?: {
|
|
1257
|
+
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1258
|
+
value: number;
|
|
1259
|
+
} | null | undefined;
|
|
1204
1260
|
name: string;
|
|
1205
1261
|
type: "restaurant" | "warehouse";
|
|
1206
1262
|
acceptRequest: boolean;
|