@feedmepos/mf-inventory-portal 1.2.31 → 1.2.32
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-b34lNT4g.js → App-CYA9SdBE.js} +3 -3
- package/dist/{ApprovalView-CJWjUkLD.js → ApprovalView-BE6fbVVu.js} +5 -5
- package/dist/{BindingsDialog-BpAb7Yed.js → BindingsDialog-CIxhHnp_.js} +2 -2
- package/dist/{BindingsPicker-BP-3FzLh.js → BindingsPicker-DBQaijkW.js} +2 -2
- package/dist/{BindingsTable-DzmlQtl4.js → BindingsTable-ESwPz0i6.js} +3 -3
- package/dist/{ClosingDraftView-D6fO_fMH.js → ClosingDraftView-IVlNBCTz.js} +89 -85
- package/dist/{ClosingHistoryView-C17zVEc1.js → ClosingHistoryView-br-Snk31.js} +3 -3
- package/dist/{ClosingTemplateView-BVMBMjJT.js → ClosingTemplateView-K4YRKCem.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-BJ9JnRMI.js → DeliveryOrderPrintPreview-j8G30DPb.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-l27RtcCZ.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-7_SwtBvD.js} +5 -5
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B_Dttq9A.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CNIXAsVD.js} +2 -2
- package/dist/{FmMultiselectDialog-DqiUpTi2.js → FmMultiselectDialog-CA7fTPHX.js} +1 -1
- package/dist/{FmMultiselectDialog-Dmzafvly.js → FmMultiselectDialog-DAAO-zDO.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DvJLMTsc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DpyAu1Sa.js} +3 -3
- package/dist/{ImportView-uLAag5za.js → ImportView-ChaQacFp.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CXIlMRwW.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-zsCjINbS.js} +1 -1
- package/dist/{IngredientGroupView-BeQ_LkQT.js → IngredientGroupView-TlaErIKU.js} +5 -5
- package/dist/{IngredientsView-CkPu-2rA.js → IngredientsView-BbqoUavX.js} +14 -14
- package/dist/{IntegrationView-BUOHTp71.js → IntegrationView-C9UbRnvN.js} +11 -11
- package/dist/{InventoryBindingForm-CAOvY9ez.js → InventoryBindingForm-I6ekqXEO.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C_5NB4vt.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Z9A3dfL1.js} +4 -4
- package/dist/{InventoryBindingSummary-CwLT55Yp.js → InventoryBindingSummary-DiB9T-H3.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-36DMDwwv.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C9klFvAA.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CJbWwn-y.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CYOBDy43.js} +2 -2
- package/dist/{PublishView-d0ppf8oX.js → PublishView-DktlPUsr.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-_KwkZpb1.js → PurchaseOrderPrintPreview-C36PAZ8S.js} +1 -1
- package/dist/{ReceiveRequestView-B5GtyuVE.js → ReceiveRequestView-DfnU80K-.js} +19 -19
- package/dist/{RecipeView-otjkQETU.js → RecipeView-CbjMupHA.js} +8 -8
- package/dist/{StockView-BduxL8gB.js → StockView-CsP3aOk1.js} +15 -15
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-ChbTPBlO.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C_DOOzNP.js} +1 -1
- package/dist/{SupplierView-Cr_GC962.js → SupplierView-DCcjhtKG.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BX5-zk8F.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DbrZEQlu.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cr9mpjF-.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BPbG9gLo.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dg-75pNX.js → TransferDetails.vue_vue_type_script_setup_true_lang-BxZKAYzR.js} +14 -14
- package/dist/{TransferTemplateView-C6wrMuVW.js → TransferTemplateView-BqVXXaUw.js} +15 -15
- package/dist/{UnitView-BmwTzNFW.js → UnitView-CnR0B9QA.js} +6 -6
- package/dist/{WarehouseView-4oPEWCrF.js → WarehouseView-DYZlY-vs.js} +5 -5
- package/dist/{WastageTemplateView-8sFf9Hge.js → WastageTemplateView-DjpDoyk8.js} +14 -14
- package/dist/{app-DVM1G55m.js → app-Dn2TmFC1.js} +7 -7
- package/dist/app.js +1 -1
- package/dist/{closing-template-CCr1ydAR.js → closing-template-MZE5jGm7.js} +1 -1
- package/dist/{date2-CVonRQ-Z.js → date2-BO4Qnc6Z.js} +1 -1
- package/dist/{dayjs.min-DlvSKMyw.js → dayjs.min-Cv3MYkF5.js} +1 -1
- package/dist/{decimal-BhQ5pw32.js → decimal-0ElvTF5X.js} +2 -2
- package/dist/{defineDeepModel-DlzvXPT6.js → defineDeepModel-yo52Udnj.js} +1 -1
- package/dist/{duplicate-template-f67LGdet.js → duplicate-template--pOE4L_k.js} +1 -1
- package/dist/{feature-CMce8__i.js → feature-CnEBS-5A.js} +2 -2
- package/dist/{format-time-from-id-BNEZ_v2a.js → format-time-from-id-CIOcpLW8.js} +1 -1
- package/dist/{format-unit-display-DjZ3IZnM.js → format-unit-display-lRIlfSwg.js} +10 -10
- package/dist/{import-export.helper-B9EKM8tJ.js → import-export.helper-BcVVS0pv.js} +5 -5
- package/dist/{index-DCEmbTpz.js → index-B94-KOsL.js} +1 -1
- package/dist/{index-QpIYajD3.js → index-BTGtU8AJ.js} +3 -3
- package/dist/{index-DAvHyTSs.js → index-C81u_gK5.js} +1 -1
- package/dist/{lodash-DbQpGXNm.js → lodash-BQvsWdt3.js} +1 -1
- package/dist/{netsuite-B0K2sZbd.js → netsuite-BA3499Kb.js} +6 -4
- package/dist/{purchase-order-template-Cd4-p_bP.js → purchase-order-template-Hi8QkwAl.js} +1 -1
- package/dist/{rules-CGkz1A9e.js → rules-h4fXYIs1.js} +3 -3
- package/dist/{stock-BvjTEhfz.js → stock-BMLn_D1-.js} +1 -1
- package/dist/{stock-q-A_pVjF.js → stock-BvYSvIZm.js} +3 -3
- package/dist/{supplier-C4r3UrLg.js → supplier-oDUHcoN8.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Fec15IeI.js → use-ingredient-select-dialog-CVqGxfeJ.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C6CnLytm.js → use-inventory-binding-dialog-d9MT9hcY.js} +2 -2
- package/dist/{use-template-enabled-locations-2-DdMePMMU.js → use-template-enabled-locations-2-43l3gMUA.js} +2 -2
- package/dist/{vue-i18n-CGkTMPnJ.js → vue-i18n-DmR2XhU0.js} +111 -111
- package/dist/{xlsx-yMnIitX5.js → xlsx-CenPzqZX.js} +1 -1
- package/dist/{xlsx.util-C9t9lGGy.js → xlsx.util-C2Rlp2KT.js} +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as B, onUnmounted as D, defineComponent as w, watch as L, onMounted as M, computed as P, resolveComponent as y, openBlock as R, createElementBlock as A, unref as T, createVNode as g, createElementVNode as v, toDisplayString as x, createBlock as F, createCommentVNode as W } from "vue";
|
|
2
|
-
import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-
|
|
2
|
+
import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-Dn2TmFC1.js";
|
|
3
3
|
import { useCoreStore as U, useI18n as k } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as O, useRoute as j } from "vue-router";
|
|
5
|
-
import { u as H } from "./feature-
|
|
6
|
-
import { u as z } from "./netsuite-
|
|
5
|
+
import { u as H } from "./feature-CnEBS-5A.js";
|
|
6
|
+
import { u as z } from "./netsuite-BA3499Kb.js";
|
|
7
7
|
import { u as Q } from "./useTabStorage-BkIVScW_.js";
|
|
8
8
|
import { u as Y } from "./googlemap-Dm8ERVai.js";
|
|
9
9
|
function q() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as k, createElementVNode as c, normalizeClass as pe, createVNode as i, normalizeStyle as de, toDisplayString as me, createElementBlock as fe, createCommentVNode as ve, Teleport as he, mergeProps as _e } from "vue";
|
|
2
|
-
import { u as De, m as b } from "./app-
|
|
3
|
-
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { d as Z } from "./date2-
|
|
2
|
+
import { u as De, m as b } from "./app-Dn2TmFC1.js";
|
|
3
|
+
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CNIXAsVD.js";
|
|
4
|
+
import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BxZKAYzR.js";
|
|
5
|
+
import { d as Z } from "./date2-BO4Qnc6Z.js";
|
|
6
6
|
import { u as Se, _ as xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
7
|
import { _ as ke, F as O } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
8
8
|
import { useBreakpoints as qe } from "@feedmepos/ui-library";
|
|
9
9
|
import { useI18n as we } from "@feedmepos/mf-common";
|
|
10
10
|
import { N as Pe, H as Ne } from "./app-rgirz_52.js";
|
|
11
|
-
import { u as Te } from "./netsuite-
|
|
11
|
+
import { u as Te } from "./netsuite-BA3499Kb.js";
|
|
12
12
|
const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as d, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, ad as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Z9A3dfL1.js";
|
|
3
|
+
import { a as L, ad as S } from "./app-Dn2TmFC1.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, ad as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-DAAO-zDO.js";
|
|
3
|
+
import { a as x, ad as z } from "./app-Dn2TmFC1.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P, ad as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, ad as R } from "./app-Dn2TmFC1.js";
|
|
3
|
+
import "./dayjs.min-Cv3MYkF5.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-rgirz_52.js";
|
|
8
|
-
import "./lodash-
|
|
8
|
+
import "./lodash-BQvsWdt3.js";
|
|
9
9
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as Ee, ref as Y, computed as V, onMounted as qe, resolveComponent as z, openBlock as w, createElementBlock as E, Fragment as le, createTextVNode as oe, createBlock as ie, withCtx as
|
|
2
|
-
import { F as
|
|
3
|
-
import { useCoreStore as Mt, useI18n as
|
|
1
|
+
import { defineComponent as Ee, ref as Y, computed as V, onMounted as qe, resolveComponent as z, openBlock as w, createElementBlock as E, Fragment as le, createTextVNode as oe, createBlock as ie, withCtx as G, createElementVNode as i, toDisplayString as ae, unref as $, createVNode as _, createCommentVNode as ne, h as A, reactive as Tt, watch as jt, isRef as ft, normalizeClass as Se, renderList as $e, normalizeStyle as pt, Teleport as It, mergeProps as Ut } from "vue";
|
|
2
|
+
import { F as vt, u as Pt, _ as Rt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
|
+
import { useCoreStore as Mt, useI18n as gt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as We, useDialog as Vt, useProxiedModel as Lt, components as be, useBreakpoints as Nt } from "@feedmepos/ui-library";
|
|
5
|
-
import { o as Et, u as ze, E as O, s as M, G as
|
|
6
|
-
import { defineStore as
|
|
7
|
-
import { d as Le, e as
|
|
8
|
-
import { R as Kt, f as Ze, a as Ge, t as Qt, d as Be, o as
|
|
9
|
-
import { b as qt, d as Wt } from "./xlsx.util-
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as Je } from "./stock-
|
|
5
|
+
import { o as Et, u as ze, E as O, s as M, G as yt, H as he, z as Qe, t as Me, c as zt, a as Ht } from "./app-Dn2TmFC1.js";
|
|
6
|
+
import { defineStore as bt, storeToRefs as Ot } from "pinia";
|
|
7
|
+
import { d as Le, e as ht, f as Yt, a as ke } from "./date2-BO4Qnc6Z.js";
|
|
8
|
+
import { R as Kt, f as Ze, a as Ge, t as Qt, d as Be, o as kt, p as xt, m as Dt, l as Gt } from "./rules-h4fXYIs1.js";
|
|
9
|
+
import { b as qt, d as Wt } from "./xlsx.util-C2Rlp2KT.js";
|
|
10
|
+
import { u as At } from "./stock-BvYSvIZm.js";
|
|
11
|
+
import { u as Je } from "./stock-BMLn_D1-.js";
|
|
12
12
|
import { D as dt, R as Pe } from "./row-action.enum-BcW_L_nE.js";
|
|
13
13
|
import { c as Zt, _ as Jt, F as Re } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
14
|
-
import { f as Xt } from "./format-time-from-id-
|
|
15
|
-
import { _ as ea } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as Xt } from "./format-time-from-id-CIOcpLW8.js";
|
|
15
|
+
import { _ as ea } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CNIXAsVD.js";
|
|
16
16
|
import { E as ta } from "./empty-placeholder-wf6-BWE8.js";
|
|
17
17
|
const He = Et((s, o) => {
|
|
18
18
|
function e() {
|
|
@@ -58,7 +58,7 @@ const He = Et((s, o) => {
|
|
|
58
58
|
const o = s, e = Y(), m = He(), x = We(), h = Y(!1), g = Y(null), P = Y(!1), L = V(() => {
|
|
59
59
|
switch (o.action) {
|
|
60
60
|
case O.enum.approveDraft:
|
|
61
|
-
return "
|
|
61
|
+
return "Approve";
|
|
62
62
|
case O.enum.rejectDraft:
|
|
63
63
|
return "Reject";
|
|
64
64
|
case O.enum.markAsFailed:
|
|
@@ -98,7 +98,7 @@ const He = Et((s, o) => {
|
|
|
98
98
|
}
|
|
99
99
|
}), N = V({
|
|
100
100
|
get() {
|
|
101
|
-
return g.value === null ? "" :
|
|
101
|
+
return g.value === null ? "" : ht(g.value);
|
|
102
102
|
},
|
|
103
103
|
set(c) {
|
|
104
104
|
if (c) {
|
|
@@ -150,7 +150,7 @@ const He = Et((s, o) => {
|
|
|
150
150
|
class: "flex flex-col gap-32",
|
|
151
151
|
disabled: h.value
|
|
152
152
|
}, {
|
|
153
|
-
default:
|
|
153
|
+
default: G(() => [
|
|
154
154
|
i("div", aa, [
|
|
155
155
|
u[5] || (u[5] = oe(" You are about to ")),
|
|
156
156
|
i("span", na, ae(L.value), 1),
|
|
@@ -158,7 +158,7 @@ const He = Et((s, o) => {
|
|
|
158
158
|
]),
|
|
159
159
|
c.action === $(O).enum.approveDraft ? (w(), E("div", oa, [
|
|
160
160
|
_(I, { class: "fm-typo-en-body-lg-600" }, {
|
|
161
|
-
default:
|
|
161
|
+
default: G(() => u[7] || (u[7] = [
|
|
162
162
|
oe("Closing Date")
|
|
163
163
|
])),
|
|
164
164
|
_: 1
|
|
@@ -169,7 +169,7 @@ const He = Et((s, o) => {
|
|
|
169
169
|
max: $(Le)(/* @__PURE__ */ new Date())
|
|
170
170
|
}, null, 8, ["modelValue", "max"]),
|
|
171
171
|
_(I, { class: "fm-typo-en-body-lg-600" }, {
|
|
172
|
-
default:
|
|
172
|
+
default: G(() => u[8] || (u[8] = [
|
|
173
173
|
oe("Closing Time")
|
|
174
174
|
])),
|
|
175
175
|
_: 1
|
|
@@ -193,15 +193,19 @@ const He = Et((s, o) => {
|
|
|
193
193
|
variant: "tertiary",
|
|
194
194
|
onClick: u[3] || (u[3] = (K) => c.onCancel())
|
|
195
195
|
}),
|
|
196
|
-
c.action === $(O).enum.approveDraft ? (w(), ie(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
c.action === $(O).enum.approveDraft ? (w(), ie(vt, { key: 0 }, {
|
|
197
|
+
default: G(() => [
|
|
198
|
+
_(B, {
|
|
199
|
+
label: "Approve (Legacy)",
|
|
200
|
+
type: "button",
|
|
201
|
+
onClick: u[4] || (u[4] = (K) => v(!0)),
|
|
202
|
+
variant: R.value,
|
|
203
|
+
loading: h.value,
|
|
204
|
+
disabled: T.value
|
|
205
|
+
}, null, 8, ["variant", "loading", "disabled"])
|
|
206
|
+
]),
|
|
207
|
+
_: 1
|
|
208
|
+
})) : ne("", !0),
|
|
205
209
|
_(B, {
|
|
206
210
|
label: L.value,
|
|
207
211
|
type: "submit",
|
|
@@ -217,7 +221,7 @@ const He = Et((s, o) => {
|
|
|
217
221
|
};
|
|
218
222
|
}
|
|
219
223
|
}), la = Be(0);
|
|
220
|
-
function
|
|
224
|
+
function _t(s) {
|
|
221
225
|
const o = s.measurementsAmounts.groupBy((m) => m.measurement.id), e = s.sku.unit.measurements.reduce((m, x) => {
|
|
222
226
|
var P, L;
|
|
223
227
|
const h = ((L = (P = o.get(x.id)) == null ? void 0 : P[0]) == null ? void 0 : L.amount) ?? la, g = Ze(x.conversion, h);
|
|
@@ -225,10 +229,10 @@ function At(s) {
|
|
|
225
229
|
}, +Ge(s.baseAmount));
|
|
226
230
|
return Qt(e, s.baseAmount.precision);
|
|
227
231
|
}
|
|
228
|
-
const ia = Be(0), ca = Be(100),
|
|
232
|
+
const ia = Be(0), ca = Be(100), wt = "N/A";
|
|
229
233
|
function ua(s, o, e, m, x, h) {
|
|
230
234
|
var Q, Z, S, X, me;
|
|
231
|
-
const g =
|
|
235
|
+
const g = _t(s), P = m ?? g, L = kt(P, o), R = o.amount === 0 ? null : xt(L, {
|
|
232
236
|
...o,
|
|
233
237
|
amount: Math.abs(o.amount)
|
|
234
238
|
}), k = R ? Ze(R, ca) : null, N = ((Q = s.sku.defaultCost) == null ? void 0 : Q.costPerUnit) ?? { amount: 0, precision: 0 }, T = Number(M.toFormatString({ value: N })), v = ((S = (Z = s.sku.defaultCost) == null ? void 0 : Z.measurement) == null ? void 0 : S.conversion) ?? {
|
|
@@ -254,12 +258,12 @@ function ua(s, o, e, m, x, h) {
|
|
|
254
258
|
adjustedAmount: Number(M.toFormatString({ value: L })),
|
|
255
259
|
adjustedDiffPercentage: k ? Number(
|
|
256
260
|
M.toFormatString({
|
|
257
|
-
value:
|
|
261
|
+
value: Dt(k, 2)
|
|
258
262
|
})
|
|
259
263
|
) : null,
|
|
260
264
|
costPerUnit: T,
|
|
261
265
|
opening: u,
|
|
262
|
-
adjustmentTypes: h ??
|
|
266
|
+
adjustmentTypes: h ?? wt,
|
|
263
267
|
varianceQty: b,
|
|
264
268
|
varianceInCost: C,
|
|
265
269
|
stockTakeValue: B,
|
|
@@ -270,7 +274,7 @@ function ma(s) {
|
|
|
270
274
|
return !s.abbrev.toLocaleLowerCase().includes("inactive");
|
|
271
275
|
}
|
|
272
276
|
function da(s) {
|
|
273
|
-
const o =
|
|
277
|
+
const o = St(s);
|
|
274
278
|
return s.reduce(
|
|
275
279
|
(e, m) => {
|
|
276
280
|
var x;
|
|
@@ -279,14 +283,14 @@ function da(s) {
|
|
|
279
283
|
0
|
|
280
284
|
);
|
|
281
285
|
}
|
|
282
|
-
function
|
|
286
|
+
function St(s) {
|
|
283
287
|
return s.groupBy(
|
|
284
288
|
(o) => o.sku._id,
|
|
285
289
|
(o) => o.measurementsAmounts.filter((e) => !e.measurement.abbrev.toLocaleLowerCase().includes("inactive")).map((e) => e.measurement.id)
|
|
286
290
|
);
|
|
287
291
|
}
|
|
288
292
|
function fa(s) {
|
|
289
|
-
const o =
|
|
293
|
+
const o = yt(), e = o === "MYR" ? "RM" : o;
|
|
290
294
|
return [
|
|
291
295
|
{
|
|
292
296
|
id: "code",
|
|
@@ -380,9 +384,9 @@ function pa(s, o, e) {
|
|
|
380
384
|
if (s.adjustmentSnapshot)
|
|
381
385
|
for (const S of s.adjustmentSnapshot) {
|
|
382
386
|
const X = Object.keys(S.adjustmentsByType).join(", ");
|
|
383
|
-
g.set(S.skuId, X ||
|
|
387
|
+
g.set(S.skuId, X || wt);
|
|
384
388
|
}
|
|
385
|
-
const P = [...s.items, ...s.negativeStockItems ?? []], L =
|
|
389
|
+
const P = [...s.items, ...s.negativeStockItems ?? []], L = St(P), R = P.map((S) => {
|
|
386
390
|
var de, xe, De;
|
|
387
391
|
const X = ((de = m.get(S.sku._id)) == null ? void 0 : de[0]) ?? ia, me = ((xe = L == null ? void 0 : L.get(S.sku._id)) == null ? void 0 : xe[0]) ?? [], ee = h.get(S.sku._id), se = g.get(S.sku._id);
|
|
388
392
|
return ua(
|
|
@@ -456,7 +460,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
456
460
|
}
|
|
457
461
|
}), g = V({
|
|
458
462
|
get() {
|
|
459
|
-
return m.value === null ? "" :
|
|
463
|
+
return m.value === null ? "" : ht(m.value);
|
|
460
464
|
},
|
|
461
465
|
set(R) {
|
|
462
466
|
if (R) {
|
|
@@ -477,7 +481,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
477
481
|
class: "flex flex-col gap-32",
|
|
478
482
|
disabled: e.value
|
|
479
483
|
}, {
|
|
480
|
-
default:
|
|
484
|
+
default: G(() => [
|
|
481
485
|
k[5] || (k[5] = i("div", { class: "fm-typo-en-body-lg-400" }, [
|
|
482
486
|
i("p", null, [
|
|
483
487
|
oe(" Performing "),
|
|
@@ -492,7 +496,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
492
496
|
], -1)),
|
|
493
497
|
i("div", va, [
|
|
494
498
|
_(N, { class: "fm-typo-en-body-lg-600" }, {
|
|
495
|
-
default:
|
|
499
|
+
default: G(() => k[3] || (k[3] = [
|
|
496
500
|
oe("Closing Date")
|
|
497
501
|
])),
|
|
498
502
|
_: 1
|
|
@@ -503,7 +507,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
503
507
|
max: $(Le)(/* @__PURE__ */ new Date())
|
|
504
508
|
}, null, 8, ["modelValue", "max"]),
|
|
505
509
|
_(N, { class: "fm-typo-en-body-lg-600" }, {
|
|
506
|
-
default:
|
|
510
|
+
default: G(() => k[4] || (k[4] = [
|
|
507
511
|
oe("Closing Time")
|
|
508
512
|
])),
|
|
509
513
|
_: 1
|
|
@@ -535,10 +539,10 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
535
539
|
], 64));
|
|
536
540
|
};
|
|
537
541
|
}
|
|
538
|
-
}), Ne =
|
|
542
|
+
}), Ne = bt(
|
|
539
543
|
"closingDraftActions",
|
|
540
544
|
function() {
|
|
541
|
-
const o = Vt(), e = We(), m = Je(), x = He(), h =
|
|
545
|
+
const o = Vt(), e = We(), m = Je(), x = He(), h = At(), g = Y(!1), P = Y();
|
|
542
546
|
function L(y) {
|
|
543
547
|
const b = {
|
|
544
548
|
draft: y
|
|
@@ -672,10 +676,10 @@ function Ve(s) {
|
|
|
672
676
|
return "fm-status-badge-complete";
|
|
673
677
|
}
|
|
674
678
|
}
|
|
675
|
-
const ha =
|
|
679
|
+
const ha = bt(
|
|
676
680
|
"closingDraftTable",
|
|
677
681
|
function() {
|
|
678
|
-
const { t: o } =
|
|
682
|
+
const { t: o } = gt(), e = Ne(), m = Y(new Array()), x = Y(!1), h = ze(), g = He();
|
|
679
683
|
async function P() {
|
|
680
684
|
if (m.value = [], !!h._currentLocation) {
|
|
681
685
|
x.value = !0;
|
|
@@ -917,9 +921,9 @@ const ha = yt(
|
|
|
917
921
|
emits: ["submitted", "refresh"],
|
|
918
922
|
setup(s, { emit: o }) {
|
|
919
923
|
const e = s, m = V(() => {
|
|
920
|
-
const r =
|
|
924
|
+
const r = yt();
|
|
921
925
|
return r === "MYR" ? "RM" : r;
|
|
922
|
-
}), x =
|
|
926
|
+
}), x = At(), h = Ne(), g = Lt(e, "show"), P = Y(!1), L = Y(!1), R = Y(!1), k = Y(new Array()), N = Y(new Array()), T = Y([]), v = Je(), c = He(), u = We(), I = Ht(), y = ze(), b = Tt({}), C = V(() => new Set(
|
|
923
927
|
I.skus.filter((r) => {
|
|
924
928
|
var t;
|
|
925
929
|
return b[(t = r.customAttributes) == null ? void 0 : t.tag];
|
|
@@ -938,7 +942,7 @@ const ha = yt(
|
|
|
938
942
|
(t) => t.sku._id,
|
|
939
943
|
(t) => t.measurementsAmounts.filter((d) => !d.measurement.abbrev.toLocaleLowerCase().includes("inactive")).map((d) => d.measurement.id)
|
|
940
944
|
));
|
|
941
|
-
qe(me),
|
|
945
|
+
qe(me), jt(
|
|
942
946
|
() => e.show,
|
|
943
947
|
(r) => {
|
|
944
948
|
r && (ge.value = ve[0], me(), H.value = {
|
|
@@ -1478,7 +1482,7 @@ const ha = yt(
|
|
|
1478
1482
|
const ue = F[W] ?? { amount: 0, precision: 0 }, fe = _e == null ? void 0 : _e[W];
|
|
1479
1483
|
fe && (F[W] = Gt(ue, fe));
|
|
1480
1484
|
}), !l) {
|
|
1481
|
-
const W = Number(M.toFormatString({ value: f })), ue = W - 0, fe = ue * p / U, Ue = 0,
|
|
1485
|
+
const W = Number(M.toFormatString({ value: f })), ue = W - 0, fe = ue * p / U, Ue = 0, Bt = W * p / U;
|
|
1482
1486
|
return {
|
|
1483
1487
|
id: n._id,
|
|
1484
1488
|
code: n.code,
|
|
@@ -1496,19 +1500,19 @@ const ha = yt(
|
|
|
1496
1500
|
varianceQty: ue,
|
|
1497
1501
|
varianceInCost: fe,
|
|
1498
1502
|
stockTakeValue: Ue,
|
|
1499
|
-
systemValue:
|
|
1503
|
+
systemValue: Bt,
|
|
1500
1504
|
adjustmentAmounts: F
|
|
1501
1505
|
};
|
|
1502
1506
|
}
|
|
1503
|
-
const
|
|
1507
|
+
const q = _t(l), J = (ct = (it = N.value) == null ? void 0 : it.find(
|
|
1504
1508
|
(W) => W.id === n._id
|
|
1505
|
-
)) == null ? void 0 : ct.balance, pe =
|
|
1506
|
-
J ??
|
|
1509
|
+
)) == null ? void 0 : ct.balance, pe = kt(
|
|
1510
|
+
J ?? q,
|
|
1507
1511
|
f
|
|
1508
|
-
), Ce = f.amount === 0 ? null :
|
|
1512
|
+
), Ce = f.amount === 0 ? null : xt(pe, {
|
|
1509
1513
|
...f,
|
|
1510
1514
|
amount: Math.abs(f.amount)
|
|
1511
|
-
}), Ie = Ce ? Ze(Ce, X) : null, Oe = Number(M.toFormatString({ value: f })), Ye = Number(M.toFormatString({ value:
|
|
1515
|
+
}), Ie = Ce ? Ze(Ce, X) : null, Oe = Number(M.toFormatString({ value: f })), Ye = Number(M.toFormatString({ value: q })), et = Oe - Ye, Ft = et * p / U, Ct = Ye * p / U, $t = Oe * p / U;
|
|
1512
1516
|
return {
|
|
1513
1517
|
id: n._id,
|
|
1514
1518
|
code: n.code,
|
|
@@ -1525,16 +1529,16 @@ const ha = yt(
|
|
|
1525
1529
|
adjustedAmount: Number(M.toFormatString({ value: pe })),
|
|
1526
1530
|
adjustedDiffPercentage: Ie ? Number(
|
|
1527
1531
|
M.toFormatString({
|
|
1528
|
-
value:
|
|
1532
|
+
value: Dt(Ie, 2)
|
|
1529
1533
|
})
|
|
1530
1534
|
) : null,
|
|
1531
1535
|
isTemplateItem: !r[n._id],
|
|
1532
1536
|
costPerUnit: p,
|
|
1533
1537
|
opening: ce,
|
|
1534
1538
|
varianceQty: et,
|
|
1535
|
-
varianceInCost:
|
|
1536
|
-
stockTakeValue:
|
|
1537
|
-
systemValue:
|
|
1539
|
+
varianceInCost: Ft,
|
|
1540
|
+
stockTakeValue: Ct,
|
|
1541
|
+
systemValue: $t,
|
|
1538
1542
|
adjustmentAmounts: F
|
|
1539
1543
|
};
|
|
1540
1544
|
}).filter((n) => !!(n.isTemplateItem && H.value.templateItem || !n.isTemplateItem && H.value.nonTemplateItem));
|
|
@@ -1664,8 +1668,8 @@ const ha = yt(
|
|
|
1664
1668
|
"onUpdate:modelValue": t[10] || (t[10] = (F) => ft(g) ? g.value = F : null),
|
|
1665
1669
|
header: "Closing details"
|
|
1666
1670
|
}, {
|
|
1667
|
-
"side-sheet-footer":
|
|
1668
|
-
var F,
|
|
1671
|
+
"side-sheet-footer": G(() => {
|
|
1672
|
+
var F, q, J, pe;
|
|
1669
1673
|
return [
|
|
1670
1674
|
i("div", en, [
|
|
1671
1675
|
((F = e.draft) == null ? void 0 : F.status) === $(he).enum.DRAFT ? (w(), E(le, { key: 0 }, [
|
|
@@ -1674,10 +1678,10 @@ const ha = yt(
|
|
|
1674
1678
|
"z-index": 51,
|
|
1675
1679
|
placement: "right"
|
|
1676
1680
|
}, {
|
|
1677
|
-
content:
|
|
1681
|
+
content: G(() => [
|
|
1678
1682
|
oe(ae(Xe.value), 1)
|
|
1679
1683
|
]),
|
|
1680
|
-
default:
|
|
1684
|
+
default: G(() => [
|
|
1681
1685
|
_(l, {
|
|
1682
1686
|
disabled: "",
|
|
1683
1687
|
key: "approve key",
|
|
@@ -1692,14 +1696,14 @@ const ha = yt(
|
|
|
1692
1696
|
onClick: t[6] || (t[6] = () => e.draft && $(h).approveDraft(e.draft, () => B("submitted")))
|
|
1693
1697
|
}))
|
|
1694
1698
|
], 64)) : ne("", !0),
|
|
1695
|
-
((
|
|
1699
|
+
((q = e.draft) == null ? void 0 : q.status) === $(he).enum.DRAFT ? (w(), ie(l, {
|
|
1696
1700
|
key: 1,
|
|
1697
1701
|
label: "Reject",
|
|
1698
1702
|
variant: "destructive",
|
|
1699
1703
|
onClick: t[7] || (t[7] = () => e.draft && $(h).rejectDraft(e.draft, () => B("submitted")))
|
|
1700
1704
|
})) : ne("", !0),
|
|
1701
|
-
(J = e.draft) != null && J.approvedAt && ((pe = e.draft) == null ? void 0 : pe.status) !== $(he).enum.COMPLETED ? (w(), ie(
|
|
1702
|
-
default:
|
|
1705
|
+
(J = e.draft) != null && J.approvedAt && ((pe = e.draft) == null ? void 0 : pe.status) !== $(he).enum.COMPLETED ? (w(), ie(vt, { key: 2 }, {
|
|
1706
|
+
default: G(() => [
|
|
1703
1707
|
_(l, {
|
|
1704
1708
|
label: "Sync",
|
|
1705
1709
|
loading: R.value,
|
|
@@ -1720,7 +1724,7 @@ const ha = yt(
|
|
|
1720
1724
|
])
|
|
1721
1725
|
];
|
|
1722
1726
|
}),
|
|
1723
|
-
default:
|
|
1727
|
+
default: G(() => [
|
|
1724
1728
|
i("div", ka, [
|
|
1725
1729
|
i("div", null, [
|
|
1726
1730
|
_(d, {
|
|
@@ -1734,15 +1738,15 @@ const ha = yt(
|
|
|
1734
1738
|
variant: "outlined",
|
|
1735
1739
|
class: "flex flex-col gap-8 px-12 py-16"
|
|
1736
1740
|
}, {
|
|
1737
|
-
default:
|
|
1738
|
-
var F,
|
|
1741
|
+
default: G(() => {
|
|
1742
|
+
var F, q;
|
|
1739
1743
|
return [
|
|
1740
1744
|
i("div", xa, [
|
|
1741
1745
|
t[11] || (t[11] = i("div", { class: "fm-typo-en-body-lg-600" }, "Closing summary", -1)),
|
|
1742
1746
|
i("div", Da, [
|
|
1743
1747
|
i("div", {
|
|
1744
1748
|
class: Se(["fm-status-badge", $(Ve)(((F = r.draft) == null ? void 0 : F.status) ?? "DRAFT")])
|
|
1745
|
-
}, ae($(Me)(((
|
|
1749
|
+
}, ae($(Me)(((q = r.draft) == null ? void 0 : q.status) ?? "")), 3)
|
|
1746
1750
|
])
|
|
1747
1751
|
]),
|
|
1748
1752
|
_(a),
|
|
@@ -1826,9 +1830,9 @@ const ha = yt(
|
|
|
1826
1830
|
label: `${F}`,
|
|
1827
1831
|
selectable: "",
|
|
1828
1832
|
selected: b[`${F}`],
|
|
1829
|
-
onClick: (
|
|
1833
|
+
onClick: (q) => b[`${F}`] = !b[`${F}`]
|
|
1830
1834
|
}, {
|
|
1831
|
-
default:
|
|
1835
|
+
default: G(() => [
|
|
1832
1836
|
b[`${F}`] ? (w(), ie(j, {
|
|
1833
1837
|
key: 0,
|
|
1834
1838
|
name: "check",
|
|
@@ -1864,15 +1868,15 @@ const ha = yt(
|
|
|
1864
1868
|
], 64)) : ne("", !0),
|
|
1865
1869
|
ge.value.value === "history" ? (w(), E("div", Ra, [
|
|
1866
1870
|
ye.value.length ? (w(), E("div", La, [
|
|
1867
|
-
(w(!0), E(le, null, $e(ye.value, (F,
|
|
1871
|
+
(w(!0), E(le, null, $e(ye.value, (F, q) => (w(), E(le, { key: q }, [
|
|
1868
1872
|
i("div", Na, [
|
|
1869
1873
|
i("div", Ea, [
|
|
1870
1874
|
i("div", za, [
|
|
1871
1875
|
i("div", {
|
|
1872
1876
|
class: Se([
|
|
1873
1877
|
{
|
|
1874
|
-
"bg-fm-color-primary":
|
|
1875
|
-
"bg-white":
|
|
1878
|
+
"bg-fm-color-primary": q !== 0,
|
|
1879
|
+
"bg-white": q === 0
|
|
1876
1880
|
},
|
|
1877
1881
|
"w-[2px] h-full"
|
|
1878
1882
|
])
|
|
@@ -1883,8 +1887,8 @@ const ha = yt(
|
|
|
1883
1887
|
i("div", {
|
|
1884
1888
|
class: Se([
|
|
1885
1889
|
{
|
|
1886
|
-
"bg-fm-color-primary":
|
|
1887
|
-
"bg-white":
|
|
1890
|
+
"bg-fm-color-primary": q < ye.value.length - 1,
|
|
1891
|
+
"bg-white": q >= ye.value.length - 1
|
|
1888
1892
|
},
|
|
1889
1893
|
"w-[2px] h-full"
|
|
1890
1894
|
])
|
|
@@ -1902,8 +1906,8 @@ const ha = yt(
|
|
|
1902
1906
|
i("div", {
|
|
1903
1907
|
class: Se([
|
|
1904
1908
|
{
|
|
1905
|
-
"bg-fm-color-primary":
|
|
1906
|
-
"bg-white":
|
|
1909
|
+
"bg-fm-color-primary": q < ye.value.length - 1,
|
|
1910
|
+
"bg-white": q >= ye.value.length - 1
|
|
1907
1911
|
},
|
|
1908
1912
|
"w-[2px] h-full"
|
|
1909
1913
|
])
|
|
@@ -1915,7 +1919,7 @@ const ha = yt(
|
|
|
1915
1919
|
variant: "outlined",
|
|
1916
1920
|
class: "py-12 px-16"
|
|
1917
1921
|
}, {
|
|
1918
|
-
default:
|
|
1922
|
+
default: G(() => [
|
|
1919
1923
|
i("div", Za, [
|
|
1920
1924
|
(w(!0), E(le, null, $e(F.info, (J, pe) => (w(), E("div", {
|
|
1921
1925
|
key: pe,
|
|
@@ -1959,7 +1963,7 @@ const ha = yt(
|
|
|
1959
1963
|
}), nn = { class: "flex-1 flex flex-col gap-8" }, on = { class: "flex flex-col" }, sn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, rn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ln = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, cn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, Cn = /* @__PURE__ */ Ee({
|
|
1960
1964
|
__name: "ClosingDraftView",
|
|
1961
1965
|
setup(s) {
|
|
1962
|
-
const { t: o } =
|
|
1966
|
+
const { t: o } = gt(), { viewDraft: e } = Ne(), { viewClosingDraftProps: m, viewClosingDraftShow: x } = Ot(Ne()), h = ze(), g = ha(), P = Pt(), { breakpoints: L } = Nt();
|
|
1963
1967
|
h.watchLocation(g.fetchDrafts);
|
|
1964
1968
|
const R = V(() => g.loading), k = Y(""), N = V(() => L.value.xs || L.value.sm), T = V(() => N.value ? 10 : 20);
|
|
1965
1969
|
function v(I) {
|
|
@@ -1992,7 +1996,7 @@ const ha = yt(
|
|
|
1992
1996
|
actions: u.value,
|
|
1993
1997
|
"onClick:action": v
|
|
1994
1998
|
}, {
|
|
1995
|
-
default:
|
|
1999
|
+
default: G(() => [
|
|
1996
2000
|
i("div", {
|
|
1997
2001
|
class: Se([
|
|
1998
2002
|
"flex flex-col gap-8 max-h-full",
|
|
@@ -2017,12 +2021,12 @@ const ha = yt(
|
|
|
2017
2021
|
onRowClick: y[1] || (y[1] = (C) => $(e)(C.original)),
|
|
2018
2022
|
"page-size": T.value
|
|
2019
2023
|
}, {
|
|
2020
|
-
"list-row":
|
|
2024
|
+
"list-row": G((C) => [
|
|
2021
2025
|
_(Jt, {
|
|
2022
2026
|
row: C,
|
|
2023
2027
|
onRowClick: (B) => $(e)(B)
|
|
2024
2028
|
}, {
|
|
2025
|
-
default:
|
|
2029
|
+
default: G((B) => {
|
|
2026
2030
|
var H, K, Q, Z, S, X, me, ee, se, de, xe, De, te, Ae, Te, we, Fe, je, ve, ge;
|
|
2027
2031
|
return [
|
|
2028
2032
|
i("div", nn, [
|
|
@@ -2068,8 +2072,8 @@ const ha = yt(
|
|
|
2068
2072
|
]),
|
|
2069
2073
|
_: 1
|
|
2070
2074
|
}, 8, ["title", "actions"]),
|
|
2071
|
-
(w(), ie(
|
|
2072
|
-
_(an,
|
|
2075
|
+
(w(), ie(It, { to: "body" }, [
|
|
2076
|
+
_(an, Ut($(m), {
|
|
2073
2077
|
show: $(x),
|
|
2074
2078
|
"onUpdate:show": y[2] || (y[2] = (C) => ft(x) ? x.value = C : null),
|
|
2075
2079
|
onSubmitted: y[3] || (y[3] = () => (x.value = !1, $(g).fetchDrafts())),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as z, ref as y, computed as k, resolveComponent as x, openBlock as d, createElementBlock as v, createVNode as f, withModifiers as te, withCtx as R, createElementVNode as s, toDisplayString as c, unref as n, Fragment as K, createTextVNode as M, createBlock as B, createCommentVNode as h, renderList as oe, normalizeClass as le, h as ae, onMounted as ne, Teleport as se } from "vue";
|
|
2
2
|
import { F as ce, _ as ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useI18n as H, useCoreStore as re } from "@feedmepos/mf-common";
|
|
4
|
-
import { B as j, z as D, u as ue } from "./app-
|
|
5
|
-
import { _ as de } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { B as j, z as D, u as ue } from "./app-Dn2TmFC1.js";
|
|
5
|
+
import { _ as de } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CNIXAsVD.js";
|
|
6
6
|
import { useSnackbar as me } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as ve } from "./stock-
|
|
7
|
+
import { u as ve } from "./stock-BMLn_D1-.js";
|
|
8
8
|
const ye = { class: "fm-typo-en-heading-lg-600" }, fe = { class: "flex flex-col gap-16" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "flex flex-col gap-8" }, _e = { class: "fm-typo-en-body-md-600" }, be = { class: "flex flex-col gap-8" }, ke = { class: "fm-typo-en-body-md-600" }, he = { class: "flex items-center gap-8 mb-8" }, xe = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -4,23 +4,23 @@ import { useI18n as W, useCoreStore as de } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialog as pe, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as oe, components as Y, FmAdvancedSort as et, useProxiedModel as tt, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Ve, storeToRefs as Ue } from "pinia";
|
|
6
6
|
import { F as G } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as me } from "./closing-template-
|
|
8
|
-
import { u as fe, c as Ne, a as ve, n as ot } from "./app-
|
|
9
|
-
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-
|
|
7
|
+
import { a as me } from "./closing-template-MZE5jGm7.js";
|
|
8
|
+
import { u as fe, c as Ne, a as ve, n as ot } from "./app-Dn2TmFC1.js";
|
|
9
|
+
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-C2Rlp2KT.js";
|
|
10
10
|
import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
-
import { f as Be, a as le } from "./date2-
|
|
11
|
+
import { f as Be, a as le } from "./date2-BO4Qnc6Z.js";
|
|
12
12
|
import { D as se, R as z } from "./row-action.enum-BcW_L_nE.js";
|
|
13
13
|
import { c as at, F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
14
|
-
import { f as rt } from "./format-time-from-id-
|
|
15
|
-
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as ct } from "./netsuite-
|
|
17
|
-
import { u as mt } from "./duplicate-template
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { R as dt, A as pt } from "./rules-
|
|
20
|
-
import { u as ft } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as vt } from "./defineDeepModel-
|
|
22
|
-
import { u as gt } from "./use-template-enabled-locations-2-
|
|
23
|
-
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as rt } from "./format-time-from-id-CIOcpLW8.js";
|
|
15
|
+
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BPbG9gLo.js";
|
|
16
|
+
import { u as ct } from "./netsuite-BA3499Kb.js";
|
|
17
|
+
import { u as mt } from "./duplicate-template--pOE4L_k.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CNIXAsVD.js";
|
|
19
|
+
import { R as dt, A as pt } from "./rules-h4fXYIs1.js";
|
|
20
|
+
import { u as ft } from "./use-ingredient-select-dialog-CVqGxfeJ.js";
|
|
21
|
+
import { d as vt } from "./defineDeepModel-yo52Udnj.js";
|
|
22
|
+
import { u as gt } from "./use-template-enabled-locations-2-43l3gMUA.js";
|
|
23
|
+
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DbrZEQlu.js";
|
|
24
24
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
25
25
|
const ue = Ve(
|
|
26
26
|
"closingTemplateTable",
|
package/dist/{DeliveryOrderPrintPreview-BJ9JnRMI.js → DeliveryOrderPrintPreview-j8G30DPb.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as _, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as g } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { J as y } from "./app-
|
|
3
|
+
import { J as y } from "./app-Dn2TmFC1.js";
|
|
4
4
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
|
|
6
6
|
key: 0,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { G as g, u as E, K as R, M as B, x as U } from "./app-
|
|
2
|
-
import { a as C, t as D } from "./rules-
|
|
3
|
-
import { u as H } from "./supplier-
|
|
4
|
-
import { P as T } from "./format-unit-display-
|
|
1
|
+
import { G as g, u as E, K as R, M as B, x as U } from "./app-Dn2TmFC1.js";
|
|
2
|
+
import { a as C, t as D } from "./rules-h4fXYIs1.js";
|
|
3
|
+
import { u as H } from "./supplier-oDUHcoN8.js";
|
|
4
|
+
import { P as T } from "./format-unit-display-lRIlfSwg.js";
|
|
5
5
|
import { computed as f, defineComponent as z, mergeModels as x, useModel as j, ref as q, resolveComponent as w, openBlock as L, createElementBlock as O, normalizeStyle as W, createElementVNode as I, createVNode as $, withCtx as K, createBlock as M, createCommentVNode as N, Fragment as J, renderList as Q, unref as V } from "vue";
|
|
6
|
-
import { F as X } from "./FmMultiselectDialog-
|
|
6
|
+
import { F as X } from "./FmMultiselectDialog-DAAO-zDO.js";
|
|
7
7
|
function Y(e, r, a) {
|
|
8
8
|
var o;
|
|
9
9
|
if (!!r.measurement === !!a && ((o = r.measurement) == null ? void 0 : o.id) === a)
|