@feedmepos/mf-inventory-portal 1.2.59 → 1.2.60-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-Nwc0Ha2r.js → App-Dgk5k8U-.js} +82 -78
- package/dist/{ApprovalView-Y5f915s3.js → ApprovalView-CU2YMuZb.js} +5 -5
- package/dist/{BindingsDialog-5N7R_u4c.js → BindingsDialog-Cu0AR6jW.js} +5 -5
- package/dist/{BindingsPicker-BJwvLu2s.js → BindingsPicker-DyycJJ6i.js} +3 -3
- package/dist/{BindingsTable-B8sq-qXH.js → BindingsTable-wFAnOCdU.js} +5 -5
- package/dist/{ClosingDraftView-BsyYOZsz.js → ClosingDraftView-C01bZNv_.js} +891 -893
- package/dist/{ClosingHistoryView-BNpsMNy1.js → ClosingHistoryView-Bwjadf1x.js} +36 -36
- package/dist/{ClosingTemplateView-BBqbq07d.js → ClosingTemplateView-BAalivwa.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-CmOO7wuE.js → DeliveryOrderPrintPreview-CaEmXkPV.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BXlY-Gu1.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D7J8uo_B.js} +17 -17
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CAMkZRFI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DU4I0imJ.js} +2 -2
- package/dist/{FmMultiselectDialog-LagHyTQP.js → FmMultiselectDialog-CdhcCzVw.js} +1 -1
- package/dist/{FmMultiselectDialog-CwJUv9tG.js → FmMultiselectDialog-v004bPKF.js} +16 -16
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BmHFIkt1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C756UIBL.js} +16 -15
- package/dist/{ImportView-wQ_bNesb.js → ImportView-WyG44i3g.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DtMrJIVs.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Y74PdyhQ.js} +1 -1
- package/dist/{IngredientGroupView-DsGMhdwu.js → IngredientGroupView-7bkBWvrQ.js} +5 -5
- package/dist/{IngredientsView-JdjcLdOx.js → IngredientsView-BDgOWARl.js} +25 -24
- package/dist/{IntegrationView-CMmSIRUk.js → IntegrationView-BB7asiWy.js} +18 -17
- package/dist/{InventoryBindingForm-UL-UKtYW.js → InventoryBindingForm-CU9dnGdy.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-r875PDKP.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BmlVB1SU.js} +17 -16
- package/dist/{InventoryBindingSummary-BDAuT62b.js → InventoryBindingSummary-D2W_WcLV.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C5zOYiqR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CVfShkXe.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-B2zppgqk.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CC4jkZg4.js} +2 -2
- package/dist/{PublishView-CSoZCSHT.js → PublishView-DR_TwAkf.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-D5Qw44xo.js → PurchaseOrderPrintPreview-CoX0u7jn.js} +11 -11
- package/dist/{ReceiveRequestView-Chntp08E.js → ReceiveRequestView-VBePJl-U.js} +34 -33
- package/dist/RecipeView-CiZw14m_.js +1558 -0
- package/dist/{StockView-CuCK7tD2.js → StockView-BFv_Tl8E.js} +122 -122
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-fMji2qKG.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BMEsUpAC.js} +1 -1
- package/dist/{SupplierView-CA17Tz02.js → SupplierView-PSGUQEzz.js} +20 -19
- package/dist/{SurchargeView-EIftjMCa.js → SurchargeView-B7qTXk1L.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CqA6RmPy.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CxEeb4BW.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CYXsAP0i.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxg6HaiQ.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BbbAEIcW.js → TransferDetails.vue_vue_type_script_setup_true_lang-CAviJscD.js} +77 -78
- package/dist/{TransferTemplateView-CYfbm9aS.js → TransferTemplateView-CsRPCwN_.js} +22 -21
- package/dist/UnitCostHistoryView-Byd2FHbH.js +651 -0
- package/dist/{UnitView-6s5CsGEQ.js → UnitView-CdZ_GaUr.js} +9 -9
- package/dist/{WarehouseView-BXDQOyFZ.js → WarehouseView-DQGYq00N.js} +5 -5
- package/dist/{WastageTemplateView-Cq92TiRs.js → WastageTemplateView-CE7aiWUH.js} +14 -14
- package/dist/api/inventory.d.ts +126 -36
- package/dist/api/netsuite.d.ts +8 -1
- package/dist/api/unit-cost-history.d.ts +28 -0
- package/dist/{app-DJuq_faF.js → app-CpEqZK89.js} +7453 -6448
- package/dist/app.d.ts +228 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-D_zbp5V1.js → closing-template-C20qxOGw.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
- package/dist/{date2-4vrHarNG.js → date2-C37x5LGh.js} +1 -1
- package/dist/{dayjs.min-Dwp8614O.js → dayjs.min-C5A6b5Ut.js} +16 -16
- package/dist/{defineDeepModel-DVt2Wz9r.js → defineDeepModel-btW96tVp.js} +1 -1
- package/dist/{duplicate-template-CkYWeFtL.js → duplicate-template-BPduDL4a.js} +1 -1
- package/dist/{feature-Beh-qc03.js → feature-Cu77Fha2.js} +784 -779
- package/dist/{format-time-from-id-84iLSxVu.js → format-time-from-id-ULW7QQVk.js} +1 -1
- package/dist/{format-unit-display-DfeNpWk4.js → format-unit-display-CeyXEKCV.js} +16 -15
- package/dist/helper/number.d.ts +2 -0
- package/dist/helper/type.d.ts +5 -0
- package/dist/{import-export.helper-fAVzQM2q.js → import-export.helper-DpgGeeZ4.js} +17 -16
- package/dist/{index-CoEqhZLm.js → index-6Is7orHh.js} +1 -1
- package/dist/{index-B2_16R5E.js → index-Cl2lmtBz.js} +1471 -1412
- package/dist/{index-Chogzhcq.js → index-DKDWBhbI.js} +3 -3
- package/dist/{lodash-Cx8BU1GH.js → lodash-BS2snJNb.js} +1 -1
- package/dist/{netsuite-C1bml-v1.js → netsuite-B5YYhPhU.js} +60 -60
- package/dist/number-DgdltWRu.js +232 -0
- package/dist/{purchase-order-template-BqFnJ-6B.js → purchase-order-template-DVz_OXJ7.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/rules-BPG3Fjva.js +98 -0
- package/dist/stock-BXorYvfp.js +75 -0
- package/dist/{stock-KxT4JbNf.js → stock-D9iwDDOz.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +8 -1
- package/dist/stores/inventory.d.ts +119 -30
- package/dist/{supplier-C7wUB1zT.js → supplier-UJg1gtQ8.js} +2 -2
- package/dist/{surcharge-CjB_Qtbv.js → surcharge-CcJatYN4.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-D5KSqA4Z.js → use-ingredient-select-dialog-C--_de2u.js} +2 -2
- package/dist/{use-inventory-binding-dialog-eGOvztV3.js → use-inventory-binding-dialog-JsmcY8OK.js} +2 -2
- package/dist/{use-template-enabled-locations-2-3kcVWPQm.js → use-template-enabled-locations-2-Ce6Y0gQ_.js} +2 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +64 -8
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +192 -24
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
- package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
- package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
- package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
- package/dist/vue-i18n-Cv_EPb3h.js +2365 -0
- package/dist/{xlsx-BwNUbN_O.js → xlsx-DuXSmSdO.js} +1 -1
- package/dist/{xlsx.util-B_DE3inS.js → xlsx.util-B75iIY7V.js} +1 -1
- package/package.json +2 -2
- package/dist/RecipeView-Ck3Pa4fg.js +0 -646
- package/dist/decimal-Bf6AG_d3.js +0 -99
- package/dist/rules-y2OYGOro.js +0 -201
- package/dist/stock-BWUzlDTa.js +0 -75
- package/dist/vue-i18n-C6XNfngV.js +0 -2365
|
@@ -1,31 +1,32 @@
|
|
|
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 We, createTextVNode as Ce, toRaw as qt, shallowRef as ft, 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 yt, _ 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 {
|
|
6
|
-
import { _ as St, u as
|
|
7
|
-
import { d as bt } from "./dayjs.min-
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { useBreakpoints as Je, components as me, FmButtonVariant as
|
|
2
|
+
import { t as de, s as pe, f as Ct, O as Qt, D as Yt, u as Ne, a as Be, P as vt, Q as Kt, T as Xt, U as Zt, V as Wt, v as Jt, y as wt, m as Me } from "./app-CpEqZK89.js";
|
|
3
|
+
import { i as yt, _ as Gt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DU4I0imJ.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-CAviJscD.js";
|
|
5
|
+
import { a as xe, d as we, c as as } from "./number-DgdltWRu.js";
|
|
6
|
+
import { _ as St, u as rs, i as ns, e as ls } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CC4jkZg4.js";
|
|
7
|
+
import { d as bt } from "./dayjs.min-C5A6b5Ut.js";
|
|
8
|
+
import { u as is } from "./useTabStorage-BkIVScW_.js";
|
|
9
|
+
import { u as us, _ as ds } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
10
|
+
import { useBreakpoints as Je, components as me, FmButtonVariant as cs, useSnackbar as Se, useDialog as ms, 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 { u as
|
|
12
|
+
import { R as Te, A as Ue, M as ps, B as Ze } from "./rules-BPG3Fjva.js";
|
|
13
|
+
import { _ as fs, a as vs, b as ys, F as bs } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C756UIBL.js";
|
|
14
|
+
import { F as qe, u as ze, c as gs, P as _s } from "./feature-Cu77Fha2.js";
|
|
15
|
+
import { u as Pe } from "./netsuite-B5YYhPhU.js";
|
|
15
16
|
import { useI18n as ge } from "@feedmepos/mf-common";
|
|
16
|
-
import { u as $t } from "./surcharge-
|
|
17
|
-
import { a as hs } from "./FmMultiselectDialog-
|
|
17
|
+
import { u as $t } from "./surcharge-CcJatYN4.js";
|
|
18
|
+
import { a as hs } from "./FmMultiselectDialog-v004bPKF.js";
|
|
18
19
|
import { F as ce, _ as It } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
19
|
-
import { u as Ge } from "./supplier-
|
|
20
|
-
import { d as et, e as xs, g as ks, b as Cs } from "./date2-
|
|
21
|
-
import { u as ws, _ as Ss } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { u as Ge } from "./supplier-UJg1gtQ8.js";
|
|
21
|
+
import { d as et, e as xs, g as ks, b as Cs } from "./date2-C37x5LGh.js";
|
|
22
|
+
import { u as ws, _ as Ss } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D7J8uo_B.js";
|
|
22
23
|
import { _ as Fs } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
23
|
-
import { a as Dt } from "./format-unit-display-
|
|
24
|
-
import { u as tt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
25
|
-
import { u as $s } from "./vue-i18n-
|
|
26
|
-
import { s as Is, r as Ds } from "./xlsx.util-
|
|
24
|
+
import { a as Dt } from "./format-unit-display-CeyXEKCV.js";
|
|
25
|
+
import { u as tt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-CxEeb4BW.js";
|
|
26
|
+
import { u as $s } from "./vue-i18n-Cv_EPb3h.js";
|
|
27
|
+
import { s as Is, r as Ds } from "./xlsx.util-B75iIY7V.js";
|
|
27
28
|
import { F as Ts } from "./FmDroppableField-J0xUsOTV.js";
|
|
28
|
-
import { d as Ps } from "./defineDeepModel-
|
|
29
|
+
import { d as Ps } from "./defineDeepModel-btW96tVp.js";
|
|
29
30
|
import { P as Vs, J as Rs } from "./app-DiX-EfV6.js";
|
|
30
31
|
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 || {});
|
|
31
32
|
const Os = () => Y(
|
|
@@ -240,7 +241,7 @@ function As(f) {
|
|
|
240
241
|
[
|
|
241
242
|
u.enablePurchaseOrderCostEdit ? Y(me.FmButton, {
|
|
242
243
|
prependIcon: "edit",
|
|
243
|
-
variant:
|
|
244
|
+
variant: cs.Tertiary,
|
|
244
245
|
disabled: f.disabled,
|
|
245
246
|
onClick() {
|
|
246
247
|
f.updateItem(
|
|
@@ -314,7 +315,7 @@ function As(f) {
|
|
|
314
315
|
!0
|
|
315
316
|
);
|
|
316
317
|
},
|
|
317
|
-
rules: [Ue(0),
|
|
318
|
+
rules: [Ue(0), ps(2)]
|
|
318
319
|
},
|
|
319
320
|
{
|
|
320
321
|
prepend() {
|
|
@@ -626,7 +627,7 @@ const eo = {
|
|
|
626
627
|
},
|
|
627
628
|
emits: ["update:poItems", "update:forecastAmounts", "update:predictionId"],
|
|
628
629
|
setup(f, { emit: b }) {
|
|
629
|
-
const d = f, u = b, _ = U(!1), n = U(7), g =
|
|
630
|
+
const d = f, u = b, _ = U(!1), n = U(7), g = rs(), h = Se(), { t: F } = ge();
|
|
630
631
|
function k(s, a, r) {
|
|
631
632
|
return a != null && s < a && (s = a), r != null && s > r && (s = r), s;
|
|
632
633
|
}
|
|
@@ -1189,7 +1190,7 @@ const Io = { class: "flex flex-col gap-4" }, Do = { class: "flex items-center ga
|
|
|
1189
1190
|
});
|
|
1190
1191
|
const X = q(
|
|
1191
1192
|
() => g.currentLocation.type === Zt.restaurant
|
|
1192
|
-
), N =
|
|
1193
|
+
), N = ms(), B = ws(
|
|
1193
1194
|
() => r.value,
|
|
1194
1195
|
(l) => {
|
|
1195
1196
|
a.value.selectSupplier(l.supplier._id);
|
|
@@ -2614,7 +2615,7 @@ const xa = { class: "flex flex-col flex-1" }, ka = { class: "flex flex-col" }, C
|
|
|
2614
2615
|
}), Ya = { class: "flex flex-col py-8" }, Ka = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xa = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Za = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Wa = {
|
|
2615
2616
|
key: 0,
|
|
2616
2617
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
2617
|
-
}, Ja = { class: "pt-8" }, xt = "ReceiveRequestViewSearchCriteria",
|
|
2618
|
+
}, Ja = { class: "pt-8" }, xt = "ReceiveRequestViewSearchCriteria", Dr = /* @__PURE__ */ le({
|
|
2618
2619
|
__name: "ReceiveRequestView",
|
|
2619
2620
|
setup(f) {
|
|
2620
2621
|
const { t: b } = ge(), d = Se();
|
|
@@ -2625,7 +2626,7 @@ const xa = { class: "flex flex-col flex-1" }, ka = { class: "flex flex-col" }, C
|
|
|
2625
2626
|
});
|
|
2626
2627
|
const u = q(
|
|
2627
2628
|
() => !t._currentLocation || y.loading.value
|
|
2628
|
-
), _ =
|
|
2629
|
+
), _ = is(), n = ze(), g = Pe();
|
|
2629
2630
|
function h() {
|
|
2630
2631
|
const N = {
|
|
2631
2632
|
name: "",
|
|
@@ -2654,7 +2655,7 @@ const xa = { class: "flex flex-col flex-1" }, ka = { class: "flex flex-col" }, C
|
|
|
2654
2655
|
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(
|
|
2655
2656
|
(D) => D.items.map((M) => {
|
|
2656
2657
|
var Q;
|
|
2657
|
-
const L = new Date(
|
|
2658
|
+
const L = new Date(ns(D._id) ?? ""), J = D.effectiveAt ? new Date(D.effectiveAt) : void 0, oe = xe(
|
|
2658
2659
|
os(M.sku, D.deliveryOrder || [])
|
|
2659
2660
|
), w = xe(M.quantity), S = ((Q = M == null ? void 0 : M.measurement) == null ? void 0 : Q.abbrev) || M.sku.unit.abbrev;
|
|
2660
2661
|
return {
|
|
@@ -2682,7 +2683,7 @@ const xa = { class: "flex flex-col flex-1" }, ka = { class: "flex flex-col" }, C
|
|
|
2682
2683
|
"Ordered quantity",
|
|
2683
2684
|
"Unit"
|
|
2684
2685
|
];
|
|
2685
|
-
n.enableBackdatePo && V.insert("Effective at", 4), n.enableTotalCost && V.push("Total cost"), await
|
|
2686
|
+
n.enableBackdatePo && V.insert("Effective at", 4), n.enableTotalCost && V.push("Total cost"), await ls(
|
|
2686
2687
|
[
|
|
2687
2688
|
{
|
|
2688
2689
|
name: "purchases",
|
|
@@ -2725,7 +2726,7 @@ const xa = { class: "flex flex-col flex-1" }, ka = { class: "flex flex-col" }, C
|
|
|
2725
2726
|
if (N === "export")
|
|
2726
2727
|
return s();
|
|
2727
2728
|
}
|
|
2728
|
-
const { breakpoints: $ } = Je(), c = q(() => $.value.xs || $.value.sm), v = q(() => c.value ? 10 : 20), T =
|
|
2729
|
+
const { breakpoints: $ } = Je(), c = q(() => $.value.xs || $.value.sm), v = q(() => c.value ? 10 : 20), T = us(), E = q(() => [
|
|
2729
2730
|
{
|
|
2730
2731
|
label: b("inventory.transfer.receiveRequest.actions.create"),
|
|
2731
2732
|
value: "create",
|
|
@@ -2805,7 +2806,7 @@ const xa = { class: "flex flex-col flex-1" }, ka = { class: "flex flex-col" }, C
|
|
|
2805
2806
|
});
|
|
2806
2807
|
return (N, B) => {
|
|
2807
2808
|
const V = O("FmTable");
|
|
2808
|
-
return x(), se(
|
|
2809
|
+
return x(), se(ds, {
|
|
2809
2810
|
title: e(b)("inventory.transfer.receiveRequest.title2"),
|
|
2810
2811
|
actions: E.value,
|
|
2811
2812
|
"onClick:action": C
|
|
@@ -2911,5 +2912,5 @@ const xa = { class: "flex flex-col flex-1" }, ka = { class: "flex flex-col" }, C
|
|
|
2911
2912
|
}
|
|
2912
2913
|
});
|
|
2913
2914
|
export {
|
|
2914
|
-
|
|
2915
|
+
Dr as default
|
|
2915
2916
|
};
|