@feedmepos/mf-inventory-portal 1.0.36-dev.7 → 1.0.37-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-Cw7dAyRr.js → App-DomXC0uh.js} +46 -47
- package/dist/{ApprovalView-uzxVamAD.js → ApprovalView-DnINEwhh.js} +20 -20
- package/dist/{BindingsDialog-CjAyz7qd.js → BindingsDialog-MstJl2hJ.js} +10 -10
- package/dist/{BindingsPicker-VWQEClDc.js → BindingsPicker-BCgoeZK5.js} +1 -1
- package/dist/{BindingsTable-D_AidNg-.js → BindingsTable-knJs1DaE.js} +4 -4
- package/dist/{ClosingDraftView-DnPQE4xl.js → ClosingDraftView-Cg4siKrJ.js} +27 -27
- package/dist/{ClosingTemplateView-BzeUoP0S.js → ClosingTemplateView-D7nxxW1T.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CQBfbvjK.js → DeliveryOrderPrintPreview-DUqWxzpS.js} +4 -4
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C5iYx065.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DMeIIyKI.js} +11 -11
- package/dist/{FmMultiselectDialog-DLZju68a.js → FmMultiselectDialog-H6rOzolY.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-elcx6AO6.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BAk4KHnz.js} +31 -31
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMmGsyfI.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-SxPkPzU1.js} +1 -1
- package/dist/{IngredientGroupView-bFYU22r_.js → IngredientGroupView-CAA69KE_.js} +21 -21
- package/dist/{IngredientsView-BrfeKO6V.js → IngredientsView-BYhDmhQb.js} +42 -43
- package/dist/IntegrationView-CGBFyLWN.js +3303 -0
- package/dist/{InventoryBindingForm-DrNO6vLb.js → InventoryBindingForm-X-CFcWEY.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DU_Nt6VM.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CwV5nKPo.js} +18 -18
- package/dist/{InventoryBindingSummary-BztWC0Gi.js → InventoryBindingSummary-Cch1pODC.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-OvRfk02N.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Uc6h5Apn.js} +4 -4
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BsbrYUky.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BcWa_Dww.js} +10 -10
- package/dist/{PublishView-BwmvDibM.js → PublishView-DCAdzucX.js} +19 -19
- package/dist/{PurchaseOrderPrintPreview-DRo0ctOc.js → PurchaseOrderPrintPreview-IDiFQ15P.js} +12 -12
- package/dist/{ReceiveRequestView-yb4E_Dg6.js → ReceiveRequestView-7eslFHYc.js} +106 -107
- package/dist/{RecipeView-Dyf9kDoR.js → RecipeView-DOLJ5Gsx.js} +38 -39
- package/dist/{StockView-Cg-KD9qT.js → StockView-vCgmnyKT.js} +68 -69
- package/dist/{SupplierView-BtVTg_Ht.js → SupplierView-B6xdSB6T.js} +11 -12
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-lNmQ3zTi.js → TransferDetails.vue_vue_type_script_setup_true_lang-DrfHulTL.js} +105 -106
- package/dist/{TransferTemplateView-AUp2tI1x.js → TransferTemplateView-g1V3JX-5.js} +143 -144
- package/dist/{UnitView-BgbQjCfN.js → UnitView-BD28XnQL.js} +19 -19
- package/dist/{WarehouseView-BedfDS6s.js → WarehouseView-Cjgl43Xz.js} +14 -14
- package/dist/api/netsuite.d.ts +2 -0
- package/dist/app-dN4odAZ8.js +124833 -0
- package/dist/app.js +6 -6
- package/dist/{decimal-uKQOh7Qw.js → decimal-Blq-Ws2M.js} +1 -1
- package/dist/{format-unit-display-EMi6Weg0.js → format-unit-display-CzANmeBd.js} +13 -13
- package/dist/{index-B4jwhkHY.js → index-61_R9xfw.js} +3 -4
- package/dist/{index-BN_lVBL8.js → index-B8dsKHa4.js} +1 -1
- package/dist/{stock-SaEl13YM.js → stock-D7E6dj7b.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +1 -0
- package/dist/{supplier-hdrIxTLp.js → supplier-UeD3tjJh.js} +25 -26
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B7XYGX1J.js → use-ingredient-select-dialog-CydPG1Ol.js} +1 -1
- package/dist/{use-inventory-binding-dialog-t7XQb2UV.js → use-inventory-binding-dialog-DzRlrnI6.js} +1 -1
- package/dist/views/integration/components/netsuite/InventoryTransferOutTable.vue.d.ts +2 -0
- package/dist/{vue-i18n-DBsdCMy_.js → vue-i18n-D64xeCoR.js} +285 -285
- package/package.json +1 -1
- package/dist/IntegrationView-KlnDvvRE.js +0 -6531
- package/dist/app-nDgEuY-Q.js +0 -102338
- package/dist/feature-_ggdK-7_.js +0 -19100
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ref as U, onUnmounted as F, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as
|
|
2
|
-
import { u as M, a as D, b as H, R as e, g as s,
|
|
3
|
-
import { useCoreStore as A, useI18n as
|
|
1
|
+
import { ref as U, onUnmounted as F, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as d, toDisplayString as G, createBlock as x, createCommentVNode as k } from "vue";
|
|
2
|
+
import { u as M, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-dN4odAZ8.js";
|
|
3
|
+
import { useCoreStore as A, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as L, useRoute as K } from "vue-router";
|
|
5
|
-
import { u as O } from "./feature-_ggdK-7_.js";
|
|
6
5
|
import { u as $ } from "./useTabStorage-BkIVScW_.js";
|
|
7
6
|
import { u as Q } from "./googlemap-Dm8ERVai.js";
|
|
8
7
|
import "./array-Ca8T3f_G.js";
|
|
@@ -41,19 +40,19 @@ const q = {
|
|
|
41
40
|
}, X = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Y = { class: "fm-typo-en-title-lg-600" }, Z = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ee = { class: "flex gap-16" }, te = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, oe = { href: "https://feedme.ai/form" }, ne = /* @__PURE__ */ h({
|
|
42
41
|
__name: "InventoryView",
|
|
43
42
|
setup(l) {
|
|
44
|
-
const n = M(), i = D(), u = H(),
|
|
43
|
+
const n = M(), i = D(), u = H(), r = A(), c = L(), o = z(), T = B(), { t: p } = O();
|
|
45
44
|
P(
|
|
46
|
-
[() =>
|
|
47
|
-
([t,
|
|
48
|
-
f(t,
|
|
45
|
+
[() => r.sessionUser.value, () => r.currentBusiness.value],
|
|
46
|
+
([t, a]) => {
|
|
47
|
+
f(t, a);
|
|
49
48
|
}
|
|
50
49
|
), w(async () => {
|
|
51
|
-
await T.init(), await
|
|
52
|
-
const t =
|
|
53
|
-
f(t,
|
|
50
|
+
await T.init(), await r.readBusinesses();
|
|
51
|
+
const t = r.sessionUser.value, a = r.currentBusiness.value;
|
|
52
|
+
f(t, a);
|
|
54
53
|
});
|
|
55
|
-
function f(t,
|
|
56
|
-
!t || !
|
|
54
|
+
function f(t, a) {
|
|
55
|
+
!t || !a || g();
|
|
57
56
|
}
|
|
58
57
|
async function g() {
|
|
59
58
|
return await n.init(), await u.readSetting().catch((t) => {
|
|
@@ -61,31 +60,31 @@ const q = {
|
|
|
61
60
|
}), await i.init();
|
|
62
61
|
}
|
|
63
62
|
const y = R(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? T.enablePoTemplate : c.currentRoute.value.name === e.INGREDIENT_GROUP ? T.enableIngredientGroup : !0);
|
|
64
|
-
return (t,
|
|
63
|
+
return (t, a) => {
|
|
65
64
|
const m = b("FmSpacer"), N = b("FmCircularProgress"), C = b("FmButton"), V = b("RouterView");
|
|
66
65
|
return S(), I("div", null, [
|
|
67
66
|
v(o).isLoading ? (S(), I("div", q, [
|
|
68
67
|
_(m),
|
|
69
|
-
|
|
68
|
+
d("div", null, [
|
|
70
69
|
_(N, { size: "xl" })
|
|
71
70
|
]),
|
|
72
|
-
|
|
71
|
+
a[0] || (a[0] = d("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
73
72
|
_(m)
|
|
74
|
-
])) : y.value ? v(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
])) : y.value ? v(r).sessionUser.value ? (S(), x(V, { key: 2 })) : k("", !0) : (S(), I("div", J, [
|
|
74
|
+
d("div", X, [
|
|
75
|
+
d("div", Y, G(v(p)("inventory.common.proPlan.title")), 1),
|
|
76
|
+
d("div", Z, G(v(p)("inventory.common.proPlan.subtitle")), 1)
|
|
78
77
|
]),
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
d("div", ee, [
|
|
79
|
+
d("a", te, [
|
|
81
80
|
_(C, {
|
|
82
|
-
label: v(
|
|
81
|
+
label: v(p)("inventory.common.proPlan.comparePlans"),
|
|
83
82
|
variant: "secondary"
|
|
84
83
|
}, null, 8, ["label"])
|
|
85
84
|
]),
|
|
86
|
-
|
|
85
|
+
d("a", oe, [
|
|
87
86
|
_(C, {
|
|
88
|
-
label: v(
|
|
87
|
+
label: v(p)("inventory.common.proPlan.callUs"),
|
|
89
88
|
"prepend-icon": "call"
|
|
90
89
|
}, null, 8, ["label"])
|
|
91
90
|
])
|
|
@@ -94,15 +93,15 @@ const q = {
|
|
|
94
93
|
]);
|
|
95
94
|
};
|
|
96
95
|
}
|
|
97
|
-
}),
|
|
96
|
+
}), ae = { class: "h-full flex flex-col overflow-auto py-16" }, re = /* @__PURE__ */ h({
|
|
98
97
|
__name: "NavigationTab",
|
|
99
98
|
setup(l) {
|
|
100
|
-
const n = K(), i = L(), u = A(),
|
|
101
|
-
P([() => u.currentBusiness.value, () => n.name], ([t,
|
|
102
|
-
(t == null ? void 0 : t.menuVersion) === "v3" && (
|
|
99
|
+
const n = K(), i = L(), u = A(), r = B(), c = $(), { t: o } = O();
|
|
100
|
+
P([() => u.currentBusiness.value, () => n.name], ([t, a]) => {
|
|
101
|
+
(t == null ? void 0 : t.menuVersion) === "v3" && (a === e.INGREDIENTS || a === e.RECIPE || a === e.UNIT) && i.push({ name: e.STOCK });
|
|
103
102
|
});
|
|
104
103
|
const T = R(() => {
|
|
105
|
-
var
|
|
104
|
+
var a;
|
|
106
105
|
const t = [
|
|
107
106
|
{
|
|
108
107
|
label: s(e.STOCK, o),
|
|
@@ -112,7 +111,7 @@ const q = {
|
|
|
112
111
|
label: o("inventory.stock.stock_balance.title"),
|
|
113
112
|
value: e.STOCK
|
|
114
113
|
},
|
|
115
|
-
...
|
|
114
|
+
...r.enableWastageTemplate ? [
|
|
116
115
|
{
|
|
117
116
|
label: s(e.WASTAGE_TEMPLATE, o),
|
|
118
117
|
value: e.WASTAGE_TEMPLATE
|
|
@@ -120,7 +119,7 @@ const q = {
|
|
|
120
119
|
] : []
|
|
121
120
|
]
|
|
122
121
|
},
|
|
123
|
-
...
|
|
122
|
+
...r.enableClosingTemplate ? [
|
|
124
123
|
{
|
|
125
124
|
label: "Closing",
|
|
126
125
|
children: [
|
|
@@ -140,7 +139,7 @@ const q = {
|
|
|
140
139
|
// icon: 'grocery',
|
|
141
140
|
value: e.INGREDIENTS
|
|
142
141
|
},
|
|
143
|
-
...
|
|
142
|
+
...r.enableIngredientGroup ? [
|
|
144
143
|
{
|
|
145
144
|
label: s(e.INGREDIENT_GROUP, o),
|
|
146
145
|
// icon: 'grocery',
|
|
@@ -169,7 +168,7 @@ const q = {
|
|
|
169
168
|
label: s(e.APPROVAL, o),
|
|
170
169
|
value: e.APPROVAL
|
|
171
170
|
},
|
|
172
|
-
...
|
|
171
|
+
...r.enablePoTemplate ? [
|
|
173
172
|
{
|
|
174
173
|
label: s(e.TRANSFER_TEMPLATE, o),
|
|
175
174
|
value: e.TRANSFER_TEMPLATE
|
|
@@ -197,10 +196,10 @@ const q = {
|
|
|
197
196
|
value: e.INTEGRATION
|
|
198
197
|
}
|
|
199
198
|
];
|
|
200
|
-
return ((
|
|
199
|
+
return ((a = u.currentBusiness.value) == null ? void 0 : a.menuVersion) === "v3" ? t.filter(
|
|
201
200
|
(m) => m.value !== e.INGREDIENTS && m.value !== e.RECIPE && m.value !== e.UNIT && m.value !== e.PUBLISH
|
|
202
201
|
) : t;
|
|
203
|
-
}),
|
|
202
|
+
}), p = R({
|
|
204
203
|
get() {
|
|
205
204
|
if (n.name)
|
|
206
205
|
return String(n.name);
|
|
@@ -225,12 +224,12 @@ const q = {
|
|
|
225
224
|
g.value = !1, setTimeout(() => {
|
|
226
225
|
y.value = !c.getItem(f.value);
|
|
227
226
|
}, 2e3);
|
|
228
|
-
}), (t,
|
|
227
|
+
}), (t, a) => {
|
|
229
228
|
const m = b("FmCollapsibleTabs");
|
|
230
|
-
return S(), I("div",
|
|
229
|
+
return S(), I("div", ae, [
|
|
231
230
|
_(m, {
|
|
232
|
-
modelValue:
|
|
233
|
-
"onUpdate:modelValue":
|
|
231
|
+
modelValue: p.value,
|
|
232
|
+
"onUpdate:modelValue": a[0] || (a[0] = (N) => p.value = N),
|
|
234
233
|
items: T.value
|
|
235
234
|
}, null, 8, ["modelValue", "items"])
|
|
236
235
|
]);
|
|
@@ -239,14 +238,14 @@ const q = {
|
|
|
239
238
|
});
|
|
240
239
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
241
240
|
let l, n;
|
|
242
|
-
return { promise: new Promise((u,
|
|
243
|
-
l = u, n =
|
|
241
|
+
return { promise: new Promise((u, r) => {
|
|
242
|
+
l = u, n = r;
|
|
244
243
|
}), resolve: l, reject: n };
|
|
245
244
|
});
|
|
246
245
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
|
|
247
246
|
return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
|
|
248
247
|
});
|
|
249
|
-
const
|
|
248
|
+
const pe = /* @__PURE__ */ h({
|
|
250
249
|
__name: "App",
|
|
251
250
|
setup(l) {
|
|
252
251
|
const n = A(), i = Q(), u = W();
|
|
@@ -255,13 +254,13 @@ const fe = /* @__PURE__ */ h({
|
|
|
255
254
|
n.setEmbedded(!0), document.body.classList.add("print-mode");
|
|
256
255
|
return;
|
|
257
256
|
}
|
|
258
|
-
n.registerSidebarComponent(
|
|
257
|
+
n.registerSidebarComponent(re), i.initGoogleMap(u.appApi.googleMap).catch(() => {
|
|
259
258
|
console.error("Google map cannot be loaded");
|
|
260
259
|
});
|
|
261
260
|
}), P([() => n.currentCountry.value], () => {
|
|
262
|
-
|
|
261
|
+
r();
|
|
263
262
|
});
|
|
264
|
-
async function
|
|
263
|
+
async function r() {
|
|
265
264
|
var c;
|
|
266
265
|
try {
|
|
267
266
|
await n.readBusinesses(), n.currentBusiness.value = (c = n.businesses.value) == null ? void 0 : c.find((o) => o);
|
|
@@ -273,5 +272,5 @@ const fe = /* @__PURE__ */ h({
|
|
|
273
272
|
}
|
|
274
273
|
});
|
|
275
274
|
export {
|
|
276
|
-
|
|
275
|
+
pe as default
|
|
277
276
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as le, ref as
|
|
2
|
-
import { u as _e, b as
|
|
3
|
-
import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as le, ref as y, watch as ue, computed as d, resolveComponent as ie, openBlock as x, createBlock as W, unref as n, withCtx as k, createElementVNode as i, normalizeClass as ce, createVNode as u, normalizeStyle as pe, toDisplayString as de, createElementBlock as me, createCommentVNode as fe, Teleport as ve, mergeProps as he } from "vue";
|
|
2
|
+
import { u as _e, b as De, aD as b, aO as ge, ae as X, B as ye, N as be, H as Oe, _ as Re, C as Se, E as xe, G as O } from "./app-dN4odAZ8.js";
|
|
3
|
+
import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-DrfHulTL.js";
|
|
4
4
|
import { useBreakpoints as Pe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as Ne } from "@feedmepos/mf-common";
|
|
6
|
-
const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" },
|
|
6
|
+
const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = { 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" }, Le = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
9
|
-
},
|
|
9
|
+
}, Me = { class: "pt-8" }, Ue = /* @__PURE__ */ le({
|
|
10
10
|
__name: "ApprovalView",
|
|
11
|
-
setup(
|
|
12
|
-
const s = ke(q.APPROVAL), { columnDefs: Z } = qe(q.APPROVAL, s), B = _e(), I =
|
|
11
|
+
setup(ze) {
|
|
12
|
+
const s = ke(q.APPROVAL), { columnDefs: Z } = qe(q.APPROVAL, s), B = _e(), I = De();
|
|
13
13
|
b.object({
|
|
14
14
|
name: b.string().optional().nullable(),
|
|
15
15
|
start: b.date().optional().nullable(),
|
|
16
16
|
end: b.date().optional().nullable()
|
|
17
17
|
});
|
|
18
|
-
const w =
|
|
18
|
+
const w = y({
|
|
19
19
|
name: "",
|
|
20
|
-
...
|
|
21
|
-
}), o =
|
|
20
|
+
...ge()
|
|
21
|
+
}), o = y({
|
|
22
22
|
startDate: X(w.value.start ?? /* @__PURE__ */ new Date()),
|
|
23
23
|
endDate: X(w.value.end ?? /* @__PURE__ */ new Date())
|
|
24
24
|
});
|
|
@@ -36,7 +36,7 @@ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
36
36
|
}
|
|
37
37
|
s.updateDateRange(o.value.startDate, o.value.endDate);
|
|
38
38
|
});
|
|
39
|
-
const R =
|
|
39
|
+
const R = y(""), { breakpoints: P } = Pe(), S = d(() => P.value.xs || P.value.sm), ee = d(() => S.value ? 10 : 20), te = ye(), { t: N } = Ne(), ae = d(() => [
|
|
40
40
|
{
|
|
41
41
|
label: N("inventory.common.refresh"),
|
|
42
42
|
value: "refresh"
|
|
@@ -93,7 +93,7 @@ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
93
93
|
}
|
|
94
94
|
];
|
|
95
95
|
return [...l, ...I.isEnabled ? r : []];
|
|
96
|
-
}), m =
|
|
96
|
+
}), m = y(null), ne = d(() => {
|
|
97
97
|
if (!m.value)
|
|
98
98
|
return s.purchaseRequests.value;
|
|
99
99
|
const l = be.build(m.value);
|
|
@@ -158,7 +158,7 @@ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
158
158
|
onRowClick: (a) => n(s).promptShowTransferDetails(a.purchaseOrder, a)
|
|
159
159
|
}, {
|
|
160
160
|
default: k((a) => {
|
|
161
|
-
var c, p, T, f, C, A,
|
|
161
|
+
var c, p, T, f, C, A, V, L, v, M, z, h, E, _, F, $, H, Y, U, D, j, G, J, K, g, Q;
|
|
162
162
|
return [
|
|
163
163
|
i("div", Te, [
|
|
164
164
|
i("div", Ce, [
|
|
@@ -169,21 +169,21 @@ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
169
169
|
]),
|
|
170
170
|
i("div", Ae, [
|
|
171
171
|
u(n(O), {
|
|
172
|
-
render: (
|
|
173
|
-
props: (
|
|
172
|
+
render: (L = (V = (A = a.to_name) == null ? void 0 : A.column) == null ? void 0 : V.columnDef) == null ? void 0 : L.cell,
|
|
173
|
+
props: (M = (v = a.to_name) == null ? void 0 : v.getContext) == null ? void 0 : M.call(v)
|
|
174
174
|
}, null, 8, ["render", "props"])
|
|
175
175
|
]),
|
|
176
|
-
i("div",
|
|
177
|
-
($ = e.original.purchaseOrder) != null && $.ref ? (x(), me("div",
|
|
176
|
+
i("div", Ve, de((F = (_ = (E = (h = (z = e.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (oe) => `${oe.name}`)) == null ? void 0 : _.join) == null ? void 0 : F.call(_, ", ")), 1),
|
|
177
|
+
($ = e.original.purchaseOrder) != null && $.ref ? (x(), me("div", Le, [
|
|
178
178
|
u(n(O), {
|
|
179
179
|
render: (U = (Y = (H = a.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : Y.columnDef) == null ? void 0 : U.cell,
|
|
180
|
-
props: (j = (
|
|
180
|
+
props: (j = (D = a.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : j.call(D)
|
|
181
181
|
}, null, 8, ["render", "props"])
|
|
182
182
|
])) : fe("", !0),
|
|
183
|
-
i("div",
|
|
183
|
+
i("div", Me, [
|
|
184
184
|
u(n(O), {
|
|
185
185
|
render: (K = (J = (G = a.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : J.columnDef) == null ? void 0 : K.cell,
|
|
186
|
-
props: (Q = (
|
|
186
|
+
props: (Q = (g = a.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : Q.call(g)
|
|
187
187
|
}, null, 8, ["render", "props"])
|
|
188
188
|
])
|
|
189
189
|
])
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L,
|
|
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 c, 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-CwV5nKPo.js";
|
|
3
|
+
import { a as L, a$ as S } from "./app-dN4odAZ8.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
7
7
|
}, E = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "p-24 flex items-center justify-center gap-16"
|
|
10
|
-
},
|
|
10
|
+
}, A = /* @__PURE__ */ C({
|
|
11
11
|
__name: "BindingsDialog",
|
|
12
12
|
setup(N) {
|
|
13
|
-
const p = L(),
|
|
13
|
+
const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
|
|
14
14
|
async function y() {
|
|
15
15
|
await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
|
|
16
|
-
|
|
16
|
+
d.value = !1, s.value = e;
|
|
17
17
|
}).onMessage("props:inventory-bindings:validate", () => {
|
|
18
18
|
var e;
|
|
19
19
|
(e = f.value) == null || e.validateInputs();
|
|
@@ -48,12 +48,12 @@ const U = {
|
|
|
48
48
|
const f = o();
|
|
49
49
|
return (e, n) => {
|
|
50
50
|
const g = l("FmButton"), B = l("FmForm"), h = l("FmCircularProgress");
|
|
51
|
-
return i(),
|
|
51
|
+
return i(), c("div", {
|
|
52
52
|
class: "bg-white",
|
|
53
53
|
ref_key: "resizeableRef",
|
|
54
54
|
ref: m
|
|
55
55
|
}, [
|
|
56
|
-
|
|
56
|
+
d.value ? (i(), c("div", E, [
|
|
57
57
|
a(h, { size: "md" }),
|
|
58
58
|
n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
|
|
59
59
|
])) : (i(), I(B, {
|
|
@@ -70,7 +70,7 @@ const U = {
|
|
|
70
70
|
"iframe-mode": "",
|
|
71
71
|
"onClick:pickInventoryBindings": k
|
|
72
72
|
}, null, 8, ["model-value"]),
|
|
73
|
-
r.value ? z("", !0) : (i(),
|
|
73
|
+
r.value ? z("", !0) : (i(), c("div", U, [
|
|
74
74
|
a(g, {
|
|
75
75
|
type: "button",
|
|
76
76
|
variant: "tertiary",
|
|
@@ -90,5 +90,5 @@ const U = {
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
export {
|
|
93
|
-
|
|
93
|
+
A as default
|
|
94
94
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
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,
|
|
2
|
+
import { a as M, a$ as x, a2 as z } from "./app-dN4odAZ8.js";
|
|
3
3
|
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
@@ -1,8 +1,8 @@
|
|
|
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,
|
|
2
|
+
import { F as b, a as P, a$ as R } from "./app-dN4odAZ8.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
|
-
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" },
|
|
5
|
+
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" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
6
6
|
__name: "binding-ui",
|
|
7
7
|
props: {
|
|
8
8
|
items: { default: () => [] },
|
|
@@ -46,8 +46,8 @@ const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
|
|
|
46
46
|
}, [
|
|
47
47
|
p("div", O, v(e.name), 1),
|
|
48
48
|
p("div", V, v(e._skuLinked ? `${e._skuLinked} linked` : "Not linked"), 1),
|
|
49
|
-
p("div",
|
|
50
|
-
p("div",
|
|
49
|
+
p("div", $, v(e._recipeLinked ? `${e._recipeLinked} linked` : "Not linked"), 1),
|
|
50
|
+
p("div", S, [
|
|
51
51
|
w(t, {
|
|
52
52
|
variant: "tertiary",
|
|
53
53
|
icon: "edit",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as Te, ref as N, computed as P, onMounted as Ie, resolveComponent as I, openBlock as A, createElementBlock as R, Fragment as q, createTextVNode as pe, createBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as Te, ref as N, computed as P, onMounted as Ie, resolveComponent as I, openBlock as A, createElementBlock as R, Fragment as q, createTextVNode as pe, createBlock as Q, withCtx as Y, createElementVNode as r, toDisplayString as O, unref as D, createVNode as x, createCommentVNode as J, h as F, reactive as Ze, watch as Je, isRef as Le, normalizeClass as ve, renderList as he, normalizeStyle as Ee, Teleport as Qe, mergeProps as Xe } from "vue";
|
|
2
|
+
import { a3 as et, u as Se, am as M, ae as tt, an as at, m as nt, P as Re, j as L, t as ot, T as Ae, r as st, s as rt, v as lt, ao as He, ap as ze, a9 as Ne, aq as ne, af as ct, al as re, a0 as Be, D as Ue, i as _e, h as it, f as ut, a as dt, B as mt, _ as ft, C as pt, E as vt, G as we } from "./app-dN4odAZ8.js";
|
|
3
3
|
import { useCoreStore as yt, useI18n as Ve } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Me, useDialog as gt, useProxiedModel as bt, components as fe, useBreakpoints as ht } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Oe, storeToRefs as At } from "pinia";
|
|
6
|
-
import { a as Ye, u as Ke } from "./stock-
|
|
6
|
+
import { a as Ye, u as Ke } from "./stock-D7E6dj7b.js";
|
|
7
7
|
import { E as Dt } from "./empty-placeholder-wf6-BWE8.js";
|
|
8
8
|
const $e = et((s, l) => {
|
|
9
9
|
function e() {
|
|
@@ -120,7 +120,7 @@ const $e = et((s, l) => {
|
|
|
120
120
|
}
|
|
121
121
|
return (o, n) => {
|
|
122
122
|
const C = I("FmLabel"), g = I("FmDatePicker"), c = I("FmTimePicker"), H = I("FmTextField"), _ = I("FmButton"), $ = I("FmForm");
|
|
123
|
-
return U.value ? (A(),
|
|
123
|
+
return U.value ? (A(), Q($, {
|
|
124
124
|
key: 1,
|
|
125
125
|
onValidationSuccess: z,
|
|
126
126
|
class: "flex flex-col gap-32",
|
|
@@ -153,7 +153,7 @@ const $e = et((s, l) => {
|
|
|
153
153
|
modelValue: E.value,
|
|
154
154
|
"onUpdate:modelValue": n[1] || (n[1] = (j) => E.value = j)
|
|
155
155
|
}, null, 8, ["modelValue"])
|
|
156
|
-
])) :
|
|
156
|
+
])) : J("", !0),
|
|
157
157
|
x(H, {
|
|
158
158
|
modelValue: e.value,
|
|
159
159
|
"onUpdate:modelValue": n[2] || (n[2] = (j) => e.value = j),
|
|
@@ -645,7 +645,7 @@ const Mt = Oe(
|
|
|
645
645
|
}, Zt = {
|
|
646
646
|
key: 0,
|
|
647
647
|
class: "flex flex-col items-center gap-8 h-full"
|
|
648
|
-
},
|
|
648
|
+
}, Jt = ["src"], Qt = {
|
|
649
649
|
key: 1,
|
|
650
650
|
class: "px-4 flex flex-col"
|
|
651
651
|
}, Xt = { class: "flex gap-12 content-stretch" }, ea = {
|
|
@@ -684,7 +684,7 @@ const Mt = Oe(
|
|
|
684
684
|
(t) => t.sku._id,
|
|
685
685
|
(t) => t.measurementsAmounts.filter((i) => !i.measurement.abbrev.toLocaleLowerCase().includes("inactive")).map((i) => i.measurement.id)
|
|
686
686
|
));
|
|
687
|
-
Ie(te),
|
|
687
|
+
Ie(te), Je(
|
|
688
688
|
() => e.show,
|
|
689
689
|
(a) => {
|
|
690
690
|
a && (W.value = ue[0], te());
|
|
@@ -1113,7 +1113,7 @@ const Mt = Oe(
|
|
|
1113
1113
|
});
|
|
1114
1114
|
return (a, t) => {
|
|
1115
1115
|
const i = I("FmButtonGroup"), f = I("FmMenuDivider"), u = I("FmCard"), v = I("FmButton"), b = I("FmCircularProgress"), h = I("FmTextField"), w = I("FmIcon"), de = I("FmChip"), ae = I("FmTable"), Z = I("FmSpacer"), se = I("FmTooltip"), xe = I("FmSideSheet");
|
|
1116
|
-
return A(),
|
|
1116
|
+
return A(), Q(xe, {
|
|
1117
1117
|
"dismiss-away": "",
|
|
1118
1118
|
"max-width": 9999,
|
|
1119
1119
|
"model-value": D(k),
|
|
@@ -1125,7 +1125,7 @@ const Mt = Oe(
|
|
|
1125
1125
|
return [
|
|
1126
1126
|
r("div", fa, [
|
|
1127
1127
|
((S = e.draft) == null ? void 0 : S.status) === D(ne).enum.DRAFT ? (A(), R(q, { key: 0 }, [
|
|
1128
|
-
be.value ? (A(),
|
|
1128
|
+
be.value ? (A(), Q(se, {
|
|
1129
1129
|
key: 0,
|
|
1130
1130
|
"z-index": 51
|
|
1131
1131
|
}, {
|
|
@@ -1141,19 +1141,19 @@ const Mt = Oe(
|
|
|
1141
1141
|
})
|
|
1142
1142
|
]),
|
|
1143
1143
|
_: 1
|
|
1144
|
-
})) : (A(),
|
|
1144
|
+
})) : (A(), Q(v, {
|
|
1145
1145
|
key: "approve key",
|
|
1146
1146
|
label: "Approve",
|
|
1147
1147
|
onClick: t[4] || (t[4] = () => e.draft && D(m).approveDraft(e.draft, () => c("submitted")))
|
|
1148
1148
|
}))
|
|
1149
|
-
], 64)) :
|
|
1150
|
-
((V = e.draft) == null ? void 0 : V.status) === D(ne).enum.DRAFT ? (A(),
|
|
1149
|
+
], 64)) : J("", !0),
|
|
1150
|
+
((V = e.draft) == null ? void 0 : V.status) === D(ne).enum.DRAFT ? (A(), Q(v, {
|
|
1151
1151
|
key: 1,
|
|
1152
1152
|
label: "Reject",
|
|
1153
1153
|
variant: "destructive",
|
|
1154
1154
|
onClick: t[5] || (t[5] = () => e.draft && D(m).rejectDraft(e.draft, () => c("submitted")))
|
|
1155
|
-
})) :
|
|
1156
|
-
(G = e.draft) != null && G.approvedAt && ((me = e.draft) == null ? void 0 : me.status) !== D(ne).enum.COMPLETED ? (A(),
|
|
1155
|
+
})) : J("", !0),
|
|
1156
|
+
(G = e.draft) != null && G.approvedAt && ((me = e.draft) == null ? void 0 : me.status) !== D(ne).enum.COMPLETED ? (A(), Q(v, {
|
|
1157
1157
|
key: 2,
|
|
1158
1158
|
label: "Sync",
|
|
1159
1159
|
loading: y.value,
|
|
@@ -1162,7 +1162,7 @@ const Mt = Oe(
|
|
|
1162
1162
|
y.value = !1, c("submitted");
|
|
1163
1163
|
}));
|
|
1164
1164
|
})
|
|
1165
|
-
}, null, 8, ["loading"])) :
|
|
1165
|
+
}, null, 8, ["loading"])) : J("", !0),
|
|
1166
1166
|
x(v, {
|
|
1167
1167
|
label: "Close",
|
|
1168
1168
|
variant: "tertiary",
|
|
@@ -1215,8 +1215,8 @@ const Mt = Oe(
|
|
|
1215
1215
|
r("div", Nt, [
|
|
1216
1216
|
r("div", Vt, [
|
|
1217
1217
|
t[10] || (t[10] = r("div", { class: "flex-1 fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, " Closing items ", -1)),
|
|
1218
|
-
p.value ?
|
|
1219
|
-
a.draft && a.draft.status !== D(ne).enum.COMPLETED ? (A(),
|
|
1218
|
+
p.value ? J("", !0) : (A(), R("div", Ot, [
|
|
1219
|
+
a.draft && a.draft.status !== D(ne).enum.COMPLETED ? (A(), Q(v, {
|
|
1220
1220
|
key: 0,
|
|
1221
1221
|
label: "Refresh balance",
|
|
1222
1222
|
"prepend-icon": "refresh",
|
|
@@ -1226,7 +1226,7 @@ const Mt = Oe(
|
|
|
1226
1226
|
"border-color": "primary",
|
|
1227
1227
|
loading: U.value,
|
|
1228
1228
|
onClick: X
|
|
1229
|
-
}, null, 8, ["loading"])) :
|
|
1229
|
+
}, null, 8, ["loading"])) : J("", !0),
|
|
1230
1230
|
x(v, {
|
|
1231
1231
|
label: "Export data",
|
|
1232
1232
|
"prepend-icon": "download",
|
|
@@ -1256,7 +1256,7 @@ const Mt = Oe(
|
|
|
1256
1256
|
}, null, 8, ["modelValue"])
|
|
1257
1257
|
]),
|
|
1258
1258
|
D(o).skuTags.size ? (A(), R("div", Gt, [
|
|
1259
|
-
(A(!0), R(q, null, he(D(o).skuTags.keys(), (S) => (A(),
|
|
1259
|
+
(A(!0), R(q, null, he(D(o).skuTags.keys(), (S) => (A(), Q(de, {
|
|
1260
1260
|
key: `${S}`,
|
|
1261
1261
|
label: `${S}`,
|
|
1262
1262
|
selectable: "",
|
|
@@ -1264,12 +1264,12 @@ const Mt = Oe(
|
|
|
1264
1264
|
onClick: (V) => C[`${S}`] = !C[`${S}`]
|
|
1265
1265
|
}, {
|
|
1266
1266
|
default: Y(() => [
|
|
1267
|
-
C[`${S}`] ? (A(),
|
|
1267
|
+
C[`${S}`] ? (A(), Q(w, {
|
|
1268
1268
|
key: 0,
|
|
1269
1269
|
name: "check",
|
|
1270
1270
|
class: "text-white",
|
|
1271
1271
|
size: "sm"
|
|
1272
|
-
})) :
|
|
1272
|
+
})) : J("", !0),
|
|
1273
1273
|
r("span", {
|
|
1274
1274
|
class: ve([
|
|
1275
1275
|
"",
|
|
@@ -1282,7 +1282,7 @@ const Mt = Oe(
|
|
|
1282
1282
|
]),
|
|
1283
1283
|
_: 2
|
|
1284
1284
|
}, 1032, ["label", "selected", "onClick"]))), 128))
|
|
1285
|
-
])) :
|
|
1285
|
+
])) : J("", !0),
|
|
1286
1286
|
r("div", qt, [
|
|
1287
1287
|
r("div", {
|
|
1288
1288
|
style: Ee({ minWidth: `${ce.value}px` })
|
|
@@ -1296,9 +1296,9 @@ const Mt = Oe(
|
|
|
1296
1296
|
])
|
|
1297
1297
|
], 64))
|
|
1298
1298
|
])
|
|
1299
|
-
], 64)) :
|
|
1299
|
+
], 64)) : J("", !0),
|
|
1300
1300
|
W.value.value === "history" ? (A(), R("div", Wt, [
|
|
1301
|
-
ee.value.length ? (A(), R("div",
|
|
1301
|
+
ee.value.length ? (A(), R("div", Qt, [
|
|
1302
1302
|
(A(!0), R(q, null, he(ee.value, (S, V) => (A(), R(q, { key: V }, [
|
|
1303
1303
|
r("div", Xt, [
|
|
1304
1304
|
r("div", ea, [
|
|
@@ -1377,14 +1377,14 @@ const Mt = Oe(
|
|
|
1377
1377
|
r("img", {
|
|
1378
1378
|
src: D(Dt),
|
|
1379
1379
|
alt: "List is empty"
|
|
1380
|
-
}, null, 8,
|
|
1380
|
+
}, null, 8, Jt)
|
|
1381
1381
|
]),
|
|
1382
1382
|
t[14] || (t[14] = r("div", { class: "fm-typo-en-body-lg-600" }, O("No records found"), -1)),
|
|
1383
1383
|
t[15] || (t[15] = r("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary px-16" }, O("You can track approval and rejection history here"), -1)),
|
|
1384
1384
|
x(Z),
|
|
1385
1385
|
x(Z)
|
|
1386
1386
|
]))
|
|
1387
|
-
])) :
|
|
1387
|
+
])) : J("", !0)
|
|
1388
1388
|
])
|
|
1389
1389
|
]),
|
|
1390
1390
|
_: 1
|
|
@@ -1503,7 +1503,7 @@ const Mt = Oe(
|
|
|
1503
1503
|
]),
|
|
1504
1504
|
_: 1
|
|
1505
1505
|
}, 8, ["title", "actions"]),
|
|
1506
|
-
(A(),
|
|
1506
|
+
(A(), Q(Qe, { to: "body" }, [
|
|
1507
1507
|
x(pa, Xe(D(d), {
|
|
1508
1508
|
show: D(m),
|
|
1509
1509
|
"onUpdate:show": c[2] || (c[2] = (_) => Le(m) ? m.value = _ : null),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as M, h as P, defineComponent as j, resolveComponent as R, openBlock as T, createElementBlock as I, createElementVNode as x, normalizeClass as Y, createTextVNode as Fe, toDisplayString as C, unref as h, createCommentVNode as G, createVNode as $, withCtx as A, Fragment as H, renderList as J, computed as E, watch as Pe, createSlots as Re, createBlock as N, isRef as Oe, normalizeStyle as Ye, Teleport as Ke, normalizeProps as Ge, guardReactiveProps as Je, mergeProps as We } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a3 as qe, u as re, af as Qe, D as oe, i as V, h as Xe, f as Ae, ag as le, s as Ze, ah as Ee, v as Ue, a as ie, b as et, w as tt, x as Ve, y as nt, z as ot, ai as st, e as z, G as O, K as lt, aj as at, m as rt, E as Ne, A as it, ak as ct, al as se, B as mt, _ as ut, C as dt } from "./app-dN4odAZ8.js";
|
|
3
3
|
import { useCoreStore as ce, useI18n as B } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as pt, useSnackbar as ee, useDialog as me, FmButtonVariant as Z, components as L, useProxiedModel as ft, useBreakpoints as vt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Be, storeToRefs as Le } from "pinia";
|
|
6
|
-
import { u as gt } from "./use-ingredient-select-dialog-
|
|
6
|
+
import { u as gt } from "./use-ingredient-select-dialog-CydPG1Ol.js";
|
|
7
7
|
const te = qe((r, o) => {
|
|
8
8
|
function n() {
|
|
9
9
|
var e;
|
package/dist/{DeliveryOrderPrintPreview-CQBfbvjK.js → DeliveryOrderPrintPreview-DUqWxzpS.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as g, 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 _ } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import {
|
|
3
|
+
import { ax as y, ak as w } from "./app-dN4odAZ8.js";
|
|
4
4
|
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 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "subtitle"
|
|
7
|
-
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" }, U = { class: "purchase-body" }, B = { class: "text-left" }, H = { class: "text-left" }, L = { class: "text-left" }, M = { class: "text-left" }, V = { class: "text-left" },
|
|
7
|
+
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" }, U = { class: "purchase-body" }, B = { class: "text-left" }, H = { class: "text-left" }, L = { class: "text-left" }, M = { class: "text-left" }, V = { class: "text-left" }, J = { class: "text-right" }, j = { key: 0 }, z = {
|
|
8
8
|
key: 1,
|
|
9
9
|
style: { "padding-top": "30px" }
|
|
10
10
|
}, G = { valign: "bottom" }, Q = { class: "header" }, K = { class: "caption" }, W = {
|
|
@@ -161,13 +161,13 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
161
161
|
"text-warning": r.received != r.quantity
|
|
162
162
|
}])
|
|
163
163
|
}, e(r.received + "/" + r.quantity), 3),
|
|
164
|
-
t("td",
|
|
164
|
+
t("td", J, e(r.unit), 1)
|
|
165
165
|
]))), 128))
|
|
166
166
|
])
|
|
167
167
|
])
|
|
168
168
|
]),
|
|
169
169
|
l[24] || (l[24] = t("hr", null, null, -1)),
|
|
170
|
-
s.value.remark ? (u(), i("div",
|
|
170
|
+
s.value.remark ? (u(), i("div", j, "Remark: " + e(s.value.remark), 1)) : d("", !0),
|
|
171
171
|
s.value.deliveryOrders.length > 0 ? (u(), i("div", z, [
|
|
172
172
|
l[21] || (l[21] = t("hr", null, null, -1)),
|
|
173
173
|
l[22] || (l[22] = n(" Delivery History: ")),
|