@feedmepos/mf-inventory-portal 1.2.43-dev.3 → 1.2.44-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-DkzM4M0_.js → App-D6h4PbkJ.js} +3 -3
- package/dist/{ApprovalView-Dd5bg0yE.js → ApprovalView-Bll-QWib.js} +5 -5
- package/dist/{BindingsDialog-FoyqtujI.js → BindingsDialog-cm-tG1Du.js} +2 -2
- package/dist/{BindingsPicker-D-DS3PdA.js → BindingsPicker-Ca0BxJKj.js} +2 -2
- package/dist/{BindingsTable-viPFJCPm.js → BindingsTable-BBNWeq4W.js} +3 -3
- package/dist/{ClosingDraftView-BlaIq6iS.js → ClosingDraftView-r2C27qph.js} +766 -723
- package/dist/ClosingHistoryView-CGV72nOD.js +447 -0
- package/dist/{ClosingTemplateView-Dil7tncI.js → ClosingTemplateView-Xij995aZ.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-zvfi--WO.js → DeliveryOrderPrintPreview-BoBBu5lC.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-_dZiJ1_p.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-SnXudMX4.js} +4 -4
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DBSjX9GC.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ClY0PFyA.js} +2 -2
- package/dist/{FmMultiselectDialog-CEnIfKkK.js → FmMultiselectDialog-BcZpbDMT.js} +2 -2
- package/dist/{FmMultiselectDialog-D0HzUEWj.js → FmMultiselectDialog-C9g5u6Kk.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BG2lia-P.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B-PD6CbF.js} +3 -3
- package/dist/{ImportView-XUXFdNd5.js → ImportView-CzMwJY2A.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DgutuH9i.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DgOrurbQ.js} +1 -1
- package/dist/{IngredientGroupView-7UTiTjiy.js → IngredientGroupView-DBbwP3E6.js} +5 -5
- package/dist/{IngredientsView-BkK-S9zb.js → IngredientsView-jRqkzOTc.js} +14 -14
- package/dist/{IntegrationView-BTXcGlp6.js → IntegrationView-B-_39POT.js} +12 -12
- package/dist/{InventoryBindingForm-Ch3ltUK8.js → InventoryBindingForm-D14aWQqg.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dnv5PN-O.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DtHtGqKw.js} +4 -4
- package/dist/{InventoryBindingSummary-BVKjiIfs.js → InventoryBindingSummary-B7Q-G4Fx.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CbK0JN-7.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CqB7pkKN.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-dv4OBeHd.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BfHSMN6k.js} +2 -2
- package/dist/{PublishView-g_HbS6jK.js → PublishView-C_icogKG.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BReNCrqT.js → PurchaseOrderPrintPreview-BeXqhfRn.js} +1 -1
- package/dist/{ReceiveRequestView-ClT4-xel.js → ReceiveRequestView-COdOrOyg.js} +18 -18
- package/dist/{RecipeView-CtpQ2a0y.js → RecipeView-Desvtm1a.js} +8 -8
- package/dist/{StockView-CEbdj6YL.js → StockView-B1NDBHQh.js} +15 -15
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bofw0-xa.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CbCD3pOQ.js} +1 -1
- package/dist/{SupplierView-DzmEjA3j.js → SupplierView-CB6Gz5HH.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-0A8OWe8S.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-3bruORgT.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-bxporBJ4.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C0Vd0X-5.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-cDwtvgIk.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bnt6-X4t.js} +14 -14
- package/dist/{TransferTemplateView-ySDW6lRS.js → TransferTemplateView-CLeLzBvW.js} +15 -15
- package/dist/{UnitView-Bv91T6ab.js → UnitView-YM302P8g.js} +6 -6
- package/dist/{WarehouseView-kPmRof7c.js → WarehouseView-D69BsVsb.js} +5 -5
- package/dist/WastageTemplateView-DfP43M8-.js +2327 -0
- package/dist/api/stock.d.ts +2 -0
- package/dist/{app-CV3h70p4.js → app-BuvV4n4w.js} +8 -7
- package/dist/app.js +1 -1
- package/dist/{closing-template-BBIWBX0k.js → closing-template-D1NlAV-G.js} +1 -1
- package/dist/{date2-CkCGGaAb.js → date2-CkkGwYSP.js} +1 -1
- package/dist/{dayjs.min-Dd-afiDx.js → dayjs.min-DFvOuCCo.js} +1 -1
- package/dist/{decimal-CS-CxyFz.js → decimal-D1O4-kbG.js} +2 -2
- package/dist/{defineDeepModel-D_bZeRgl.js → defineDeepModel-s0no34Rq.js} +1 -1
- package/dist/{duplicate-template-DPXszoh-.js → duplicate-template-DJceVj9n.js} +1 -1
- package/dist/{feature-B_VTGztb.js → feature-AINxwcz_.js} +255 -257
- package/dist/{format-time-from-id-BmBEi-Jw.js → format-time-from-id-CRiwabgV.js} +1 -1
- package/dist/{format-unit-display-CDKsLgE4.js → format-unit-display-kd8gPWFg.js} +10 -10
- package/dist/{import-export.helper-BLfWO3Yr.js → import-export.helper-CtI9oUN_.js} +5 -5
- package/dist/{index-DU9SwtH5.js → index-Af5Cs7r5.js} +1 -1
- package/dist/{index-BRDlwURl.js → index-BVBQnKv6.js} +3 -3
- package/dist/{index-DAnsA0Mm.js → index-DKTL7IN3.js} +1 -1
- package/dist/{lodash-CYR2InSF.js → lodash-TAQPcjEK.js} +1 -1
- package/dist/{netsuite-CPkzurdj.js → netsuite-CcC4Y1c-.js} +3 -3
- package/dist/{purchase-order-template-DNQiObjY.js → purchase-order-template-B-Xuh5oQ.js} +1 -1
- package/dist/{rules-2RvCSF3q.js → rules-DwOMpBOV.js} +3 -3
- package/dist/{stock-BWBlXMgT.js → stock-DolMZJgQ.js} +3 -3
- package/dist/{stock-RjFuloPL.js → stock-X1ADgvOm.js} +35 -27
- package/dist/{supplier-8UMBjffB.js → supplier-DTzECjWy.js} +2 -2
- package/dist/{use-ingredient-select-dialog-DsrecsJw.js → use-ingredient-select-dialog-D7UCiLcS.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C4bcTum8.js → use-inventory-binding-dialog-uYYsTsLi.js} +2 -2
- package/dist/{use-template-enabled-locations-2-_G7NryCx.js → use-template-enabled-locations-2-l2e5ocrp.js} +2 -2
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +7 -0
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
- package/dist/{vue-i18n-BU7aJfqP.js → vue-i18n-anAmA_v_.js} +448 -448
- package/dist/{xlsx-JEiDJdww.js → xlsx-CtBehOaB.js} +1 -1
- package/dist/{xlsx.util-Cc50iTml.js → xlsx.util-jpTCFIaP.js} +1 -1
- package/package.json +4 -4
- package/dist/ClosingHistoryView-Byb3JIG8.js +0 -391
- package/dist/WastageTemplateView-CZq9b3sy.js +0 -2287
|
@@ -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-
|
|
4
|
+
import { u as ve } from "./purchase-order-template-B-Xuh5oQ.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-
|
|
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-BuvV4n4w.js";
|
|
7
7
|
import { useRouter as Be } from "vue-router";
|
|
8
|
-
import { a as Qe } from "./FmMultiselectDialog-
|
|
8
|
+
import { a as Qe } from "./FmMultiselectDialog-BcZpbDMT.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 "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
|
|
11
|
-
import { f as Ve } from "./format-time-from-id-
|
|
11
|
+
import { f as Ve } from "./format-time-from-id-CRiwabgV.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-
|
|
13
|
+
import { t as B, a as be, d as xe, s as Te, r as qe } from "./xlsx.util-jpTCFIaP.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-
|
|
16
|
-
import { f as Ke } from "./date2-
|
|
17
|
-
import { u as oe } from "./supplier-
|
|
18
|
-
import { u as ae } from "./netsuite-
|
|
19
|
-
import { u as We } from "./duplicate-template-
|
|
15
|
+
import { d as je, a as Q, t as G, g as J, c as ze, B as Ye } from "./rules-DwOMpBOV.js";
|
|
16
|
+
import { f as Ke } from "./date2-CkkGwYSP.js";
|
|
17
|
+
import { u as oe } from "./supplier-DTzECjWy.js";
|
|
18
|
+
import { u as ae } from "./netsuite-CcC4Y1c-.js";
|
|
19
|
+
import { u as We } from "./duplicate-template-DJceVj9n.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-
|
|
2
|
-
import { u as j } from "./feature-
|
|
1
|
+
import { a as w, t as H, i as T, I as P } from "./rules-DwOMpBOV.js";
|
|
2
|
+
import { u as j } from "./feature-AINxwcz_.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-
|
|
5
|
-
import { b as N, d as $, s as _ } from "./xlsx.util-
|
|
6
|
-
import { f as O } from "./date2-
|
|
4
|
+
import { a as y, d as k, n as I, e as S } from "./app-BuvV4n4w.js";
|
|
5
|
+
import { b as N, d as $, s as _ } from "./xlsx.util-jpTCFIaP.js";
|
|
6
|
+
import { f as O } from "./date2-CkkGwYSP.js";
|
|
7
7
|
function R() {
|
|
8
8
|
return {
|
|
9
9
|
low: 6,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x, aj as V, ak as q, al as Ne, a8 as cl, ag as sr, am as Lt, an as fl, ao as $l } from "./app-
|
|
1
|
+
import { x, aj as V, ak as q, al as Ne, a8 as cl, ag as sr, am as Lt, an as fl, ao as $l } from "./app-BuvV4n4w.js";
|
|
2
2
|
function vl(t, e) {
|
|
3
3
|
for (var r = 0; r < e.length; r++) {
|
|
4
4
|
const n = e[r];
|
|
@@ -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, z as h, a as E, D as b } from "./app-
|
|
2
|
+
import { u as p } from "./netsuite-CcC4Y1c-.js";
|
|
3
|
+
import { u as g, z as h, a as E, D as b } from "./app-BuvV4n4w.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-AINxwcz_.js";
|
|
6
6
|
function C() {
|
|
7
7
|
return {
|
|
8
8
|
setting: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as e, Z as Vt, _ as Bt, $ as qt, a0 as Ht, a1 as Ve, a2 as Kt, a3 as Ue, T as qe, a4 as vt, a5 as St, a6 as F, a7 as k, s as A, e as Te, a8 as Pe, B as ee, A as ie, a9 as He, L as j, aa as Tt, N as V, ab as Gt, ac as Yt, ad as Jt, ae as We, af as Qt, o as zt, j as Wt, v as ct, a as Zt, u as Ae } from "./app-
|
|
1
|
+
import { m as e, Z as Vt, _ as Bt, $ as qt, a0 as Ht, a1 as Ve, a2 as Kt, a3 as Ue, T as qe, a4 as vt, a5 as St, a6 as F, a7 as k, s as A, e as Te, a8 as Pe, B as ee, A as ie, a9 as He, L as j, aa as Tt, N as V, ab as Gt, ac as Yt, ad as Jt, ae as We, af as Qt, o as zt, j as Wt, v as ct, a as Zt, u as Ae } from "./app-BuvV4n4w.js";
|
|
2
2
|
import { useCoreStore as Oe } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Xt } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as R } from "./lodash-
|
|
4
|
+
import { _ as R } from "./lodash-TAQPcjEK.js";
|
|
5
5
|
import { defineComponent as en, ref as Ke, computed as Ie, resolveComponent as Re, openBlock as Q, createBlock as tn, withCtx as re, createVNode as oe, createElementVNode as U, createElementBlock as ae, Fragment as Le, createCommentVNode as Me, createTextVNode as z, toDisplayString as x, renderList as nn, unref as lt, h as sn } from "vue";
|
|
6
|
-
import { u as rn } from "./feature-
|
|
6
|
+
import { u as rn } from "./feature-AINxwcz_.js";
|
|
7
7
|
var on = Object.defineProperty, g = (s, a) => on(s, "name", { value: a, configurable: !0 }), De = "MYR";
|
|
8
8
|
e.enum([
|
|
9
9
|
"custbody_fm_do_id",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s } from "./app-
|
|
2
|
-
import "./dayjs.min-
|
|
3
|
-
import { d, b } from "./date2-
|
|
1
|
+
import { s } from "./app-BuvV4n4w.js";
|
|
2
|
+
import "./dayjs.min-DFvOuCCo.js";
|
|
3
|
+
import { d, b } from "./date2-CkkGwYSP.js";
|
|
4
4
|
function P(t, n) {
|
|
5
5
|
return s.convertPrecision({
|
|
6
6
|
value: t,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as i } from "./stock-
|
|
2
|
-
import { a as s, K as p } from "./app-
|
|
1
|
+
import { u as i } from "./stock-X1ADgvOm.js";
|
|
2
|
+
import { a as s, K as p } from "./app-BuvV4n4w.js";
|
|
3
3
|
import { ref as d, computed as k } from "vue";
|
|
4
|
-
import { d as B } from "./rules-
|
|
4
|
+
import { d as B } from "./rules-DwOMpBOV.js";
|
|
5
5
|
function m() {
|
|
6
6
|
return {
|
|
7
7
|
stockBalance: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as d, u as
|
|
2
|
-
import { useCoreStore as
|
|
1
|
+
import { o as d, u as l } from "./app-BuvV4n4w.js";
|
|
2
|
+
import { useCoreStore as m } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $ } from "@feedmepos/ui-library";
|
|
4
|
-
const y = d((o,
|
|
5
|
-
const s =
|
|
6
|
-
return
|
|
4
|
+
const y = d((o, a) => {
|
|
5
|
+
const s = l(), u = m(), i = $();
|
|
6
|
+
return a.onError(async (e) => {
|
|
7
7
|
e.name === "SvcForbiddenError" && (i == null || i.open({
|
|
8
8
|
title: e.title,
|
|
9
9
|
message: e.message,
|
|
@@ -12,68 +12,76 @@ const y = d((o, r) => {
|
|
|
12
12
|
}), {
|
|
13
13
|
async readStockBalance() {
|
|
14
14
|
const e = s.currentLocationDBName, t = `${o.inventoryBackendUrl}/${e}/stock-balance`;
|
|
15
|
-
return await
|
|
15
|
+
return await a.get(t);
|
|
16
16
|
},
|
|
17
17
|
async readSkuBalance() {
|
|
18
|
-
var
|
|
18
|
+
var r;
|
|
19
19
|
const e = s.currentLocationDBName, t = `${o.inventoryBackendUrl}/${e}/sku/balance`;
|
|
20
|
-
return (((
|
|
20
|
+
return (((r = u.currentBusiness.value) == null ? void 0 : r.menuVersion) ?? "") === "v3" ? await a.get(t) : await a.get(`${t}?useInventoryDoc=true`);
|
|
21
21
|
},
|
|
22
22
|
async readSingleAdjustment(e) {
|
|
23
23
|
const t = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${t}/adjustment`;
|
|
24
|
-
return await
|
|
24
|
+
return await a.get(`${n}?adjustmentId=${e}`);
|
|
25
25
|
},
|
|
26
26
|
async readStockAdjustment(e, t, n) {
|
|
27
|
-
const
|
|
28
|
-
return await
|
|
27
|
+
const r = s.currentLocationDBName, c = `${o.inventoryBackendUrl}/${r}/sku`;
|
|
28
|
+
return await a.get(`${c}?skuId=${e}&start=${t}&end=${n}`);
|
|
29
29
|
},
|
|
30
30
|
async readAdjustmentById(e) {
|
|
31
31
|
const t = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${t}/adjustment`;
|
|
32
|
-
return await
|
|
32
|
+
return await a.get(`${n}?adjustmentId=${e}`);
|
|
33
33
|
},
|
|
34
34
|
async convertSku(e) {
|
|
35
35
|
var c;
|
|
36
36
|
const t = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${t}/sku/convert`;
|
|
37
|
-
return (((c = u.currentBusiness.value) == null ? void 0 : c.menuVersion) ?? "") === "v3" ? await
|
|
37
|
+
return (((c = u.currentBusiness.value) == null ? void 0 : c.menuVersion) ?? "") === "v3" ? await a.post(n, e) : await a.post(`${n}?useInventoryDoc=true`, e);
|
|
38
38
|
},
|
|
39
39
|
async adjustSku(e) {
|
|
40
40
|
var c;
|
|
41
41
|
const t = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${t}/sku/adjust`;
|
|
42
|
-
return (((c = u.currentBusiness.value) == null ? void 0 : c.menuVersion) ?? "") === "v3" ? await
|
|
42
|
+
return (((c = u.currentBusiness.value) == null ? void 0 : c.menuVersion) ?? "") === "v3" ? await a.post(n, e) : await a.post(`${n}?useInventoryDoc=true`, e);
|
|
43
43
|
},
|
|
44
44
|
async revertWastageAdjustment(e) {
|
|
45
45
|
const t = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${t}/sku/revert-wastage-adjustment`;
|
|
46
|
-
return await
|
|
46
|
+
return await a.post(n, e);
|
|
47
47
|
},
|
|
48
48
|
recalculation: {
|
|
49
49
|
getRecalculateAbility() {
|
|
50
|
-
var
|
|
51
|
-
const t = `business_${(
|
|
52
|
-
return
|
|
50
|
+
var r;
|
|
51
|
+
const t = `business_${(r = u.currentBusiness.value) == null ? void 0 : r._id}`, n = `${o.inventoryBackendUrl}/${t}/stock/operations/recalculate`;
|
|
52
|
+
return a.get(n);
|
|
53
53
|
},
|
|
54
54
|
startRecalculateTask() {
|
|
55
|
-
var
|
|
56
|
-
const t = `business_${(
|
|
57
|
-
return
|
|
55
|
+
var r;
|
|
56
|
+
const t = `business_${(r = u.currentBusiness.value) == null ? void 0 : r._id}`, n = `${o.inventoryBackendUrl}/${t}/stock/operations/recalculate?refundFromPreviousAdjustment=true`;
|
|
57
|
+
return a.post(n);
|
|
58
58
|
},
|
|
59
59
|
refreshCurrentBalances() {
|
|
60
60
|
const e = s.currentLocationDBName, t = `${o.inventoryBackendUrl}/${e}/stock/operations/recalculate/refresh-current-balances`;
|
|
61
|
-
return
|
|
61
|
+
return a.post(t);
|
|
62
62
|
},
|
|
63
63
|
scheduleCalculateStockSnapshotAtDate(e, t) {
|
|
64
|
-
const n = s.currentLocationDBName,
|
|
65
|
-
return
|
|
64
|
+
const n = s.currentLocationDBName, r = `${o.inventoryBackendUrl}/${n}/stock/operations/recalculate/schedule/calculate-at-date?effectiveAt=${encodeURIComponent(e)}&closingDraftId=${encodeURIComponent(t)}`;
|
|
65
|
+
return a.get(r);
|
|
66
|
+
},
|
|
67
|
+
scheduleInvalidateClosingDraftCache(e) {
|
|
68
|
+
const t = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${t}/stock/operations/recalculate/schedule/invalidate-closing-draft-cache`;
|
|
69
|
+
return a.post(n, { closingDraftIds: e });
|
|
66
70
|
},
|
|
67
71
|
recalculationRequests() {
|
|
68
72
|
const e = s.currentLocationDBName, t = `${o.inventoryBackendUrl}/${e}/stock/operations/recalculate/recalculation/requests`;
|
|
69
|
-
return
|
|
73
|
+
return a.get(t);
|
|
70
74
|
},
|
|
71
75
|
scheduleRecalculation(e, t) {
|
|
72
|
-
const n = s.currentLocationDBName,
|
|
73
|
-
return
|
|
76
|
+
const n = s.currentLocationDBName, r = `${o.inventoryBackendUrl}/${n}/stock/operations/recalculate/schedule/recalculation`;
|
|
77
|
+
return a.post(r, {
|
|
74
78
|
openingId: e,
|
|
75
79
|
untilDate: t
|
|
76
80
|
});
|
|
81
|
+
},
|
|
82
|
+
getAffectedClosingDrafts(e, t) {
|
|
83
|
+
const n = s.currentLocationDBName, r = `${o.inventoryBackendUrl}/${n}/closing-draft/recalculation/affected-closing-drafts?openingId=${encodeURIComponent(e)}&untilDate=${encodeURIComponent(t)}`;
|
|
84
|
+
return a.get(r);
|
|
77
85
|
}
|
|
78
86
|
}
|
|
79
87
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as b, u, n as v, p as w, q as $ } from "./app-
|
|
2
|
-
import { u as S } from "./feature-
|
|
1
|
+
import { o as b, u, n as v, p as w, q as $ } from "./app-BuvV4n4w.js";
|
|
2
|
+
import { u as S } from "./feature-AINxwcz_.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";
|
package/dist/{use-ingredient-select-dialog-DsrecsJw.js → use-ingredient-select-dialog-D7UCiLcS.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as y } from "pinia";
|
|
2
|
-
import { a as S } from "./app-
|
|
3
|
-
import { a as b } from "./FmMultiselectDialog-
|
|
2
|
+
import { a as S } from "./app-BuvV4n4w.js";
|
|
3
|
+
import { a as b } from "./FmMultiselectDialog-BcZpbDMT.js";
|
|
4
4
|
import { useDialog as A } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
6
6
|
const B = y(
|
package/dist/{use-inventory-binding-dialog-C4bcTum8.js → use-inventory-binding-dialog-uYYsTsLi.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as g } from "./FmMultiselectDialog-
|
|
2
|
-
import { a as P } from "./app-
|
|
1
|
+
import { a as g } from "./FmMultiselectDialog-BcZpbDMT.js";
|
|
2
|
+
import { a as P } from "./app-BuvV4n4w.js";
|
|
3
3
|
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
function A() {
|
|
5
5
|
const u = P(), _ = E();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
-
import { u as S } from "./app-
|
|
1
|
+
import { a as A } from "./FmMultiselectDialog-BcZpbDMT.js";
|
|
2
|
+
import { u as S } from "./app-BuvV4n4w.js";
|
|
3
3
|
import { useI18n as v, useCoreStore as m, useCustomAttributes as w } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as _, components as d } from "@feedmepos/ui-library";
|
|
5
5
|
import { computed as r, h as c } from "vue";
|
package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts
CHANGED
|
@@ -17,4 +17,11 @@ export declare function useAdjustmentTemplateItems(controller: {
|
|
|
17
17
|
name: string;
|
|
18
18
|
type: "menu" | "recipe" | "sku";
|
|
19
19
|
}>[]>;
|
|
20
|
+
missingSKUs: import("vue").ComputedRef<{
|
|
21
|
+
code?: string | null | undefined;
|
|
22
|
+
disabledMeasurements?: string[] | null | undefined;
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
type: "menu" | "recipe" | "sku";
|
|
26
|
+
}[]>;
|
|
20
27
|
};
|
|
@@ -10,6 +10,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
|
|
|
10
10
|
cloneDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
|
|
11
11
|
viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
|
|
12
12
|
viewClosingDraftProps: import("vue").Ref<any, any>;
|
|
13
|
+
invalidateDraftCache: (draft: FdoClosingDraft) => Promise<void>;
|
|
13
14
|
}, "viewClosingDraftShow" | "viewClosingDraftProps">>, Pick<{
|
|
14
15
|
viewDraft: (draft: FdoClosingDraft) => void;
|
|
15
16
|
closeDraftDialog: () => void;
|
|
@@ -22,6 +23,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
|
|
|
22
23
|
cloneDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
|
|
23
24
|
viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
|
|
24
25
|
viewClosingDraftProps: import("vue").Ref<any, any>;
|
|
26
|
+
invalidateDraftCache: (draft: FdoClosingDraft) => Promise<void>;
|
|
25
27
|
}, never>, Pick<{
|
|
26
28
|
viewDraft: (draft: FdoClosingDraft) => void;
|
|
27
29
|
closeDraftDialog: () => void;
|
|
@@ -34,4 +36,5 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
|
|
|
34
36
|
cloneDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
|
|
35
37
|
viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
|
|
36
38
|
viewClosingDraftProps: import("vue").Ref<any, any>;
|
|
37
|
-
|
|
39
|
+
invalidateDraftCache: (draft: FdoClosingDraft) => Promise<void>;
|
|
40
|
+
}, "approveDraft" | "rejectDraft" | "markAsFailed" | "viewDraft" | "closeDraftDialog" | "syncDraft" | "exportDraft" | "refreshBalance" | "cloneDraft" | "invalidateDraftCache">>;
|