@feedmepos/mf-inventory-portal 1.6.0 → 1.6.1-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-EFQddl2W.js → App-D7SR5dnB.js} +4 -4
- package/dist/{ApprovalView-DQG8Ti9p.js → ApprovalView-Bi7AgvV0.js} +24 -23
- package/dist/{BindingsDialog-D2IwJvme.js → BindingsDialog-BD8B6cZy.js} +2 -2
- package/dist/{BindingsPicker-ZGbgh9Vk.js → BindingsPicker-CRvmtsFb.js} +2 -2
- package/dist/{BindingsTable-Dgs2Od1_.js → BindingsTable-DJ1lLYOb.js} +3 -3
- package/dist/BulkReceiveRequestView-CZHXfukP.js +2000 -0
- package/dist/{ClosingDraftView-DGz2x5Lp.js → ClosingDraftView-DV1KPp2W.js} +27 -28
- package/dist/{ClosingHistoryView-SvbQFffP.js → ClosingHistoryView-C8fzDS5T.js} +5 -5
- package/dist/{ClosingTemplateView-LIyUAZ7a.js → ClosingTemplateView-qPT5Li2w.js} +14 -14
- package/dist/{DefaultView-B96qddHF.js → DefaultView-NF80xSuv.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DWQ6hyoL.js → DeliveryOrderPrintPreview-B12J3W3U.js} +11 -11
- package/dist/{ReceiveRequestView-BP7KFzO6.js → EmailDialog.vue_vue_type_script_setup_true_lang-CoPqmpvz.js} +12571 -12873
- package/dist/FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js +61 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BfRdyxp5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_mANlF3.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js +237 -0
- package/dist/{FmMultiselectDialog-B1O653NS.js → FmMultiselectDialog-Btal-2Li.js} +50 -44
- package/dist/{FmMultiselectDialog-SDMUzTex.js → FmMultiselectDialog-OVoHPzMx.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D8u2M7r1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ClqEZkaP.js} +5 -5
- package/dist/{ImportView-BSlnGvlm.js → ImportView-CKXu4c1J.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DaihxdpF.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C-fgSyVq.js} +1 -1
- package/dist/{IngredientGroupView-Dy1fLXHf.js → IngredientGroupView-pwMYUotb.js} +21 -21
- package/dist/{IngredientsView-Dno8kdrq.js → IngredientsView-BzKhRbX3.js} +17 -17
- package/dist/{IntegrationExplorerView-C_5XKtMn.js → IntegrationExplorerView-BN8bTTW9.js} +352 -352
- package/dist/IntegrationView-DcERomsi.js +5791 -0
- package/dist/{InventoryBindingForm-YQFbS1hV.js → InventoryBindingForm-q_IGvaah.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CMXe46hm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0ti9a4bq.js} +5 -5
- package/dist/{InventoryBindingSummary-DQEoKMWr.js → InventoryBindingSummary-aMQ0ZWgu.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CcJ7YBY5.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpIGbDcW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DdTdixxy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CeMi5AJ0.js} +1 -1
- package/dist/{PublishView-Cv8penOo.js → PublishView-vOeknkUB.js} +61 -56
- package/dist/{PurchaseOrderPrintPreview-BvbaFNpc.js → PurchaseOrderPrintPreview-2dot6xAa.js} +9 -9
- package/dist/ReceiveRequestView-B9k1gWme.js +345 -0
- package/dist/{RecipeView-DU0QKiC9.js → RecipeView-PRj4zn8p.js} +17 -17
- package/dist/{SettingsView-DYNFioZF.js → SettingsView-CzxZ18_g.js} +4 -4
- package/dist/{StockView-CzdVLGZy.js → StockView-o-WD1-0x.js} +28 -27
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DyDTSy_F.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9bLM6Gi.js} +1 -1
- package/dist/{SupplierView-BxbGPyPv.js → SupplierView-CMww3rSL.js} +12 -12
- package/dist/{SurchargeView-DIxfUVfT.js → SurchargeView-D9KFsMtR.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-g0AfgEFk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-EXFK8KkU.js} +6 -5
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DsLOwuNG.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B9xb2r9v.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CxVlssDF.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bl9bVtVE.js} +1406 -1399
- package/dist/{TransferTemplateView-DRqghp1v.js → TransferTemplateView-BTL8deN-.js} +20 -20
- package/dist/{UnitCostHistoryView-BCQDTDOB.js → UnitCostHistoryView-D6n2ujRf.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BikZCEmA.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js} +10 -11
- package/dist/{UnitView-BXoXHqYc.js → UnitView-DNZW6dI4.js} +7 -7
- package/dist/{WarehouseView-DtnB7VJj.js → WarehouseView-gb9pJmNu.js} +5 -5
- package/dist/{WastageTemplateView-SNpTF3AP.js → WastageTemplateView-CGaEJXJv.js} +14 -14
- package/dist/api/purchase-order.d.ts +2 -1
- package/dist/api/supplier.d.ts +1 -0
- package/dist/{app-DTBAhC9s.js → app-Dsbvoxur.js} +1538 -977
- package/dist/app.d.ts +549 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-DBDqx2IR.js → closing-template-p88yK47D.js} +1 -1
- package/dist/components/FmMultiselectDialog.vue.d.ts +8 -4
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/MultiLocationSelector.vue.d.ts +202 -0
- package/dist/{date2-BD3_Vr8I.js → date2-CtLHtGs5.js} +1 -1
- package/dist/{dayjs.min-CGyhCaEH.js → dayjs.min-B2OqD5Yb.js} +12 -12
- package/dist/{decimal-CnReZARa.js → decimal-Clk9Ewzg.js} +2 -2
- package/dist/{defineDeepModel-BCBQ-V52.js → defineDeepModel-B2OEZDfH.js} +1 -1
- package/dist/{duplicate-template-Dpb2sb-q.js → duplicate-template-B2POVQAS.js} +1 -1
- package/dist/{feature-BACkglr0.js → feature-CLIj8wgr.js} +70 -65
- package/dist/{format-time-from-id-CxJLjrBT.js → format-time-from-id-DdReiNfK.js} +1 -1
- package/dist/{format-unit-display-BUfzwU3m.js → format-unit-display-iz29tCVo.js} +12 -12
- package/dist/{import-export.helper-DttYDeho.js → import-export.helper-DlHAA9zA.js} +6 -6
- package/dist/{index-DGxWBGVv.js → index-B5Ojq711.js} +1 -1
- package/dist/{index-tFtJuoxA.js → index-CswTgtml.js} +3 -3
- package/dist/{index-BY8NVCx7.js → index-Dkl97ykE.js} +1 -1
- package/dist/{inventory-core-dart.default-DIKTKc_1.js → inventory-core-dart.default-FvRrnQri.js} +355 -328
- package/dist/jszip.min-dfImtC94.js +2322 -0
- package/dist/{lz-string-CwPU-SlY.js → lz-string-D1kxEFLt.js} +1 -1
- package/dist/{netsuite-B9XrL1RC.js → netsuite-C_Gph48P.js} +1570 -1509
- package/dist/{number-DKjrPhev.js → number-CTKxLav6.js} +3 -3
- package/dist/{predefined-templates-CQvQIvR-.js → predefined-templates-B2sDdw2Z.js} +1 -1
- package/dist/{purchase-order-template-NA3Qn9lf.js → purchase-order-template-DVDMAhJa.js} +1 -1
- package/dist/{recalculationUtils-Ll9Jy0C-.js → recalculationUtils-BNTXhTSX.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-DtBEn-Rn.js → rules-CRnEoheI.js} +2 -2
- package/dist/{stock-PIkXqbIP.js → stock-CeogHsSl.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/supplier-DmbVK4Tn.js +83 -0
- package/dist/{surcharge-C8PXRjfJ.js → surcharge-Bm3TRth-.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DddX9wN4.js → uom-rules-BmtdGlz9.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DWQxhfQD.js → use-ingredient-select-dialog-Bm9296fn.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BWSMrzp1.js → use-inventory-binding-dialog-HYJiNm8y.js} +2 -2
- package/dist/{use-template-enabled-locations-3DN8aZBs.js → use-template-enabled-locations-DSEcyYzM.js} +2 -2
- package/dist/{use-transfer-locations-DnybeRXF.js → use-transfer-locations-vpiv_TeO.js} +8 -8
- package/dist/{useHrmPermission-ymQe-N7i.js → useHrmPermission-DAncjlGt.js} +1 -1
- package/dist/{useNavigationMenu-D88-0QxA.js → useNavigationMenu-BG_AH0Xf.js} +43 -38
- package/dist/{useSseClient-CWNMcLEX.js → useSseClient-CuLS50U2.js} +3 -3
- package/dist/views/integration/components/binding-import/BindingImportPreview.vue.d.ts +22 -0
- package/dist/views/integration/components/binding-import/ImportBindings.vue.d.ts +444 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/core.d.ts +43 -0
- package/dist/views/integration/helper/binding-import/types.d.ts +100 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +194 -0
- package/dist/views/receive-request-bulk/BulkReceiveRequestView.vue.d.ts +3 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.vue.d.ts +25 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +4138 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +771 -0
- package/dist/{vue-i18n-D7c0eqQP.js → vue-i18n-Tl34av_i.js} +398 -398
- package/dist/{xlsx-DXHnJflt.js → xlsx.util-CJaAO-II.js} +2594 -2497
- package/package.json +5 -4
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--A4q92Mt.js +0 -293
- package/dist/IntegrationView-D2_2A1ve.js +0 -5100
- package/dist/supplier-B5LWMrcL.js +0 -78
- package/dist/xlsx.util-PhY8wVQG.js +0 -101
|
@@ -2,26 +2,25 @@ import { defineComponent as De, ref as Q, computed as S, onMounted as nn, resolv
|
|
|
2
2
|
import { u as Gn, _ as Hn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
3
|
import { useCoreStore as on, useI18n as Qe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as ze, useDialog as an, components as ye, useProxiedModel as Ft, useBreakpoints as Yn } from "@feedmepos/ui-library";
|
|
5
|
-
import { m as Kn, u as Oe, M as de, w as oe, q as sn, s as Ae, O as _e, B as Re, c as Wn, a as It, j as qn } from "./app-
|
|
5
|
+
import { m as Kn, u as Oe, M as de, w as oe, q as sn, s as Ae, O as _e, B as Re, c as Wn, a as It, j as qn } from "./app-Dsbvoxur.js";
|
|
6
6
|
import { defineStore as rn, storeToRefs as Qn } from "pinia";
|
|
7
|
-
import { b as mt, e as ln, f as Jn, a as $e } from "./date2-
|
|
8
|
-
import { R as cn } from "./rules-
|
|
9
|
-
import { e as yt, a as At, t as un, c as qe, l as dn, m as mn, j as ft, k as fn, o as ie } from "./number-
|
|
10
|
-
import { b as Zn, d as Xn } from "./xlsx.util-
|
|
11
|
-
import { i as Bt, u as Tt } from "./uom-rules-
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as gt } from "./stock-
|
|
7
|
+
import { b as mt, e as ln, f as Jn, a as $e } from "./date2-CtLHtGs5.js";
|
|
8
|
+
import { R as cn } from "./rules-CRnEoheI.js";
|
|
9
|
+
import { e as yt, a as At, t as un, c as qe, l as dn, m as mn, j as ft, k as fn, o as ie } from "./number-CTKxLav6.js";
|
|
10
|
+
import { b as Zn, d as Xn, c as eo, u as ut, w as to } from "./xlsx.util-CJaAO-II.js";
|
|
11
|
+
import { i as Bt, u as Tt } from "./uom-rules-BmtdGlz9.js";
|
|
12
|
+
import { u as no, a as oo } from "./useSseClient-CuLS50U2.js";
|
|
13
|
+
import { u as gt } from "./stock-CeogHsSl.js";
|
|
14
14
|
import { D as en, R as Ve } from "./row-action.enum-DQ9bJ_uv.js";
|
|
15
|
-
import { c as
|
|
16
|
-
import { f as
|
|
17
|
-
import { f as
|
|
18
|
-
import { _ as
|
|
15
|
+
import { c as ao } from "./component-kqxARxvM.js";
|
|
16
|
+
import { f as so } from "./format-time-from-id-DdReiNfK.js";
|
|
17
|
+
import { f as ro } from "./recalculationUtils-BNTXhTSX.js";
|
|
18
|
+
import { _ as lo } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
19
19
|
import { _ as pn } from "./empty-placeholder-B0QU467o.js";
|
|
20
20
|
import { F as $t } from "./FmAdminBadge-DjnBAgyv.js";
|
|
21
|
-
import { u as
|
|
22
|
-
import { F as
|
|
23
|
-
import {
|
|
24
|
-
import { d as uo } from "./dayjs.min-CGyhCaEH.js";
|
|
21
|
+
import { u as io } from "./vue-i18n-Tl34av_i.js";
|
|
22
|
+
import { F as co } from "./decimal-Clk9Ewzg.js";
|
|
23
|
+
import { d as uo } from "./dayjs.min-B2OqD5Yb.js";
|
|
25
24
|
import { F as mo } from "./FmDroppableField-J0xUsOTV.js";
|
|
26
25
|
import { _ as fo } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-DLrMEGFR.js";
|
|
27
26
|
import { F as Ye, _ as po } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
@@ -613,7 +612,7 @@ const So = { class: "flex flex-col" }, Fo = {
|
|
|
613
612
|
}), pt = rn(
|
|
614
613
|
"closingDraftActions",
|
|
615
614
|
function() {
|
|
616
|
-
const n = an(), e = ze(), o = gt(), i = Me(), s =
|
|
615
|
+
const n = an(), e = ze(), o = gt(), i = Me(), s = no(), r = Tt(), u = Q(!1), c = Q();
|
|
617
616
|
function b(A) {
|
|
618
617
|
const w = {
|
|
619
618
|
draft: A
|
|
@@ -884,7 +883,7 @@ const vn = rn(
|
|
|
884
883
|
}
|
|
885
884
|
}
|
|
886
885
|
function U(g) {
|
|
887
|
-
const k =
|
|
886
|
+
const k = ro(
|
|
888
887
|
g.filter((x) => !!x.closingId).map((x) => ({ closingId: x.closingId, draftCreatedAt: new Date(Re(x._id)) }))
|
|
889
888
|
);
|
|
890
889
|
return g.map((x) => ({
|
|
@@ -993,7 +992,7 @@ const vn = rn(
|
|
|
993
992
|
accessorKey: "_id",
|
|
994
993
|
header: () => n("inventory.closing.table.createdAt"),
|
|
995
994
|
cell(g) {
|
|
996
|
-
return
|
|
995
|
+
return so(`${g.getValue()}`);
|
|
997
996
|
},
|
|
998
997
|
sortingFn: (g, k) => new Date(Re(g.original._id)).getTime() - new Date(Re(k.original._id)).getTime(),
|
|
999
998
|
enableSorting: !0
|
|
@@ -1151,7 +1150,7 @@ const vn = rn(
|
|
|
1151
1150
|
value: Ve.Duplicate
|
|
1152
1151
|
}
|
|
1153
1152
|
] : [];
|
|
1154
|
-
return
|
|
1153
|
+
return ao(
|
|
1155
1154
|
[
|
|
1156
1155
|
...ee,
|
|
1157
1156
|
...k.status === _e.enum.DRAFT ? X : []
|
|
@@ -1238,7 +1237,7 @@ const No = { class: "fm-typo-en-heading-lg-600" }, Vo = { class: "py-4" }, Eo =
|
|
|
1238
1237
|
},
|
|
1239
1238
|
emits: ["update:show", "refresh", "approve"],
|
|
1240
1239
|
setup(t, { emit: n }) {
|
|
1241
|
-
const { FmStepper: e, FmStep: o, FmDialog: i, FmButton: s } = ye, { t: r } =
|
|
1240
|
+
const { FmStepper: e, FmStep: o, FmDialog: i, FmButton: s } = ye, { t: r } = io(), u = It(), c = t, b = n, y = S(
|
|
1242
1241
|
() => {
|
|
1243
1242
|
var $, Y;
|
|
1244
1243
|
return (($ = c.draft) == null ? void 0 : $.stockSnapshot) && ((Y = c.draft) == null ? void 0 : Y.stockSnapshot) !== void 0;
|
|
@@ -1516,7 +1515,7 @@ const No = { class: "fm-typo-en-heading-lg-600" }, Vo = { class: "py-4" }, Eo =
|
|
|
1516
1515
|
}
|
|
1517
1516
|
});
|
|
1518
1517
|
function ia(t) {
|
|
1519
|
-
const n = Me(), e =
|
|
1518
|
+
const n = Me(), e = oo(), o = ze(), { t: i } = Qe(), s = Q(!1), r = Q(null);
|
|
1520
1519
|
let u = !1, c = null, b = !1, y = !1;
|
|
1521
1520
|
function I() {
|
|
1522
1521
|
L();
|
|
@@ -2819,7 +2818,7 @@ const Ca = { class: "fm-typo-en-body-lg-400" }, Aa = { class: "fm-typo-en-body-l
|
|
|
2819
2818
|
accessorFn: (l) => {
|
|
2820
2819
|
var V;
|
|
2821
2820
|
const v = (V = h.value.find((W) => W.id === l.id)) == null ? void 0 : V.balance;
|
|
2822
|
-
return v ?
|
|
2821
|
+
return v ? co.toDouble(v) : l.physicalBalance;
|
|
2823
2822
|
},
|
|
2824
2823
|
header: () => we("Stock Take balance", "The physical balance recorded during stock take."),
|
|
2825
2824
|
cell(l) {
|
|
@@ -3617,7 +3616,7 @@ async function ar(t) {
|
|
|
3617
3616
|
o.onload = (i) => {
|
|
3618
3617
|
var s;
|
|
3619
3618
|
try {
|
|
3620
|
-
const r = (s = i.target) == null ? void 0 : s.result, u =
|
|
3619
|
+
const r = (s = i.target) == null ? void 0 : s.result, u = eo(r, { type: "array" }), c = u.SheetNames[0], b = u.Sheets[c], y = ut.sheet_to_json(b, {
|
|
3621
3620
|
header: 1,
|
|
3622
3621
|
defval: ""
|
|
3623
3622
|
}), I = (j) => String(j).trim().toLowerCase().replace(/^\uFEFF/, ""), E = y.findIndex(
|
|
@@ -3679,7 +3678,7 @@ function lr(t, n) {
|
|
|
3679
3678
|
["Code", "Name", "Balance"],
|
|
3680
3679
|
...e.map((c) => [c.code, c.name, ""])
|
|
3681
3680
|
], r = ut.aoa_to_sheet(s), u = ut.book_new();
|
|
3682
|
-
ut.book_append_sheet(u, r, "Template"),
|
|
3681
|
+
ut.book_append_sheet(u, r, "Template"), to(u, i, { bookType: "csv" });
|
|
3683
3682
|
}
|
|
3684
3683
|
function ir() {
|
|
3685
3684
|
const t = Q([]), n = Q([]), e = Q(!1), o = It(), i = Oe(), s = gt(), r = S(
|
|
@@ -4120,7 +4119,7 @@ const cr = { class: "flex flex-col gap-16" }, ur = {
|
|
|
4120
4119
|
}), jr = ["onClick"], Pr = { class: "flex items-start gap-8" }, Rr = { class: "fm-typo-body-md-400 line-clamp-3 w-full" }, Mr = { class: "flex flex-col gap-8" }, Ur = { class: "flex items-start gap-4" }, Nr = { class: "flex-1 flex flex-col gap-8" }, Vr = { class: "flex flex-col" }, Er = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Lr = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, zr = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Or = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, Gr = {
|
|
4121
4120
|
key: 0,
|
|
4122
4121
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
4123
|
-
},
|
|
4122
|
+
}, hl = /* @__PURE__ */ De({
|
|
4124
4123
|
__name: "ClosingDraftView",
|
|
4125
4124
|
setup(t) {
|
|
4126
4125
|
const { t: n } = Qe(), { viewDraft: e } = pt(), { viewClosingDraftProps: o, viewClosingDraftShow: i } = Qn(pt()), s = Oe(), r = vn(), u = Gn(), { breakpoints: c } = Yn();
|
|
@@ -4194,7 +4193,7 @@ const cr = { class: "flex flex-col gap-16" }, ur = {
|
|
|
4194
4193
|
}
|
|
4195
4194
|
])
|
|
4196
4195
|
}, [
|
|
4197
|
-
D(
|
|
4196
|
+
D(lo, {
|
|
4198
4197
|
"change-location": "",
|
|
4199
4198
|
searchable: "",
|
|
4200
4199
|
search: y.value,
|
|
@@ -4316,5 +4315,5 @@ const cr = { class: "flex flex-col gap-16" }, ur = {
|
|
|
4316
4315
|
}
|
|
4317
4316
|
});
|
|
4318
4317
|
export {
|
|
4319
|
-
|
|
4318
|
+
hl as default
|
|
4320
4319
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as se, ref as g, computed as w, watch as ce, resolveComponent as x, openBlock as n, createElementBlock as y, createBlock as z, withModifiers as me, createCommentVNode as b, createVNode as _, withCtx as R, createElementVNode as o, toDisplayString as a, unref as i, Fragment as Q, createTextVNode as ee, renderList as ne, normalizeClass as fe, h as q, Teleport as ye } from "vue";
|
|
2
2
|
import { _ as ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
3
|
import { useI18n as ie, useCoreStore as he } from "@feedmepos/mf-common";
|
|
4
|
-
import { E as re, B as N, a as _e, u as be } from "./app-
|
|
4
|
+
import { E as re, B as N, a as _e, u as be } from "./app-Dsbvoxur.js";
|
|
5
5
|
import { F as ue } from "./FmAdminBadge-DjnBAgyv.js";
|
|
6
|
-
import { _ as ke } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang
|
|
6
|
+
import { _ as ke } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
7
7
|
import { useSnackbar as de, useDialog as xe } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as pe } from "./stock-
|
|
9
|
-
import { g as ve, f as De } from "./recalculationUtils-
|
|
10
|
-
import { _ as we } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as pe } from "./stock-CeogHsSl.js";
|
|
9
|
+
import { g as ve, f as De } from "./recalculationUtils-BNTXhTSX.js";
|
|
10
|
+
import { _ as we } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js";
|
|
11
11
|
const Se = { class: "fm-typo-en-heading-lg-600" }, Ve = { class: "flex flex-col gap-16" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, $e = { class: "flex flex-col gap-8" }, Ae = { class: "fm-typo-en-body-md-600" }, Fe = { class: "flex flex-col gap-8" }, Re = { class: "fm-typo-en-body-md-600" }, Ie = { class: "flex items-center gap-8 mb-8" }, Be = {
|
|
12
12
|
key: 2,
|
|
13
13
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -4,23 +4,23 @@ import { useI18n as ne, useCoreStore as Ce } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialog as _e, useDialogChild as et, useSnackbar as xe, FmButtonVariant as fe, components as tt, useProxiedModel as ot, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Be, storeToRefs as Ne } from "pinia";
|
|
6
6
|
import { F as te } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as we } from "./closing-template-
|
|
8
|
-
import { u as Ie, c as Ue, a as De, l as st } from "./app-
|
|
9
|
-
import { t as be, a as Se, d as Ae, s as Le, r as at } from "./xlsx.util-
|
|
7
|
+
import { a as we } from "./closing-template-p88yK47D.js";
|
|
8
|
+
import { u as Ie, c as Ue, a as De, l as st } from "./app-Dsbvoxur.js";
|
|
9
|
+
import { t as be, a as Se, d as Ae, s as Le, r as at } from "./xlsx.util-CJaAO-II.js";
|
|
10
10
|
import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
-
import { f as Ve, a as ge } from "./date2-
|
|
11
|
+
import { f as Ve, a as ge } from "./date2-CtLHtGs5.js";
|
|
12
12
|
import { D as ye, R as Y } from "./row-action.enum-DQ9bJ_uv.js";
|
|
13
13
|
import { c as rt } from "./component-kqxARxvM.js";
|
|
14
|
-
import { f as it } from "./format-time-from-id-
|
|
15
|
-
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as mt } from "./netsuite-
|
|
17
|
-
import { u as dt } from "./duplicate-template-
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang
|
|
19
|
-
import { R as pt, A as ft } from "./rules-
|
|
20
|
-
import { u as ze } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as yt } from "./defineDeepModel-
|
|
22
|
-
import { u as vt } from "./use-template-enabled-locations-
|
|
23
|
-
import { _ as gt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as it } from "./format-time-from-id-DdReiNfK.js";
|
|
15
|
+
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B9xb2r9v.js";
|
|
16
|
+
import { u as mt } from "./netsuite-C_Gph48P.js";
|
|
17
|
+
import { u as dt } from "./duplicate-template-B2POVQAS.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js";
|
|
19
|
+
import { R as pt, A as ft } from "./rules-CRnEoheI.js";
|
|
20
|
+
import { u as ze } from "./use-ingredient-select-dialog-Bm9296fn.js";
|
|
21
|
+
import { d as yt } from "./defineDeepModel-B2OEZDfH.js";
|
|
22
|
+
import { u as vt } from "./use-template-enabled-locations-DSEcyYzM.js";
|
|
23
|
+
import { _ as gt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-EXFK8KkU.js";
|
|
24
24
|
import { _ as bt, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
25
25
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const ke = Be(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as f, watchEffect as d, resolveComponent as n, openBlock as _, createElementBlock as v, createVNode as o, createElementVNode as c } from "vue";
|
|
2
2
|
import { useRouter as g } from "vue-router";
|
|
3
3
|
import { useCoreStore as x } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as S } from "./useNavigationMenu-
|
|
5
|
-
import { u as y } from "./feature-
|
|
4
|
+
import { u as S } from "./useNavigationMenu-BG_AH0Xf.js";
|
|
5
|
+
import { u as y } from "./feature-CLIj8wgr.js";
|
|
6
6
|
const C = { class: "flex flex-col items-center w-full h-full gap-24" }, V = /* @__PURE__ */ p({
|
|
7
7
|
__name: "DefaultView",
|
|
8
8
|
setup(F) {
|
package/dist/{DeliveryOrderPrintPreview-DWQ6hyoL.js → DeliveryOrderPrintPreview-B12J3W3U.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as x, computed as g, ref as h, onMounted as _, openBlock as i, createElementBlock as u, createElementVNode as t, createTextVNode as n, toDisplayString as l, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as c } from "vue";
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
|
3
|
-
import {
|
|
4
|
-
import { L as k } from "./lz-string-
|
|
3
|
+
import { V as b } from "./app-Dsbvoxur.js";
|
|
4
|
+
import { L as k } from "./lz-string-D1kxEFLt.js";
|
|
5
5
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const P = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub-header" }, C = ["src"], D = { style: { "padding-left": "10px" } }, O = { class: "address" }, R = { class: "text-right" }, S = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "subtitle"
|
|
9
|
-
}, F = { class: "sub-header" }, T = { class: "caption" }, I = { class: "address" }, q = { class: "text-right" }, L = { class: "sub-header" }, U = { class: "address" },
|
|
9
|
+
}, F = { class: "sub-header" }, T = { class: "caption" }, I = { class: "address" }, q = { class: "text-right" }, L = { class: "sub-header" }, U = { class: "address" }, V = { class: "purchase-body" }, B = { class: "text-left" }, H = { class: "text-left" }, M = { class: "text-left" }, J = { class: "text-left" }, j = { class: "text-left" }, z = { class: "text-right" }, G = { key: 0 }, Q = {
|
|
10
10
|
key: 1,
|
|
11
11
|
style: { "padding-top": "30px" }
|
|
12
12
|
}, Z = { valign: "bottom" }, K = { class: "header" }, W = { class: "caption" }, X = {
|
|
@@ -114,7 +114,7 @@ const P = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub
|
|
|
114
114
|
])
|
|
115
115
|
])
|
|
116
116
|
]),
|
|
117
|
-
t("div",
|
|
117
|
+
t("div", V, [
|
|
118
118
|
t("table", null, [
|
|
119
119
|
e[19] || (e[19] = t("thead", { class: "item-header" }, [
|
|
120
120
|
t("tr", null, [
|
|
@@ -134,9 +134,9 @@ const P = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub
|
|
|
134
134
|
], -1)),
|
|
135
135
|
t("tbody", null, [
|
|
136
136
|
t("tr", null, [
|
|
137
|
-
t("td",
|
|
138
|
-
t("td",
|
|
139
|
-
t("td",
|
|
137
|
+
t("td", B, l(s.value.orderNumber), 1),
|
|
138
|
+
t("td", H, l(s.value.ref), 1),
|
|
139
|
+
t("td", M, l(s.value.supplier.phoneNumber), 1)
|
|
140
140
|
])
|
|
141
141
|
])
|
|
142
142
|
]),
|
|
@@ -161,7 +161,7 @@ const P = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub
|
|
|
161
161
|
t("tbody", null, [
|
|
162
162
|
(i(!0), u(o, null, p(s.value.items, (r, a) => (i(), u("tr", { key: a }, [
|
|
163
163
|
t("td", J, l(a + 1), 1),
|
|
164
|
-
t("td",
|
|
164
|
+
t("td", j, l(r.description), 1),
|
|
165
165
|
t("td", {
|
|
166
166
|
class: c(["text-right", {
|
|
167
167
|
"text-green-5": r.received == r.quantity,
|
|
@@ -169,14 +169,14 @@ const P = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub
|
|
|
169
169
|
"text-warning": r.received != r.quantity
|
|
170
170
|
}])
|
|
171
171
|
}, l(r.received + "/" + r.quantity), 3),
|
|
172
|
-
t("td",
|
|
172
|
+
t("td", z, l(r.unit), 1)
|
|
173
173
|
]))), 128))
|
|
174
174
|
])
|
|
175
175
|
])
|
|
176
176
|
]),
|
|
177
177
|
e[24] || (e[24] = t("hr", null, null, -1)),
|
|
178
|
-
s.value.remark ? (i(), u("div",
|
|
179
|
-
s.value.deliveryOrders.length > 0 ? (i(), u("div",
|
|
178
|
+
s.value.remark ? (i(), u("div", G, "Remark: " + l(s.value.remark), 1)) : d("", !0),
|
|
179
|
+
s.value.deliveryOrders.length > 0 ? (i(), u("div", Q, [
|
|
180
180
|
e[21] || (e[21] = t("hr", null, null, -1)),
|
|
181
181
|
e[22] || (e[22] = n(" Delivery History: ")),
|
|
182
182
|
(i(!0), u(o, null, p(s.value.deliveryOrders, (r, a) => (i(), u("div", {
|