@feedmepos/mf-inventory-portal 1.2.60-dev.2 → 1.2.60
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-B_yr-6yL.js → App-B6JtYLP4.js} +78 -82
- package/dist/{ApprovalView-DoYBBuSD.js → ApprovalView-fiHlFJKJ.js} +5 -5
- package/dist/{BindingsDialog-DG7HOy6J.js → BindingsDialog-BlF79qCu.js} +5 -5
- package/dist/{BindingsPicker-DVCYpyrR.js → BindingsPicker-BS2OcyII.js} +3 -3
- package/dist/{BindingsTable-CCel2b_W.js → BindingsTable-RyfzT4g6.js} +5 -5
- package/dist/{ClosingDraftView-CfM7gNBX.js → ClosingDraftView-B2d-XA_E.js} +216 -217
- package/dist/{ClosingHistoryView-DWH4bFgg.js → ClosingHistoryView-DZPNorN6.js} +36 -36
- package/dist/{ClosingTemplateView-JYnnvm7L.js → ClosingTemplateView-L596UQJH.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-BihBTJGj.js → DeliveryOrderPrintPreview-C82JPcVR.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CWjtQajS.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNf3PA0N.js} +17 -17
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUIrR73y.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-WWzwaGw-.js} +2 -2
- package/dist/{FmMultiselectDialog-CxDviJZM.js → FmMultiselectDialog-CcMB_4yD.js} +16 -16
- package/dist/{FmMultiselectDialog-D51nW6yj.js → FmMultiselectDialog-DTLcPYaF.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DLqUnROc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ChqG8Av1.js} +22 -23
- package/dist/{ImportView-C52rZFib.js → ImportView-diTEPSKt.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CjZmd-Sa.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cu-dNL-B.js} +1 -1
- package/dist/{IngredientGroupView-DTHpZP2L.js → IngredientGroupView-CYqZOXH1.js} +5 -5
- package/dist/{IngredientsView-CrCW6heJ.js → IngredientsView-DoCTezXa.js} +24 -25
- package/dist/{IntegrationView--DZANrHj.js → IntegrationView-JboVfhvd.js} +17 -18
- package/dist/{InventoryBindingForm-DLTpv-zQ.js → InventoryBindingForm-B1MrDzRK.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-hkIg4Rbp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Br1hzlQ5.js} +16 -17
- package/dist/{InventoryBindingSummary-D9ptV8Cw.js → InventoryBindingSummary-B09SU9pE.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CdPxhkg0.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BX26mYQG.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Ci3esisT.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DIk5aP_6.js} +2 -2
- package/dist/{PublishView-DxzL_D61.js → PublishView-BLu0VGTW.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-D0tg-2TC.js → PurchaseOrderPrintPreview-CFZX2Yen.js} +11 -11
- package/dist/{ReceiveRequestView-2U534J1_.js → ReceiveRequestView-DD0kz7x8.js} +37 -38
- package/dist/RecipeView-Cg7v20hW.js +646 -0
- package/dist/{StockView-CvWbnYGz.js → StockView-CJk1YeM_.js} +105 -106
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CxjceLuZ.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BFCjZO6S.js} +1 -1
- package/dist/{SupplierView-DMIunLvv.js → SupplierView-CTEInwI-.js} +19 -20
- package/dist/{SurchargeView-jteWYvQz.js → SurchargeView-CKJ2LS9l.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyoUVoDH.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DVhI5Qy6.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DAkKiy0Z.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DjjLI4tM.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dte8E0MX.js +3354 -0
- package/dist/{TransferTemplateView-DMQ1WIij.js → TransferTemplateView-rmrQtfX8.js} +21 -22
- package/dist/{UnitView-p6eZ8G2C.js → UnitView-Drvo3Tew.js} +10 -11
- package/dist/{WarehouseView-BIShkEPs.js → WarehouseView-DIBgCCzG.js} +5 -5
- package/dist/{WastageTemplateView-DCbczB_0.js → WastageTemplateView-Cdvx4Ist.js} +14 -14
- package/dist/api/inventory.d.ts +36 -126
- package/dist/api/netsuite.d.ts +1 -8
- package/dist/{app-BAVBNKKH.js → app-BQahEYX9.js} +6700 -7673
- package/dist/app.d.ts +24 -228
- package/dist/app.js +1 -1
- package/dist/{closing-template-DqxA750a.js → closing-template-ByR8ktYf.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -37
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +0 -14
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -16
- package/dist/{date2-CgwRU403.js → date2-BTP8kRm1.js} +1 -1
- package/dist/{dayjs.min-CjWVK_Fe.js → dayjs.min-1rxaqCQM.js} +16 -16
- package/dist/{defineDeepModel-B1j_kSRA.js → defineDeepModel-BaJIlpWC.js} +1 -1
- package/dist/{duplicate-template-iHtqE_uw.js → duplicate-template-XaB2svr5.js} +1 -1
- package/dist/{feature-DEryk-Cv.js → feature-Ce7hky70.js} +1044 -908
- package/dist/{format-time-from-id-C-mbWMLS.js → format-time-from-id-DwTuSEMw.js} +1 -1
- package/dist/{format-unit-display-C8Hzskg0.js → format-unit-display-DviFIF9R.js} +15 -16
- package/dist/{import-export.helper-DGg16RXI.js → import-export.helper-CyeFjIHv.js} +15 -16
- package/dist/{index-BLowSL6G.js → index-CC_ls9B4.js} +1412 -1471
- package/dist/{index-CLr4DPan.js → index-CeTIFqwk.js} +3 -3
- package/dist/{index-BAkoTUB0.js → index-f1rjUE_a.js} +1 -1
- package/dist/{lodash-D1_0uR01.js → lodash-Be4onxQF.js} +1 -1
- package/dist/{netsuite-Bbxz8tiD.js → netsuite-CB9u725A.js} +374 -372
- package/dist/{purchase-order-template-B-sXEbRE.js → purchase-order-template-DoBDYEtP.js} +1 -1
- package/dist/router/name.d.ts +0 -1
- package/dist/rules-DZnC9R5E.js +327 -0
- package/dist/stock-DcXdnfU0.js +75 -0
- package/dist/{stock-BYPFH5a_.js → stock-DjHGX36M.js} +1 -1
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/integration/netsuite.d.ts +1 -8
- package/dist/stores/inventory.d.ts +30 -119
- package/dist/style.css +1 -1
- package/dist/{supplier-wQYh275s.js → supplier-BtZvsnMx.js} +2 -2
- package/dist/{surcharge-Bi21qFa0.js → surcharge-CDGjoxGm.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DH-mXl8H.js → use-ingredient-select-dialog-l54ucmfp.js} +2 -2
- package/dist/{use-inventory-binding-dialog-i8E2CNuV.js → use-inventory-binding-dialog-adxsJaIL.js} +2 -2
- package/dist/{use-template-enabled-locations-2-DRk9TskI.js → use-template-enabled-locations-2-CgWtnf8k.js} +2 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -64
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +24 -192
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -96
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -96
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +0 -14
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -28
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -8
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +2 -16
- package/dist/views/receive-request/components/transfer-details/RejectDraftForm.vue.d.ts +19 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +5 -1
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +6 -33
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -16
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +4 -32
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -8
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +7 -41
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -246
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +49 -287
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +0 -16
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +0 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -8
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +3 -24
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +12 -96
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -96
- package/dist/vue-i18n-CgWPe8oO.js +2365 -0
- package/dist/{xlsx-lp5RXzSw.js → xlsx-FLEhrhiP.js} +398 -398
- package/dist/{xlsx.util-BxpZNkEZ.js → xlsx.util-DoAD8sxa.js} +1 -1
- package/package.json +2 -2
- package/dist/RecipeView-VZRyX3Mm.js +0 -1558
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CEXA3vvS.js +0 -3241
- package/dist/UnitCostHistoryView-DQ3sXVAQ.js +0 -651
- package/dist/api/unit-cost-history.d.ts +0 -28
- package/dist/number-Cof88Fjz.js +0 -232
- package/dist/rules-CzPUVxD_.js +0 -98
- package/dist/stock-D9E1uFb1.js +0 -75
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -169
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +0 -43
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +0 -25
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +0 -125
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +0 -129
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +0 -30
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -4
- package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +0 -2
- package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +0 -19
- package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +0 -11
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +0 -65
- package/dist/vue-i18n-Cf9iDkfk.js +0 -2365
package/dist/{PurchaseOrderPrintPreview-D0tg-2TC.js → PurchaseOrderPrintPreview-CFZX2Yen.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as h, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as v, renderList as p } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import {
|
|
3
|
+
import { M as y } from "./app-BQahEYX9.js";
|
|
4
4
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "title" },
|
|
5
|
+
const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "title" }, R = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "sub-header"
|
|
8
|
-
}, F = { class: "sub-header" }, q = { class: "address" }, L = { class: "purchase-body" },
|
|
8
|
+
}, F = { class: "sub-header" }, q = { class: "address" }, L = { class: "purchase-body" }, M = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, z = { valign: "bottom" }, J = { class: "header" }, Q = { class: "caption" }, j = {
|
|
9
9
|
class: "text-left",
|
|
10
10
|
style: { width: "20%" }
|
|
11
11
|
}, G = { class: "text-left" }, K = {
|
|
@@ -39,8 +39,8 @@ const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "tit
|
|
|
39
39
|
style: g({ color: c.value })
|
|
40
40
|
}, e(s.value.status), 5)
|
|
41
41
|
]),
|
|
42
|
-
t("td",
|
|
43
|
-
t("div",
|
|
42
|
+
t("td", R, [
|
|
43
|
+
t("div", O, "ORD #" + e(s.value.orderNumber), 1),
|
|
44
44
|
t("div", null, e(s.value.createdAt), 1)
|
|
45
45
|
])
|
|
46
46
|
])
|
|
@@ -109,18 +109,18 @@ const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "tit
|
|
|
109
109
|
], -1)),
|
|
110
110
|
t("tbody", null, [
|
|
111
111
|
(u(!0), n(o, null, p(s.value.items, (r, a) => (u(), n("tr", { key: a }, [
|
|
112
|
-
t("td",
|
|
113
|
-
t("td",
|
|
114
|
-
t("td",
|
|
115
|
-
t("td",
|
|
116
|
-
t("td",
|
|
112
|
+
t("td", M, e(r.code), 1),
|
|
113
|
+
t("td", U, e(r.description), 1),
|
|
114
|
+
t("td", V, e(r.quantity), 1),
|
|
115
|
+
t("td", B, e(r.unit), 1),
|
|
116
|
+
t("td", H, e(r.cost ? r.cost : "N/A"), 1)
|
|
117
117
|
]))), 128))
|
|
118
118
|
])
|
|
119
119
|
])
|
|
120
120
|
]),
|
|
121
121
|
l[14] || (l[14] = t("hr", null, null, -1)),
|
|
122
122
|
t("div", null, "Remark: " + e(s.value.remark), 1),
|
|
123
|
-
t("div",
|
|
123
|
+
t("div", I, [
|
|
124
124
|
l[11] || (l[11] = t("hr", null, null, -1)),
|
|
125
125
|
l[12] || (l[12] = i(" Delivery History: ")),
|
|
126
126
|
(u(!0), n(o, null, p(s.value.deliveryOrders, (r, a) => (u(), n("div", {
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { computed as q, h as Y, defineComponent as le, openBlock as x, createElementBlock as P, Fragment as re, renderList as fe, createElementVNode as o, toDisplayString as I, unref as e, resolveComponent as O, createVNode as m, withCtx as A, createCommentVNode as K, ref as U, createBlock as se, watch as be, normalizeClass as W, normalizeStyle as kt, onMounted as Ze, createTextVNode as Ce, toRaw as qt, shallowRef as pt, onUnmounted as Ut, triggerRef as Nt, reactive as Bt, mergeProps as Xe, isRef as he, createSlots as zt, Teleport as Lt, normalizeProps as jt, guardReactiveProps as Ht } from "vue";
|
|
2
|
-
import { t as de, s as pe, f as Ct,
|
|
3
|
-
import { i as vt, _ as Gt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as es, P as Ye, a as ts, _ as ss, g as os } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as xe,
|
|
6
|
-
import { _ as St, u as
|
|
7
|
-
import { d as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { useBreakpoints as We, components as me, FmButtonVariant as
|
|
2
|
+
import { t as de, s as pe, f as Ct, M as Qt, B as Yt, u as Ne, a as Be, O as ft, P as Kt, Q as Xt, T as Zt, U as Wt, v as Jt, w as wt, m as Me } from "./app-BQahEYX9.js";
|
|
3
|
+
import { i as vt, _ as Gt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-WWzwaGw-.js";
|
|
4
|
+
import { u as es, P as Ye, a as ts, _ as ss, g as os } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Dte8E0MX.js";
|
|
5
|
+
import { R as Te, a as xe, e as we, d as as, A as Ue, M as rs, h as yt, B as ns } from "./rules-DZnC9R5E.js";
|
|
6
|
+
import { _ as St, u as ls, i as is, e as us } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-DIk5aP_6.js";
|
|
7
|
+
import { d as bt } from "./dayjs.min-1rxaqCQM.js";
|
|
8
|
+
import { u as ds } from "./useTabStorage-BkIVScW_.js";
|
|
9
|
+
import { u as cs, _ as ms } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
10
|
+
import { useBreakpoints as We, components as me, FmButtonVariant as ps, useSnackbar as Se, useDialog as fs, useProxiedModel as Ft } from "@feedmepos/ui-library";
|
|
11
11
|
import { F as De } from "./form-mode.enum-BKiNVH6A.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { u as Pe } from "./netsuite-Bbxz8tiD.js";
|
|
12
|
+
import { _ as vs, a as ys, b as bs, F as gs } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-ChqG8Av1.js";
|
|
13
|
+
import { F as qe, u as ze, c as _s, P as hs } from "./feature-Ce7hky70.js";
|
|
14
|
+
import { u as Pe } from "./netsuite-CB9u725A.js";
|
|
16
15
|
import { useI18n as ge } from "@feedmepos/mf-common";
|
|
17
|
-
import { u as $t } from "./surcharge-
|
|
18
|
-
import { a as xs } from "./FmMultiselectDialog-
|
|
16
|
+
import { u as $t } from "./surcharge-CDGjoxGm.js";
|
|
17
|
+
import { a as xs } from "./FmMultiselectDialog-CcMB_4yD.js";
|
|
19
18
|
import { F as ce, _ as It } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
20
|
-
import { u as Je } from "./supplier-
|
|
21
|
-
import { d as Ge, e as ks, g as Cs, b as ws } from "./date2-
|
|
22
|
-
import { u as Ss, _ as Fs } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { u as Je } from "./supplier-BtZvsnMx.js";
|
|
20
|
+
import { d as Ge, e as ks, g as Cs, b as ws } from "./date2-BTP8kRm1.js";
|
|
21
|
+
import { u as Ss, _ as Fs } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNf3PA0N.js";
|
|
23
22
|
import { _ as $s } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
24
|
-
import { a as Dt } from "./format-unit-display-
|
|
25
|
-
import { u as et } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { u as Is } from "./vue-i18n-
|
|
27
|
-
import { s as Ds, r as Ts } from "./xlsx.util-
|
|
23
|
+
import { a as Dt } from "./format-unit-display-DviFIF9R.js";
|
|
24
|
+
import { u as et } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DVhI5Qy6.js";
|
|
25
|
+
import { u as Is } from "./vue-i18n-CgWPe8oO.js";
|
|
26
|
+
import { s as Ds, r as Ts } from "./xlsx.util-DoAD8sxa.js";
|
|
28
27
|
import { F as Ps } from "./FmDroppableField-J0xUsOTV.js";
|
|
29
|
-
import { d as Vs } from "./defineDeepModel-
|
|
28
|
+
import { d as Vs } from "./defineDeepModel-BaJIlpWC.js";
|
|
30
29
|
import { P as Rs, J as Os } from "./app-DiX-EfV6.js";
|
|
31
30
|
var te = /* @__PURE__ */ ((f) => (f.Code = "Code", f.Name = "Name", f.TemplateName = "TemplateName", f.Amount = "Amount", f.Cost = "Cost", f.TotalCost = "TotalCost", f.Delete = "Delete", f))(te || {});
|
|
32
31
|
const As = () => Y(
|
|
@@ -241,7 +240,7 @@ function Es(f) {
|
|
|
241
240
|
[
|
|
242
241
|
u.enablePurchaseOrderCostEdit ? Y(me.FmButton, {
|
|
243
242
|
prependIcon: "edit",
|
|
244
|
-
variant:
|
|
243
|
+
variant: ps.Tertiary,
|
|
245
244
|
disabled: f.disabled,
|
|
246
245
|
onClick() {
|
|
247
246
|
f.updateItem(
|
|
@@ -315,7 +314,7 @@ function Es(f) {
|
|
|
315
314
|
!0
|
|
316
315
|
);
|
|
317
316
|
},
|
|
318
|
-
rules: [Ue(0),
|
|
317
|
+
rules: [Ue(0), rs(2)]
|
|
319
318
|
},
|
|
320
319
|
{
|
|
321
320
|
prepend() {
|
|
@@ -627,7 +626,7 @@ const to = {
|
|
|
627
626
|
},
|
|
628
627
|
emits: ["update:poItems", "update:forecastAmounts", "update:predictionId"],
|
|
629
628
|
setup(f, { emit: b }) {
|
|
630
|
-
const d = f, u = b, _ = U(!1), n = U(7), g =
|
|
629
|
+
const d = f, u = b, _ = U(!1), n = U(7), g = ls(), h = Se(), { t: F } = ge();
|
|
631
630
|
function k(s, a, r) {
|
|
632
631
|
return a != null && s < a && (s = a), r != null && s > r && (s = r), s;
|
|
633
632
|
}
|
|
@@ -666,7 +665,7 @@ const to = {
|
|
|
666
665
|
}
|
|
667
666
|
}
|
|
668
667
|
async function t() {
|
|
669
|
-
const s =
|
|
668
|
+
const s = yt(0)(n.value);
|
|
670
669
|
if (typeof s == "string") {
|
|
671
670
|
h.open({
|
|
672
671
|
message: s,
|
|
@@ -765,7 +764,7 @@ const to = {
|
|
|
765
764
|
modelValue: n.value,
|
|
766
765
|
"onUpdate:modelValue": a[1] || (a[1] = (v) => n.value = v),
|
|
767
766
|
label: e(F)("inventory.transfer.form.items.forecastStock.days"),
|
|
768
|
-
rules: [e(
|
|
767
|
+
rules: [e(yt)(0)]
|
|
769
768
|
}, {
|
|
770
769
|
"helper-text": A(() => [
|
|
771
770
|
o("div", fo, [
|
|
@@ -1190,7 +1189,7 @@ const Do = { class: "flex flex-col gap-4" }, To = { class: "flex items-center ga
|
|
|
1190
1189
|
});
|
|
1191
1190
|
const X = q(
|
|
1192
1191
|
() => g.currentLocation.type === Zt.restaurant
|
|
1193
|
-
), N =
|
|
1192
|
+
), N = fs(), B = Ss(
|
|
1194
1193
|
() => r.value,
|
|
1195
1194
|
(l) => {
|
|
1196
1195
|
a.value.selectSupplier(l.supplier._id);
|
|
@@ -1613,7 +1612,7 @@ const Do = { class: "flex flex-col gap-4" }, To = { class: "flex items-center ga
|
|
|
1613
1612
|
key: 0,
|
|
1614
1613
|
modelValue: e(oe),
|
|
1615
1614
|
"onUpdate:modelValue": p[8] || (p[8] = (R) => he(oe) ? oe.value = R : null),
|
|
1616
|
-
rules: [e(
|
|
1615
|
+
rules: [e(ns)(new Date(l.lastClosingDate), /* @__PURE__ */ new Date())]
|
|
1617
1616
|
}, null, 8, ["modelValue", "rules"])) : K("", !0),
|
|
1618
1617
|
X.value && !l.lastClosingDate ? (x(), P("div", Lo, [
|
|
1619
1618
|
m(ae, {
|
|
@@ -2615,7 +2614,7 @@ const ka = { class: "flex flex-col flex-1" }, Ca = { class: "flex flex-col" }, w
|
|
|
2615
2614
|
}), Ka = { class: "flex flex-col py-8" }, Xa = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Za = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Wa = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ja = {
|
|
2616
2615
|
key: 0,
|
|
2617
2616
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
2618
|
-
}, Ga = { class: "pt-8" }, xt = "ReceiveRequestViewSearchCriteria",
|
|
2617
|
+
}, Ga = { class: "pt-8" }, xt = "ReceiveRequestViewSearchCriteria", Dr = /* @__PURE__ */ le({
|
|
2619
2618
|
__name: "ReceiveRequestView",
|
|
2620
2619
|
setup(f) {
|
|
2621
2620
|
const { t: b } = ge(), d = Se();
|
|
@@ -2626,7 +2625,7 @@ const ka = { class: "flex flex-col flex-1" }, Ca = { class: "flex flex-col" }, w
|
|
|
2626
2625
|
});
|
|
2627
2626
|
const u = q(
|
|
2628
2627
|
() => !t._currentLocation || y.loading.value
|
|
2629
|
-
), _ =
|
|
2628
|
+
), _ = ds(), n = ze(), g = Pe();
|
|
2630
2629
|
function h() {
|
|
2631
2630
|
const N = {
|
|
2632
2631
|
name: "",
|
|
@@ -2652,10 +2651,10 @@ const ka = { class: "flex flex-col flex-1" }, Ca = { class: "flex flex-col" }, w
|
|
|
2652
2651
|
y.shipments
|
|
2653
2652
|
), t = Ne();
|
|
2654
2653
|
async function s() {
|
|
2655
|
-
const N = `inventory-record_${
|
|
2654
|
+
const N = `inventory-record_${bt(k.value.startDate).format("DD-MM-YYYY_HH-mm")}-${bt(k.value.endDate).format("DD-MM-YYYY_HH-mm")}.xlsx`, B = y.purchaseOrders.value.flatMap(
|
|
2656
2655
|
(D) => D.items.map((M) => {
|
|
2657
2656
|
var Q;
|
|
2658
|
-
const L = new Date(
|
|
2657
|
+
const L = new Date(is(D._id) ?? ""), J = D.effectiveAt ? new Date(D.effectiveAt) : void 0, oe = xe(
|
|
2659
2658
|
os(M.sku, D.deliveryOrder || [])
|
|
2660
2659
|
), w = xe(M.quantity), S = ((Q = M == null ? void 0 : M.measurement) == null ? void 0 : Q.abbrev) || M.sku.unit.abbrev;
|
|
2661
2660
|
return {
|
|
@@ -2683,7 +2682,7 @@ const ka = { class: "flex flex-col flex-1" }, Ca = { class: "flex flex-col" }, w
|
|
|
2683
2682
|
"Ordered quantity",
|
|
2684
2683
|
"Unit"
|
|
2685
2684
|
];
|
|
2686
|
-
n.enableBackdatePo && V.insert("Effective at", 4), n.enableTotalCost && V.push("Total cost"), await
|
|
2685
|
+
n.enableBackdatePo && V.insert("Effective at", 4), n.enableTotalCost && V.push("Total cost"), await us(
|
|
2687
2686
|
[
|
|
2688
2687
|
{
|
|
2689
2688
|
name: "purchases",
|
|
@@ -2726,7 +2725,7 @@ const ka = { class: "flex flex-col flex-1" }, Ca = { class: "flex flex-col" }, w
|
|
|
2726
2725
|
if (N === "export")
|
|
2727
2726
|
return s();
|
|
2728
2727
|
}
|
|
2729
|
-
const { breakpoints: $ } = We(), c = q(() => $.value.xs || $.value.sm), v = q(() => c.value ? 10 : 20), T =
|
|
2728
|
+
const { breakpoints: $ } = We(), c = q(() => $.value.xs || $.value.sm), v = q(() => c.value ? 10 : 20), T = cs(), E = q(() => [
|
|
2730
2729
|
{
|
|
2731
2730
|
label: b("inventory.transfer.receiveRequest.actions.create"),
|
|
2732
2731
|
value: "create",
|
|
@@ -2806,7 +2805,7 @@ const ka = { class: "flex flex-col flex-1" }, Ca = { class: "flex flex-col" }, w
|
|
|
2806
2805
|
});
|
|
2807
2806
|
return (N, B) => {
|
|
2808
2807
|
const V = O("FmTable");
|
|
2809
|
-
return x(), se(
|
|
2808
|
+
return x(), se(ms, {
|
|
2810
2809
|
title: e(b)("inventory.transfer.receiveRequest.title2"),
|
|
2811
2810
|
actions: E.value,
|
|
2812
2811
|
"onClick:action": C
|
|
@@ -2912,5 +2911,5 @@ const ka = { class: "flex flex-col flex-1" }, Ca = { class: "flex flex-col" }, w
|
|
|
2912
2911
|
}
|
|
2913
2912
|
});
|
|
2914
2913
|
export {
|
|
2915
|
-
|
|
2914
|
+
Dr as default
|
|
2916
2915
|
};
|