@feedmepos/mf-inventory-portal 0.0.23-dev.9 → 0.0.24-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-D3sNH2MR.js +276 -0
- package/dist/{ApprovalView-e85YmdZN.js → ApprovalView-DHnRx0hJ.js} +17 -20
- package/dist/{BindingsDialog-giBUD0IH.js → BindingsDialog-oTeg2Dai.js} +6 -6
- package/dist/{BindingsPicker-CC4MmPbF.js → BindingsPicker-CWdjmMJ3.js} +8 -9
- package/dist/{BindingsTable-WphZdzrA.js → BindingsTable-bKLR1OKX.js} +18 -22
- package/dist/ClosingDraftView-CIQVz7lY.js +1225 -0
- package/dist/{ClosingTemplateView-1lzoDyet.js → ClosingTemplateView-D5pLzQwU.js} +259 -274
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-ClLDcchC.js +142 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cv-vvzr5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_c6Vn6P.js} +23 -24
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DIFQcrc0.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DhpHOaRH.js} +50 -51
- package/dist/{IngredientGroupView-UegBM_JK.js → IngredientGroupView-4C437mso.js} +63 -70
- package/dist/IngredientsView-DoiGgjre.js +1706 -0
- package/dist/{IntegrationView-FYNNzKia.js → IntegrationView-8ZKE7MAM.js} +123 -126
- package/dist/{InventoryBindingForm-DsHv_IHG.js → InventoryBindingForm-CcnfliYQ.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BURSXafS.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B_J-6C9x.js} +116 -108
- package/dist/{InventoryBindingSummary-BLb4MRPZ.js → InventoryBindingSummary-CRdHCzNE.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BG78-DHs.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B2-TypU0.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CqID5_7v.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BuQde75S.js} +20 -21
- package/dist/PublishView-t5gjGmK_.js +192 -0
- package/dist/{PurchaseOrderPrintPreview-BBMU3teq.js → PurchaseOrderPrintPreview-6i53Y-v1.js} +13 -14
- package/dist/ReceiveRequestView-uOeSh0Mr.js +1866 -0
- package/dist/RecipeView-BTWywckD.js +609 -0
- package/dist/StockView-DN2xk8ei.js +1817 -0
- package/dist/{SupplierView-B2aObtwK.js → SupplierView-l0XUg3J4.js} +185 -196
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CWMn6fFf.js +1327 -0
- package/dist/TransferTemplateView-wDKXpCWZ.js +1263 -0
- package/dist/UnitView-CUI-k-tS.js +648 -0
- package/dist/{WarehouseView-G8pej6Y2.js → WarehouseView-WsI_eG5r.js} +190 -197
- package/dist/api/adjustment-template.d.ts +25 -0
- package/dist/api/bill.d.ts +240 -84
- package/dist/api/inventory.d.ts +19 -6
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/app-DntcWR3_.js +85558 -0
- package/dist/app.d.ts +85 -0
- package/dist/app.js +2 -2
- package/dist/components/FmCustomAttribute.vue.d.ts +23 -0
- package/dist/components/FmLockableField.vue.d.ts +37 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +3 -1
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +3 -1
- package/dist/composable/defineDeepModel.d.ts +1 -1
- package/dist/{decimal-DC07xoJW.js → decimal-DTCTnMwO.js} +1 -1
- package/dist/format-unit-display-Hy48Iw5j.js +1215 -0
- package/dist/index-Bv9RYyTZ.js +29202 -0
- package/dist/{StockView-C5btudss.js → index-D4yJP9I2.js} +2220 -3863
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
- package/dist/router/name.d.ts +2 -0
- package/dist/stock-BsdmfT-b.js +125 -0
- package/dist/stores/feature.d.ts +41 -1
- package/dist/stores/integration/netsuite.d.ts +3 -2
- package/dist/stores/inventory.d.ts +20 -8
- package/dist/stores/location.d.ts +29 -1
- package/dist/stores/supplier.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/supplier-CXhkgC4M.js +77 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-B0G2XYSw.js → use-inventory-binding-dialog-DPMJmBCr.js} +10 -11
- package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
- package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
- package/dist/views/adjustment-template/import/export.d.ts +60 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateReason.vue.d.ts +18 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1377 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
- package/dist/views/adjustment-template/wastage-template/props.d.ts +36 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1351 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +198 -12
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +7 -4
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1559 -467
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
- package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +2 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +72 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +73 -13
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -3
- package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +1 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -2
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +1 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +2 -1
- package/dist/views/publish/PublishView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteInfo.vue.d.ts +12 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +13 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteSync.vue.d.ts +12 -0
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +13 -0
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +86 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +126 -24
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +126 -24
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +120 -42
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -1
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +72 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +72 -12
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +2 -1
- package/dist/vue-i18n-ByVzHsI7.js +2365 -0
- package/package.json +5 -4
- package/dist/App-ByLgARNp.js +0 -259
- package/dist/ClosingDraftView-CQM1Sx45.js +0 -755
- package/dist/FmDroppableField-8RzKjEdL.js +0 -154
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js +0 -436
- package/dist/FmMultiselectDialog-DScMA6iG.js +0 -415
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-t4pim_k9.js +0 -51
- package/dist/IngredientsView-BfW-jZLM.js +0 -1666
- package/dist/ReceiveRequestView-vbANEzne.js +0 -4165
- package/dist/RecipeView-DW4DY0C0.js +0 -598
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B2LOvVef.js +0 -1229
- package/dist/TransferTemplateView-BKumN_p6.js +0 -1262
- package/dist/UnitView-CHLucv9s.js +0 -648
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-BXjk74IB.js +0 -33538
- package/dist/date2-CWAt9bRf.js +0 -117
- package/dist/dayjs.min-D3jPOnu6.js +0 -282
- package/dist/defineDeepModel-CiD4GtOw.js +0 -13
- package/dist/feature-6tcLMotY.js +0 -92
- package/dist/form-mode.enum-BKiNVH6A.js +0 -4
- package/dist/format-time-from-id-CYU5Z9Mt.js +0 -15
- package/dist/format-unit-display-CY-0bznr.js +0 -1217
- package/dist/fuzzy-BMkhNYLR.js +0 -41
- package/dist/index-BXwQa14X.js +0 -45
- package/dist/index-CRLd5xyg.js +0 -22283
- package/dist/index-DqwAtOgI.js +0 -12087
- package/dist/netsuite-fYUUk_ss.js +0 -225
- package/dist/row-action.enum-7rGLGZ5v.js +0 -55
- package/dist/rules-BmRGm3yv.js +0 -203
- package/dist/stock-CEX0DP2B.js +0 -111
- package/dist/supplier-CdJmZr7w.js +0 -77
- package/dist/use-template-enabled-locations-2-xbPJWHCs.js +0 -86
- package/dist/xlsx-CTOKp7SQ.js +0 -24004
- package/dist/xlsx.util-D5NFSfDg.js +0 -78
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { defineComponent as j, computed as i, ref as q, resolveComponent as a, openBlock as k, createBlock as D, unref as p, createSlots as G, withCtx as r, createElementVNode as b, normalizeClass as J, createVNode as n, normalizeStyle as Q, Teleport as W, h } from "vue";
|
|
2
|
+
import { u as X, a as Z, z as ee, _ as te, ae as P } from "./app-DntcWR3_.js";
|
|
3
|
+
import { useBreakpoints as oe, components as ne } from "@feedmepos/ui-library";
|
|
4
|
+
import { u as le } from "./vue-i18n-ByVzHsI7.js";
|
|
5
|
+
const ae = { class: "flex flex-col py-8" }, se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ie = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, pe = /* @__PURE__ */ j({
|
|
6
|
+
__name: "PublishView",
|
|
7
|
+
setup(re) {
|
|
8
|
+
const { t: l } = le(), { breakpoints: y } = oe(), _ = X(), g = Z(), u = i(() => g.state.inventory.updatedAt ? g.state.inventory.updatedAt : null), H = ee(), L = i(() => _.locations), f = i(() => y.value.xs || y.value.sm), R = i(() => f.value ? 10 : 20), Y = i(() => [
|
|
9
|
+
// { label: t('inventory.publish.actions.publishAll'), value: 'publish' }
|
|
10
|
+
]);
|
|
11
|
+
function B(e) {
|
|
12
|
+
switch (e) {
|
|
13
|
+
case "publish":
|
|
14
|
+
console.log("publish all");
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const v = q(!1), I = [
|
|
18
|
+
{
|
|
19
|
+
value: "publish",
|
|
20
|
+
label: l("inventory.publish.actions.publishAll")
|
|
21
|
+
}
|
|
22
|
+
];
|
|
23
|
+
function N(e) {
|
|
24
|
+
switch (v.value = !1, e) {
|
|
25
|
+
case "publish":
|
|
26
|
+
console.log("publish all");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const U = [
|
|
30
|
+
{
|
|
31
|
+
id: "type",
|
|
32
|
+
header: () => l("inventory.publish.columns.type"),
|
|
33
|
+
enableSorting: !0,
|
|
34
|
+
cell(e) {
|
|
35
|
+
return h(ne.FmChip, {
|
|
36
|
+
color: "primary",
|
|
37
|
+
label: e.row.original.type
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
accessorKey: "name",
|
|
43
|
+
header: () => l("inventory.publish.columns.location"),
|
|
44
|
+
enableSorting: !0,
|
|
45
|
+
size: 300
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "version",
|
|
49
|
+
header: () => l("inventory.publish.columns.version"),
|
|
50
|
+
enableSorting: !0,
|
|
51
|
+
cell(e) {
|
|
52
|
+
var t, o;
|
|
53
|
+
return (t = e.row.original.inventory) != null && t.updatedAt ? P((o = e.row.original.inventory) == null ? void 0 : o.updatedAt) : "";
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "status",
|
|
58
|
+
header: () => l("inventory.publish.columns.status"),
|
|
59
|
+
enableSorting: !0,
|
|
60
|
+
cell(e) {
|
|
61
|
+
var o;
|
|
62
|
+
if (!u.value)
|
|
63
|
+
return "";
|
|
64
|
+
const t = ((o = e.row.original.inventory) == null ? void 0 : o.updatedAt) == u.value;
|
|
65
|
+
return h(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
class: "flex"
|
|
69
|
+
},
|
|
70
|
+
h(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
class: [
|
|
74
|
+
"fm-status-badge",
|
|
75
|
+
t ? "fm-status-badge-success-secondary" : "fm-status-badge-info-secondary"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
t ? "Published" : "Outdated"
|
|
79
|
+
)
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// {
|
|
84
|
+
// id: 'action',
|
|
85
|
+
// header: '',
|
|
86
|
+
// cell(props) {
|
|
87
|
+
// return createContextMenuComponents(
|
|
88
|
+
// [DefaultRowActions[RowActionEnum.Edit], DefaultRowActions[RowActionEnum.Delete]],
|
|
89
|
+
// (action) => {
|
|
90
|
+
// onActionMenu(action, props.row.original)
|
|
91
|
+
// }
|
|
92
|
+
// )
|
|
93
|
+
// },
|
|
94
|
+
// enableSorting: false,
|
|
95
|
+
// size: 40,
|
|
96
|
+
// meta: {
|
|
97
|
+
// cellClass: '',
|
|
98
|
+
// headerClass: ''
|
|
99
|
+
// }
|
|
100
|
+
// }
|
|
101
|
+
];
|
|
102
|
+
return (e, t) => {
|
|
103
|
+
const o = a("FmChip"), x = a("FlexRender"), $ = a("TableActionableRow"), E = a("FmTable"), K = a("FmCollapsibleTabs"), O = a("FmBottomSheet");
|
|
104
|
+
return k(), D(te, {
|
|
105
|
+
title: p(l)("inventory.publish.title"),
|
|
106
|
+
actions: Y.value,
|
|
107
|
+
"onClick:action": B
|
|
108
|
+
}, G({
|
|
109
|
+
default: r(() => {
|
|
110
|
+
var w;
|
|
111
|
+
return [
|
|
112
|
+
b("div", {
|
|
113
|
+
class: J([
|
|
114
|
+
"flex flex-col gap-8 max-h-full",
|
|
115
|
+
{
|
|
116
|
+
"p-0": f.value,
|
|
117
|
+
"px-24 ": !f.value
|
|
118
|
+
}
|
|
119
|
+
])
|
|
120
|
+
}, [
|
|
121
|
+
n(E, {
|
|
122
|
+
style: Q(p(H).tableHeight),
|
|
123
|
+
"column-defs": U,
|
|
124
|
+
"row-data": L.value,
|
|
125
|
+
loading: ((w = p(_)._locations) == null ? void 0 : w.length) === 0,
|
|
126
|
+
"loading-text": "Loading",
|
|
127
|
+
"page-size": R.value
|
|
128
|
+
}, {
|
|
129
|
+
"list-row": r((s) => [
|
|
130
|
+
n($, { row: s }, {
|
|
131
|
+
default: r((c) => {
|
|
132
|
+
var S, A, F, d, M, C, T, V, m, z;
|
|
133
|
+
return [
|
|
134
|
+
b("div", ae, [
|
|
135
|
+
b("div", se, [
|
|
136
|
+
n(x, {
|
|
137
|
+
render: (F = (A = (S = c.code) == null ? void 0 : S.column) == null ? void 0 : A.columnDef) == null ? void 0 : F.cell,
|
|
138
|
+
props: (M = (d = c.code) == null ? void 0 : d.getContext) == null ? void 0 : M.call(d)
|
|
139
|
+
}, null, 8, ["render", "props"])
|
|
140
|
+
]),
|
|
141
|
+
b("div", ie, [
|
|
142
|
+
n(x, {
|
|
143
|
+
render: (V = (T = (C = c.name) == null ? void 0 : C.column) == null ? void 0 : T.columnDef) == null ? void 0 : V.cell,
|
|
144
|
+
props: (z = (m = c.name) == null ? void 0 : m.getContext) == null ? void 0 : z.call(m)
|
|
145
|
+
}, null, 8, ["render", "props"])
|
|
146
|
+
])
|
|
147
|
+
])
|
|
148
|
+
];
|
|
149
|
+
}),
|
|
150
|
+
_: 2
|
|
151
|
+
}, 1032, ["row"])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}, 8, ["style", "row-data", "loading", "page-size"])
|
|
155
|
+
], 2),
|
|
156
|
+
(k(), D(W, { to: "body" }, [
|
|
157
|
+
n(O, {
|
|
158
|
+
"dismiss-away": "",
|
|
159
|
+
modelValue: v.value,
|
|
160
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => v.value = s)
|
|
161
|
+
}, {
|
|
162
|
+
default: r(() => [
|
|
163
|
+
n(K, {
|
|
164
|
+
class: "pb-8",
|
|
165
|
+
items: I,
|
|
166
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => N(s))
|
|
167
|
+
})
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}, 8, ["modelValue"])
|
|
171
|
+
]))
|
|
172
|
+
];
|
|
173
|
+
}),
|
|
174
|
+
_: 2
|
|
175
|
+
}, [
|
|
176
|
+
u.value ? {
|
|
177
|
+
name: "headerInfo",
|
|
178
|
+
fn: r(() => [
|
|
179
|
+
n(o, {
|
|
180
|
+
variant: "info",
|
|
181
|
+
label: `Latest: ${p(P)(u.value)}`
|
|
182
|
+
}, null, 8, ["label"])
|
|
183
|
+
]),
|
|
184
|
+
key: "0"
|
|
185
|
+
} : void 0
|
|
186
|
+
]), 1032, ["title", "actions"]);
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
export {
|
|
191
|
+
pe as default
|
|
192
|
+
};
|
package/dist/{PurchaseOrderPrintPreview-BBMU3teq.js → PurchaseOrderPrintPreview-6i53Y-v1.js}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as
|
|
1
|
+
import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as d, createCommentVNode as p, renderList as v, normalizeClass as w } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { y } from "./app-
|
|
4
|
-
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import { ar as y, ad as C } from "./app-DntcWR3_.js";
|
|
5
4
|
const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "text-right" }, N = { class: "header" }, E = { class: "sub-header" }, O = { class: "caption" }, S = { class: "address" }, D = { class: "text-right" }, T = { class: "sub-header" }, q = { class: "address" }, F = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, B = { valign: "bottom" }, H = { class: "header" }, I = { class: "caption" }, M = {
|
|
6
5
|
class: "text-left",
|
|
7
6
|
style: { width: "20%" }
|
|
@@ -52,7 +51,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
52
51
|
t("div", S, [
|
|
53
52
|
i(l(s.value.supplier.line1), 1),
|
|
54
53
|
e[2] || (e[2] = t("br", null, null, -1)),
|
|
55
|
-
s.value.supplier.line2 ? (n(), u(
|
|
54
|
+
s.value.supplier.line2 ? (n(), u(d, { key: 0 }, [
|
|
56
55
|
i(l(s.value.supplier.line2), 1),
|
|
57
56
|
e[1] || (e[1] = t("br", null, null, -1))
|
|
58
57
|
], 64)) : p("", !0),
|
|
@@ -68,7 +67,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
68
67
|
t("div", q, [
|
|
69
68
|
i(l(s.value.buyer.line1), 1),
|
|
70
69
|
e[7] || (e[7] = t("br", null, null, -1)),
|
|
71
|
-
s.value.buyer.line2 ? (n(), u(
|
|
70
|
+
s.value.buyer.line2 ? (n(), u(d, { key: 0 }, [
|
|
72
71
|
i(l(s.value.buyer.line2), 1),
|
|
73
72
|
e[6] || (e[6] = t("br", null, null, -1))
|
|
74
73
|
], 64)) : p("", !0),
|
|
@@ -100,7 +99,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
100
99
|
])
|
|
101
100
|
], -1)),
|
|
102
101
|
t("tbody", null, [
|
|
103
|
-
(n(!0), u(
|
|
102
|
+
(n(!0), u(d, null, v(s.value.items, (r, a) => (n(), u("tr", { key: a }, [
|
|
104
103
|
t("td", L, l(r.code), 1),
|
|
105
104
|
t("td", U, l(r.description), 1),
|
|
106
105
|
t("td", {
|
|
@@ -120,7 +119,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
120
119
|
t("div", z, [
|
|
121
120
|
e[12] || (e[12] = t("hr", null, null, -1)),
|
|
122
121
|
e[13] || (e[13] = i(" Delivery History: ")),
|
|
123
|
-
(n(!0), u(
|
|
122
|
+
(n(!0), u(d, null, v(s.value.deliveryOrders, (r, a) => (n(), u("div", {
|
|
124
123
|
key: a,
|
|
125
124
|
style: { padding: "10px 30px" }
|
|
126
125
|
}, [
|
|
@@ -136,11 +135,11 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
136
135
|
t("div", null, [
|
|
137
136
|
t("table", null, [
|
|
138
137
|
t("tbody", null, [
|
|
139
|
-
(n(!0), u(
|
|
140
|
-
t("td", M, l(
|
|
141
|
-
t("td", J, l(
|
|
142
|
-
t("td", Q, l(
|
|
143
|
-
t("td", j, l(
|
|
138
|
+
(n(!0), u(d, null, v(r.items, (o, _) => (n(), u("tr", { key: _ }, [
|
|
139
|
+
t("td", M, l(o.code), 1),
|
|
140
|
+
t("td", J, l(o.description), 1),
|
|
141
|
+
t("td", Q, l(o.quantity), 1),
|
|
142
|
+
t("td", j, l(o.unit), 1)
|
|
144
143
|
]))), 128))
|
|
145
144
|
])
|
|
146
145
|
])
|
|
@@ -149,7 +148,7 @@ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "tex
|
|
|
149
148
|
])
|
|
150
149
|
]));
|
|
151
150
|
}
|
|
152
|
-
}),
|
|
151
|
+
}), $ = /* @__PURE__ */ C(G, [["__scopeId", "data-v-92a03d5c"]]);
|
|
153
152
|
export {
|
|
154
|
-
|
|
153
|
+
$ as default
|
|
155
154
|
};
|