@feedmepos/mf-inventory-portal 1.2.5-dev.1 → 1.2.6
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-plHMDZk7.js → App-B2pFxU6Q.js} +1 -1
- package/dist/{ApprovalView-CChHxp4X.js → ApprovalView-MLCuBCV2.js} +49 -50
- package/dist/{BindingsDialog-CU-u0hJx.js → BindingsDialog-CL68c1d8.js} +2 -2
- package/dist/{BindingsPicker-BpbNVNQQ.js → BindingsPicker-C1PiRtoM.js} +1 -1
- package/dist/{BindingsTable-v1QcskCd.js → BindingsTable-B4VyAoNq.js} +1 -1
- package/dist/ClosingDraftView-bLQW2std.js +1739 -0
- package/dist/{ClosingTemplateView-ancesrdQ.js → ClosingTemplateView-CABbUEYU.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DLSzR6HB.js → DeliveryOrderPrintPreview-BybM2hq8.js} +8 -8
- package/dist/{FmAdminBadge-Cb9aT29U.js → FmAdminBadge-iN9PJ5nY.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-1G6EEocg.js +227 -0
- package/dist/{FmMultiselectDialog-SoaYz3_K.js → FmMultiselectDialog-nsl8cwzo.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D5k7Xk3M.js → FmUnitInput.vue_vue_type_script_setup_true_lang-COw0sQLE.js} +15 -15
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-NY7TPnoY.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BYcFWA7r.js} +1 -1
- package/dist/{IngredientGroupView-DmbPHuWG.js → IngredientGroupView-oIBLqCBm.js} +2 -2
- package/dist/{IngredientsView-Bxb_BeyP.js → IngredientsView-DfGezD1v.js} +61 -71
- package/dist/{IntegrationView-B8mnGO1_.js → IntegrationView-jcuZnZ67.js} +84 -84
- package/dist/{InventoryBindingForm-B2tlc3uk.js → InventoryBindingForm-CQlTv-66.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-qi9Mri.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CevEjjIF.js} +3 -3
- package/dist/{InventoryBindingSummary-BUkLwuPN.js → InventoryBindingSummary-DRJn6ORe.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-4W5T_8W7.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CwwxbHy9.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DCtPbVFp.js → PremiumBadge.vue_vue_type_script_setup_true_lang-O2GL2zkX.js} +7 -7
- package/dist/{PublishView-Dkq9VZOG.js → PublishView-CY3Gvt3-.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-C-jyn09w.js → PurchaseOrderPrintPreview-Ck5HQc6r.js} +8 -8
- package/dist/{ReceiveRequestView-V4YNI_Jd.js → ReceiveRequestView-Da8bRntN.js} +79 -82
- package/dist/{RecipeView-Ck3RZRhC.js → RecipeView-B0_ddeT-.js} +3 -3
- package/dist/{StockView-nstUyEXe.js → StockView-BetJ_LZd.js} +7 -7
- package/dist/{SupplierView-eXyZsmHQ.js → SupplierView-DpDWVeHg.js} +831 -862
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-AIFutKLT.js +2494 -0
- package/dist/{TransferTemplateView-DZG_UCWg.js → TransferTemplateView-L0NONcqq.js} +57 -57
- package/dist/{UnitView-COiitpcS.js → UnitView-DSTeDI8u.js} +3 -3
- package/dist/WarehouseView-DGJhvS_u.js +1034 -0
- package/dist/api/inventory.d.ts +0 -8
- package/dist/api/warehouse.d.ts +1 -3
- package/dist/{app-DayXXH4q.js → app-B7cGGPpZ.js} +15279 -15838
- package/dist/app.d.ts +9 -24
- package/dist/app.js +1 -1
- package/dist/{decimal-CFYWiBC2.js → decimal-DYg5n_FX.js} +1 -1
- package/dist/{format-unit-display-DIr9pTFo.js → format-unit-display-DHgB2J8m.js} +21 -21
- package/dist/{index-DLOpJmH-.js → index-C6Wn55RU.js} +1 -1
- package/dist/{index-tQKFc6GI.js → index-C9zJBvXv.js} +1 -1
- package/dist/{stock-DeAkNJnm.js → stock-BcEKPJrt.js} +1 -1
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/inventory.d.ts +0 -1
- package/dist/stores/location.d.ts +1 -57
- package/dist/stores/supplier.d.ts +0 -96
- package/dist/stores/warehouse.d.ts +0 -4
- package/dist/{supplier-C4DAoZrI.js → supplier-DFoYi5-b.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CV7X8z4O.js → use-ingredient-select-dialog-C7mHdhdS.js} +1 -1
- package/dist/{use-inventory-binding-dialog-nuT-Ptlx.js → use-inventory-binding-dialog-CPjMBzhD.js} +1 -1
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +3 -3
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +0 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -60
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -10
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +0 -94
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1 -72
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +0 -8
- package/dist/views/supplier/composables/use-supplier-table.d.ts +0 -4
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -8
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +0 -16
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +0 -48
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -48
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +0 -8
- package/package.json +2 -2
- package/dist/ClosingDraftView-D9HwfK7e.js +0 -1687
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cp0j6Sx0.js +0 -230
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-OCR95cDM.js +0 -2578
- package/dist/WarehouseView-DhBpkfGm.js +0 -1066
- package/dist/api/shipment.d.ts +0 -11
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
|
+
isInactive: {
|
|
371
371
|
title: string;
|
|
372
372
|
preventFromOrder: string;
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
yes: string;
|
|
374
|
+
no: string;
|
|
375
375
|
};
|
|
376
376
|
create: {
|
|
377
377
|
title: string;
|
|
@@ -713,11 +713,6 @@ 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
|
-
};
|
|
721
716
|
supplyItems: {
|
|
722
717
|
title: string;
|
|
723
718
|
addItems: string;
|
|
@@ -1254,11 +1249,11 @@ export declare const i18nMessages: {
|
|
|
1254
1249
|
menu: string;
|
|
1255
1250
|
amount: string;
|
|
1256
1251
|
};
|
|
1257
|
-
|
|
1252
|
+
isInactive: {
|
|
1258
1253
|
title: string;
|
|
1259
1254
|
preventFromOrder: string;
|
|
1260
|
-
|
|
1261
|
-
|
|
1255
|
+
yes: string;
|
|
1256
|
+
no: string;
|
|
1262
1257
|
};
|
|
1263
1258
|
create: {
|
|
1264
1259
|
title: string;
|
|
@@ -1622,11 +1617,6 @@ export declare const i18nMessages: {
|
|
|
1622
1617
|
contact: string;
|
|
1623
1618
|
email: string;
|
|
1624
1619
|
};
|
|
1625
|
-
delivery: {
|
|
1626
|
-
title: string;
|
|
1627
|
-
preparationTime: string;
|
|
1628
|
-
deliveryTime: string;
|
|
1629
|
-
};
|
|
1630
1620
|
create: {
|
|
1631
1621
|
title: string;
|
|
1632
1622
|
success: string;
|
|
@@ -2858,11 +2848,11 @@ export declare const i18nMessages: {
|
|
|
2858
2848
|
menu: string;
|
|
2859
2849
|
amount: string;
|
|
2860
2850
|
};
|
|
2861
|
-
|
|
2851
|
+
isInactive: {
|
|
2862
2852
|
title: string;
|
|
2863
2853
|
preventFromOrder: string;
|
|
2864
|
-
|
|
2865
|
-
|
|
2854
|
+
yes: string;
|
|
2855
|
+
no: string;
|
|
2866
2856
|
};
|
|
2867
2857
|
create: {
|
|
2868
2858
|
title: string;
|
|
@@ -3204,11 +3194,6 @@ export declare const i18nMessages: {
|
|
|
3204
3194
|
};
|
|
3205
3195
|
supplier: {
|
|
3206
3196
|
title: string;
|
|
3207
|
-
delivery: {
|
|
3208
|
-
title: string;
|
|
3209
|
-
preparationTime: string;
|
|
3210
|
-
deliveryTime: string;
|
|
3211
|
-
};
|
|
3212
3197
|
supplyItems: {
|
|
3213
3198
|
title: string;
|
|
3214
3199
|
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, aO as ce, y as ge, b as te, t as G, Z as J, aN as Fe, aF 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-B7cGGPpZ.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 N, 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-DFoYi5-b.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 R = /* @__PURE__ */ ((e) => (e.PURCHASE = "PURCHASE", e.TRANSFER = "TRANSFER", e))(R || {}), 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" ? R.TRANSFER : R.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 !== R.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" ? R.TRANSFER : R.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 = N(null), s = qe(), l = be(), i = N(!1), o = N(!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 = N(new Array()), a = N([]), m = N([]), 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(R).TRANSFER : A(R).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(R).TRANSFER : A(R).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 = N({});
|
|
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 = N({});
|
|
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, Ne = O ? "This template is invalid. Update this template." : F ? ke : void 0, Re = `${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: Ne ?? Re
|
|
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 = N(!1), i = N(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
|
+
const [d] = await Promise.all([
|
|
1137
|
+
o.readTemplates(),
|
|
1138
|
+
f.readInventory()
|
|
1139
|
+
]).delayed(1e3);
|
|
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
|
+
R 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, b2 as p, aU as v, c as m, b as h } from "./app-B7cGGPpZ.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 { b1 as x, b8 as V, b9 as q, ba as Re, bb as cl, bc as sr, bd as Lt, be as fl, bf as $l } from "./app-B7cGGPpZ.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-B7cGGPpZ.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,7 +22,6 @@ 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;
|
|
26
25
|
}
|
|
27
26
|
export declare const useFeatureStore: () => {
|
|
28
27
|
readonly businessDbName: string;
|
|
@@ -49,7 +48,6 @@ export declare const useFeatureStore: () => {
|
|
|
49
48
|
readonly acceptRequireFulfillment: boolean | undefined;
|
|
50
49
|
readonly useOperatePurchaseOrderV2: boolean;
|
|
51
50
|
readonly isNetSuiteInventoryTransferOutEnabled: boolean;
|
|
52
|
-
readonly enableSupplierPreparationTime: boolean;
|
|
53
51
|
init(): Promise<void>;
|
|
54
52
|
awaitFeatureLoaded(callback: () => boolean): Promise<boolean>;
|
|
55
53
|
};
|
|
@@ -5,17 +5,13 @@ export declare const InventoryLocationType: {
|
|
|
5
5
|
restaurant: "restaurant";
|
|
6
6
|
warehouse: "warehouse";
|
|
7
7
|
};
|
|
8
|
-
export type InventoryLocation =
|
|
8
|
+
export type InventoryLocation = FdoInventoryLocation;
|
|
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;
|
|
19
15
|
name: string;
|
|
20
16
|
type: "restaurant" | "warehouse";
|
|
21
17
|
acceptRequest: boolean;
|
|
@@ -107,10 +103,6 @@ export declare function useLocationStore(): {
|
|
|
107
103
|
_id: string;
|
|
108
104
|
updatedAt: string;
|
|
109
105
|
} | null | undefined;
|
|
110
|
-
preparationTime?: {
|
|
111
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
112
|
-
value: number;
|
|
113
|
-
} | null | undefined;
|
|
114
106
|
name: string;
|
|
115
107
|
type: "restaurant" | "warehouse";
|
|
116
108
|
acceptRequest: boolean;
|
|
@@ -202,10 +194,6 @@ export declare function useLocationStore(): {
|
|
|
202
194
|
_id: string;
|
|
203
195
|
updatedAt: string;
|
|
204
196
|
} | null | undefined;
|
|
205
|
-
preparationTime?: {
|
|
206
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
207
|
-
value: number;
|
|
208
|
-
} | null | undefined;
|
|
209
197
|
name: string;
|
|
210
198
|
type: "restaurant" | "warehouse";
|
|
211
199
|
acceptRequest: boolean;
|
|
@@ -297,10 +285,6 @@ export declare function useLocationStore(): {
|
|
|
297
285
|
_id: string;
|
|
298
286
|
updatedAt: string;
|
|
299
287
|
} | null | undefined;
|
|
300
|
-
preparationTime?: {
|
|
301
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
302
|
-
value: number;
|
|
303
|
-
} | null | undefined;
|
|
304
288
|
name: string;
|
|
305
289
|
type: "restaurant" | "warehouse";
|
|
306
290
|
acceptRequest: boolean;
|
|
@@ -393,10 +377,6 @@ export declare function useLocationStore(): {
|
|
|
393
377
|
_id: string;
|
|
394
378
|
updatedAt: string;
|
|
395
379
|
} | null | undefined;
|
|
396
|
-
preparationTime?: {
|
|
397
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
398
|
-
value: number;
|
|
399
|
-
} | null | undefined;
|
|
400
380
|
name: string;
|
|
401
381
|
type: "restaurant" | "warehouse";
|
|
402
382
|
acceptRequest: boolean;
|
|
@@ -488,10 +468,6 @@ export declare function useLocationStore(): {
|
|
|
488
468
|
_id: string;
|
|
489
469
|
updatedAt: string;
|
|
490
470
|
} | null | undefined;
|
|
491
|
-
preparationTime?: {
|
|
492
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
493
|
-
value: number;
|
|
494
|
-
} | null | undefined;
|
|
495
471
|
name: string;
|
|
496
472
|
type: "restaurant" | "warehouse";
|
|
497
473
|
acceptRequest: boolean;
|
|
@@ -583,10 +559,6 @@ export declare function useLocationStore(): {
|
|
|
583
559
|
_id: string;
|
|
584
560
|
updatedAt: string;
|
|
585
561
|
} | null | undefined;
|
|
586
|
-
preparationTime?: {
|
|
587
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
588
|
-
value: number;
|
|
589
|
-
} | null | undefined;
|
|
590
562
|
name: string;
|
|
591
563
|
type: "restaurant" | "warehouse";
|
|
592
564
|
acceptRequest: boolean;
|
|
@@ -678,10 +650,6 @@ export declare function useLocationStore(): {
|
|
|
678
650
|
_id: string;
|
|
679
651
|
updatedAt: string;
|
|
680
652
|
} | null | undefined;
|
|
681
|
-
preparationTime?: {
|
|
682
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
683
|
-
value: number;
|
|
684
|
-
} | null | undefined;
|
|
685
653
|
name: string;
|
|
686
654
|
type: "restaurant" | "warehouse";
|
|
687
655
|
acceptRequest: boolean;
|
|
@@ -774,10 +742,6 @@ export declare function useLocationStore(): {
|
|
|
774
742
|
_id: string;
|
|
775
743
|
updatedAt: string;
|
|
776
744
|
} | null | undefined;
|
|
777
|
-
preparationTime?: {
|
|
778
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
779
|
-
value: number;
|
|
780
|
-
} | null | undefined;
|
|
781
745
|
name: string;
|
|
782
746
|
type: "restaurant" | "warehouse";
|
|
783
747
|
acceptRequest: boolean;
|
|
@@ -869,10 +833,6 @@ export declare function useLocationStore(): {
|
|
|
869
833
|
_id: string;
|
|
870
834
|
updatedAt: string;
|
|
871
835
|
} | null | undefined;
|
|
872
|
-
preparationTime?: {
|
|
873
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
874
|
-
value: number;
|
|
875
|
-
} | null | undefined;
|
|
876
836
|
name: string;
|
|
877
837
|
type: "restaurant" | "warehouse";
|
|
878
838
|
acceptRequest: boolean;
|
|
@@ -967,10 +927,6 @@ export declare function useLocationStore(): {
|
|
|
967
927
|
_id: string;
|
|
968
928
|
updatedAt: string;
|
|
969
929
|
} | null | undefined;
|
|
970
|
-
preparationTime?: {
|
|
971
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
972
|
-
value: number;
|
|
973
|
-
} | null | undefined;
|
|
974
930
|
name: string;
|
|
975
931
|
type: "restaurant" | "warehouse";
|
|
976
932
|
acceptRequest: boolean;
|
|
@@ -1062,10 +1018,6 @@ export declare function useLocationStore(): {
|
|
|
1062
1018
|
_id: string;
|
|
1063
1019
|
updatedAt: string;
|
|
1064
1020
|
} | null | undefined;
|
|
1065
|
-
preparationTime?: {
|
|
1066
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1067
|
-
value: number;
|
|
1068
|
-
} | null | undefined;
|
|
1069
1021
|
name: string;
|
|
1070
1022
|
type: "restaurant" | "warehouse";
|
|
1071
1023
|
acceptRequest: boolean;
|
|
@@ -1157,10 +1109,6 @@ export declare function useLocationStore(): {
|
|
|
1157
1109
|
_id: string;
|
|
1158
1110
|
updatedAt: string;
|
|
1159
1111
|
} | null | undefined;
|
|
1160
|
-
preparationTime?: {
|
|
1161
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1162
|
-
value: number;
|
|
1163
|
-
} | null | undefined;
|
|
1164
1112
|
name: string;
|
|
1165
1113
|
type: "restaurant" | "warehouse";
|
|
1166
1114
|
acceptRequest: boolean;
|
|
@@ -1253,10 +1201,6 @@ export declare function useLocationStore(): {
|
|
|
1253
1201
|
_id: string;
|
|
1254
1202
|
updatedAt: string;
|
|
1255
1203
|
} | null | undefined;
|
|
1256
|
-
preparationTime?: {
|
|
1257
|
-
unit: "day" | "year" | "month" | "week" | "hour" | "minute" | "second" | "millisecond";
|
|
1258
|
-
value: number;
|
|
1259
|
-
} | null | undefined;
|
|
1260
1204
|
name: string;
|
|
1261
1205
|
type: "restaurant" | "warehouse";
|
|
1262
1206
|
acceptRequest: boolean;
|