@feedmepos/mf-inventory-portal 0.0.5
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/README.md +31 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/ApprovalView-CTQdDgGH.js +119 -0
- package/dist/BindingsDialog-DvX_DRsO.js +82 -0
- package/dist/BindingsPicker-CQIGhTCR.js +124 -0
- package/dist/BindingsTable-Da4BLkvc.js +122 -0
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DcixBOcX.js +97 -0
- package/dist/Entry.vue.d.ts +2 -0
- package/dist/FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BXU7x6di.js +144 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-CD89qCIa.js +49 -0
- package/dist/IngredientsView-2ZKdzsgI.js +739 -0
- package/dist/IntegrationView-BRWYO3VE.js +1172 -0
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js +240 -0
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DBK7mpQS.js +66 -0
- package/dist/PurchaseOrderPrintPreview-CH9gVYDg.js +152 -0
- package/dist/ReceiveRequestView-DQBqc3GF.js +1298 -0
- package/dist/RecipeView-DFG9Wkx-.js +594 -0
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +53 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-DLWMp_I5.js +1733 -0
- package/dist/SupplierView-CZhM2ie3.js +607 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Ffe9bhq8.js +1027 -0
- package/dist/UnitView-C3XVSbJY.js +626 -0
- package/dist/WarehouseView-BntzAdz3.js +1139 -0
- package/dist/api/bill.d.ts +1364 -0
- package/dist/api/closing.d.ts +3 -0
- package/dist/api/error.d.ts +31 -0
- package/dist/api/food-market-hub.d.ts +38 -0
- package/dist/api/inventory.d.ts +176 -0
- package/dist/api/purchase-order.d.ts +13 -0
- package/dist/api/stock.d.ts +9 -0
- package/dist/api/supplier.d.ts +7 -0
- package/dist/api/type.d.ts +12 -0
- package/dist/api/warehouse.d.ts +7 -0
- package/dist/app-BzDhmCVx.js +36639 -0
- package/dist/app.d.ts +2 -0
- package/dist/app.js +5 -0
- package/dist/components/ChangeLocationComponent.vue.d.ts +2 -0
- package/dist/components/DeferableLoading.vue.d.ts +19 -0
- package/dist/components/DeferableLoadingProps.d.ts +4 -0
- package/dist/components/DeleteDialog.vue.d.ts +18 -0
- package/dist/components/FmCoordinateInput.vue.d.ts +24 -0
- package/dist/components/FmCoordinateInputProps.d.ts +23 -0
- package/dist/components/FmFilterableSelect.vue.d.ts +25 -0
- package/dist/components/FmFilterableSelectProps.d.ts +28 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +30 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +16 -0
- package/dist/components/FmTableToolbar.vue.d.ts +49 -0
- package/dist/components/MultiSelectDialog.vue.d.ts +12 -0
- package/dist/components/MultiSelectDialogProps.d.ts +7 -0
- package/dist/components/NavigationTab.vue.d.ts +2 -0
- package/dist/components/NumberPrecisionInput.vue.d.ts +16 -0
- package/dist/components/NumberPrecisionInputProps.d.ts +12 -0
- package/dist/components/TableActionableRow.vue.d.ts +40 -0
- package/dist/components/UnitDisplayControl.vue.d.ts +12 -0
- package/dist/components/UnitDisplayControlProp.d.ts +7 -0
- package/dist/components/fm-components.type.d.ts +8 -0
- package/dist/components/form/form-mode.enum.d.ts +5 -0
- package/dist/components/icons/IconCommunity.vue.d.ts +2 -0
- package/dist/components/icons/IconDocumentation.vue.d.ts +2 -0
- package/dist/components/icons/IconEcosystem.vue.d.ts +2 -0
- package/dist/components/icons/IconSupport.vue.d.ts +2 -0
- package/dist/components/icons/IconTooling.vue.d.ts +2 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +145 -0
- package/dist/components/inventory-binding/InventoryBindingProps.d.ts +11 -0
- package/dist/components/map/CoordinateDialog.vue.d.ts +24 -0
- package/dist/components/map/GoogleMap.vue.d.ts +79 -0
- package/dist/components/map/coordinates.d.ts +6 -0
- package/dist/components/map/helper/coords-to-latlong.d.ts +8 -0
- package/dist/components/map/type.d.ts +27 -0
- package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +7 -0
- package/dist/components/nested-multiselect/FmNestedMultiselectDialogProps.d.ts +22 -0
- package/dist/components/nested-multiselect/helper/multiselect-utils.d.ts +2 -0
- package/dist/components/row-action.enum.d.ts +13 -0
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +84 -0
- package/dist/components/shell/inventory/binding-ui.test.d.ts +1 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +110 -0
- package/dist/components/shell/inventory/utils.d.ts +5 -0
- package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +36 -0
- package/dist/components/ui-library/FmSpecialChip.vue.d.ts +79 -0
- package/dist/composable/defineApi.d.ts +18 -0
- package/dist/composable/useBreakpoints.d.ts +7 -0
- package/dist/composable/useIframe.d.ts +37 -0
- package/dist/composable/useSearch.d.ts +5 -0
- package/dist/composable/useTabStorage.d.ts +2 -0
- package/dist/composable/useToast.d.ts +36 -0
- package/dist/core.d.ts +12 -0
- package/dist/cypress/component/FmFilterableSelect.cy.d.ts +1 -0
- package/dist/cypress/component/FmNestedMultiselectDialog.cy.d.ts +1 -0
- package/dist/cypress/component/UnitDisplayControl.cy.d.ts +1 -0
- package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +2 -0
- package/dist/cypress/e2e/views/MenuV3.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/MenuV4.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/Root.spec.cy.d.ts +0 -0
- package/dist/cypress/e2e/views/StockView.spec.cy.d.ts +0 -0
- package/dist/cypress/support/commands.d.ts +0 -0
- package/dist/cypress/support/component.d.ts +10 -0
- package/dist/cypress/support/e2e.d.ts +1 -0
- package/dist/date2-C7HiAWQG.js +209 -0
- package/dist/dayjs.min-Db57WhI9.js +282 -0
- package/dist/decimal-D3a0BwVj.js +98 -0
- package/dist/empty-placeholder-wf6-BWE8.js +4 -0
- package/dist/extensions/array.d.ts +15 -0
- package/dist/favicon.ico +0 -0
- package/dist/fuzzy-BW8ZYsDG.js +41 -0
- package/dist/helper/address.d.ts +2 -0
- package/dist/helper/component.d.ts +4 -0
- package/dist/helper/core/country/codes.d.ts +255 -0
- package/dist/helper/core/country/utils.d.ts +8 -0
- package/dist/helper/core/id-to-date.d.ts +1 -0
- package/dist/helper/core/store/type.d.ts +2 -0
- package/dist/helper/country.d.ts +260 -0
- package/dist/helper/date.spec.d.ts +1 -0
- package/dist/helper/date2.d.ts +20 -0
- package/dist/helper/decimal.d.ts +15 -0
- package/dist/helper/decimal.spec.d.ts +1 -0
- package/dist/helper/export.d.ts +12 -0
- package/dist/helper/form.d.ts +5 -0
- package/dist/helper/inventory.d.ts +1 -0
- package/dist/helper/iteration.d.ts +15 -0
- package/dist/helper/number.d.ts +27 -0
- package/dist/helper/number.spec.d.ts +1 -0
- package/dist/helper/object.d.ts +36 -0
- package/dist/helper/object.spec.d.ts +1 -0
- package/dist/helper/rules.d.ts +22 -0
- package/dist/helper/search.d.ts +21 -0
- package/dist/helper/semver.d.ts +20 -0
- package/dist/helper/semver.spec.d.ts +1 -0
- package/dist/helper/type.d.ts +8 -0
- package/dist/helper/url.d.ts +7 -0
- package/dist/helper/validate.d.ts +70 -0
- package/dist/helper/xlsx.util.d.ts +8 -0
- package/dist/helper/zod.d.ts +21 -0
- package/dist/id-to-date-ReZIpUDw.js +30 -0
- package/dist/index-D46it8Rk.js +12956 -0
- package/dist/init-date-range-M3Q03-Fd.js +21 -0
- package/dist/is-linked-ingredient-error-C6AghEwR.js +37 -0
- package/dist/layout/InventoryLayout.vue.d.ts +2 -0
- package/dist/layout/SingleColumnLayout.vue.d.ts +55 -0
- package/dist/layout/components/NavigationButton.vue.d.ts +22 -0
- package/dist/layout/layout-routes.d.ts +7 -0
- package/dist/layout/type.d.ts +17 -0
- package/dist/layout-BvUjg6JS.js +151 -0
- package/dist/locales/en/common.json +7 -0
- package/dist/main.d.ts +2 -0
- package/dist/router/index.d.ts +5 -0
- package/dist/router/name.d.ts +17 -0
- package/dist/router/shared.d.ts +11 -0
- package/dist/row-action.enum-BwQbURNh.js +28 -0
- package/dist/rules-DHfAMDW3.js +86 -0
- package/dist/stores/api.d.ts +10 -0
- package/dist/stores/env.d.ts +5 -0
- package/dist/stores/feature.d.ts +9 -0
- package/dist/stores/googlemap.d.ts +37 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +8 -0
- package/dist/stores/inventory.d.ts +1983 -0
- package/dist/stores/layout.d.ts +5 -0
- package/dist/stores/location.d.ts +1898 -0
- package/dist/stores/route.d.ts +12 -0
- package/dist/stores/stock.d.ts +58 -0
- package/dist/stores/supplier.d.ts +30 -0
- package/dist/stores/warehouse.d.ts +88 -0
- package/dist/style.css +1 -0
- package/dist/supplier-DTiiOLtg.js +65 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/use-inventory-binding-dialog-B6JO7050.js +109 -0
- package/dist/views/InventoryView.vue.d.ts +2 -0
- package/dist/views/SelectBussinessDialog.vue.d.ts +2 -0
- package/dist/views/approval/ApprovalView.vue.d.ts +2 -0
- package/dist/views/dev/ComponentPreview.vue.d.ts +2 -0
- package/dist/views/dev/components/CoordinateTest.vue.d.ts +2 -0
- package/dist/views/dev/components/DateRange.vue.d.ts +2 -0
- package/dist/views/dev/components/FmSelectTest.vue.d.ts +2 -0
- package/dist/views/dev/components/InventoryIframe.vue.d.ts +2 -0
- package/dist/views/dev/components/LayoutDev.vue.d.ts +2 -0
- package/dist/views/dev/components/MfCommontTest.vue.d.ts +2 -0
- package/dist/views/dev/components/NestedSelection.vue.d.ts +2 -0
- package/dist/views/dev/components/NumberStepper.vue.d.ts +2 -0
- package/dist/views/dev/components/TabStorageTest.vue.d.ts +2 -0
- package/dist/views/dev/helpers/debug.d.ts +22 -0
- package/dist/views/dev/helpers/nested-options.d.ts +60 -0
- package/dist/views/dev/helpers/pinia-test.d.ts +9 -0
- package/dist/views/home/HomeView.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +2 -0
- package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +2 -0
- package/dist/views/ingredients/IngredientsView.vue.d.ts +2 -0
- package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +30 -0
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +54 -0
- package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +8 -0
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +12 -0
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItemProps.d.ts +5 -0
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +31 -0
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +9 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +104 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +10 -0
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +88 -0
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +4 -0
- package/dist/views/ingredients/components/inventory-binding/util.d.ts +7 -0
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +46 -0
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +7 -0
- package/dist/views/integration/IntegrationView.vue.d.ts +2 -0
- package/dist/views/integration/components/ApplyAddon.vue.d.ts +379 -0
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +303 -0
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +277 -0
- package/dist/views/integration/components/ApplyProductDialogProps.d.ts +17 -0
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +277 -0
- package/dist/views/integration/helper/menu.d.ts +36 -0
- package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +12 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts +11 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +18 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +12 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +22 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +11 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +450 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +10 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +369 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1202 -0
- package/dist/views/receive-request/constants/dialog-templates.d.ts +8 -0
- package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
- package/dist/views/receive-request/constants/purchase-row-actions.d.ts +2 -0
- package/dist/views/receive-request/helper/format-time-from-id.d.ts +2 -0
- package/dist/views/receive-request/helper/format-unit-display.d.ts +6 -0
- package/dist/views/receive-request/helper/get-received-amount.d.ts +2 -0
- package/dist/views/receive-request/helper/init-date-range.d.ts +8 -0
- package/dist/views/receive-request/helper/print-po.d.ts +2 -0
- package/dist/views/receive-request/helper/status-to-background.d.ts +2 -0
- package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +47 -0
- package/dist/views/recipe/RecipeView.vue.d.ts +2 -0
- package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +31 -0
- package/dist/views/recipe/components/recipe-dialog/RecipeDialogProps.d.ts +9 -0
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +62 -0
- package/dist/views/recipe/components/recipe-form/RecipeFormProps.d.ts +10 -0
- package/dist/views/recipe/composables/use-recipe-form.d.ts +9 -0
- package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
- package/dist/views/recipe/helper/export-recipe.d.ts +1 -0
- package/dist/views/stock/StockView.vue.d.ts +2 -0
- package/dist/views/stock/components/StockHistory.vue.d.ts +17 -0
- package/dist/views/stock/components/StockHistoryProps.d.ts +7 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +712 -0
- package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +22 -0
- package/dist/views/stock/components/dialog/AdjustSkuDialogProps.d.ts +8 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +164 -0
- package/dist/views/stock/components/dialog/AdjustedItemFormProps.d.ts +8 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +22 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialogProps.d.ts +9 -0
- package/dist/views/stock/components/dialog/constant/adjustment-type-options.d.ts +7 -0
- package/dist/views/stock/components/dialog/helper/adjust.d.ts +3 -0
- package/dist/views/stock/components/dialog/helper/form-adjust.d.ts +10 -0
- package/dist/views/stock/composables/use-stock-table.d.ts +12 -0
- package/dist/views/stock/helper/compute-summary-total-test.d.ts +1 -0
- package/dist/views/stock/helper/compute-summary-total.d.ts +1 -0
- package/dist/views/stock/helper/compute-summary-total.spec.d.ts +1 -0
- package/dist/views/stock/helper/format-date-from-id.d.ts +2 -0
- package/dist/views/stock/helper/on-click-export-excel.d.ts +9 -0
- package/dist/views/stock/helper/stock-row-action.d.ts +13 -0
- package/dist/views/stock/type.d.ts +9 -0
- package/dist/views/supplier/SupplierView.vue.d.ts +2 -0
- package/dist/views/supplier/components/SupplierDialog.vue.d.ts +22 -0
- package/dist/views/supplier/components/SupplierDialogProps.d.ts +10 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +58 -0
- package/dist/views/supplier/components/SupplierFormProps.d.ts +8 -0
- package/dist/views/supplier/composables/use-supplier-table.d.ts +22 -0
- package/dist/views/unit/UnitView.vue.d.ts +2 -0
- package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +31 -0
- package/dist/views/unit/components/unit-dialog/UnitDialogProps.d.ts +9 -0
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +50 -0
- package/dist/views/unit/components/unit-form/UnitFormProps.d.ts +10 -0
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +43 -0
- package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +12 -0
- package/dist/views/unit/components/unit-used-by/UnitUsedByProps.d.ts +3 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +8 -0
- package/dist/views/unit/composables/use-unit-table.d.ts +19 -0
- package/dist/views/unit/type.d.ts +2 -0
- package/dist/views/warehouse/WarehouseView.vue.d.ts +2 -0
- package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +22 -0
- package/dist/views/warehouse/components/WarehouseDialogProps.d.ts +10 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +174 -0
- package/dist/views/warehouse/components/WarehouseFormProps.d.ts +8 -0
- package/dist/views/warehouse/composables/use-warehouse-table.d.ts +12 -0
- package/dist/xlsx-BljO4Lx2.js +15510 -0
- package/package.json +93 -0
|
@@ -0,0 +1,1202 @@
|
|
|
1
|
+
import type { ReceiveRequestFormComposable } from './use-receive-request-form';
|
|
2
|
+
export declare function useReceiveRequestTable(scope: 'receive/request' | 'approval', receiveRequestFormComposable: ReceiveRequestFormComposable): {
|
|
3
|
+
readonly columnDefs: ({
|
|
4
|
+
accessorKey: "seqNumber";
|
|
5
|
+
header: string;
|
|
6
|
+
enableSorting: true;
|
|
7
|
+
size: number;
|
|
8
|
+
sortUndefined: "last";
|
|
9
|
+
cell?: undefined;
|
|
10
|
+
meta?: undefined;
|
|
11
|
+
id?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
accessorKey: "_id";
|
|
14
|
+
header: string;
|
|
15
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
16
|
+
remark?: string | null | undefined;
|
|
17
|
+
_rev?: string | null | undefined;
|
|
18
|
+
ref?: string | null | undefined;
|
|
19
|
+
request?: {
|
|
20
|
+
id: string;
|
|
21
|
+
adjustmentIds: string[];
|
|
22
|
+
} | null | undefined;
|
|
23
|
+
stockSnapshotId?: string | null | undefined;
|
|
24
|
+
effectiveAt?: string | null | undefined;
|
|
25
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
26
|
+
_id: string;
|
|
27
|
+
seqNumber: number;
|
|
28
|
+
items: {
|
|
29
|
+
measurement?: {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
abbrev: string;
|
|
33
|
+
conversion: {
|
|
34
|
+
amount: number;
|
|
35
|
+
precision: number;
|
|
36
|
+
};
|
|
37
|
+
} | null | undefined;
|
|
38
|
+
totalCost?: {
|
|
39
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
40
|
+
amount: number;
|
|
41
|
+
precision: number;
|
|
42
|
+
} | null | undefined;
|
|
43
|
+
sku: {
|
|
44
|
+
trackingMeasurement?: string | null | undefined;
|
|
45
|
+
convert?: {
|
|
46
|
+
measurement?: string | null | undefined;
|
|
47
|
+
inventoryBindings?: {
|
|
48
|
+
measurement?: {
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
abbrev: string;
|
|
52
|
+
conversion: {
|
|
53
|
+
amount: number;
|
|
54
|
+
precision: number;
|
|
55
|
+
};
|
|
56
|
+
} | null | undefined;
|
|
57
|
+
type: "RECIPE" | "SKU";
|
|
58
|
+
amount: {
|
|
59
|
+
amount: number;
|
|
60
|
+
precision: number;
|
|
61
|
+
};
|
|
62
|
+
id: string;
|
|
63
|
+
}[] | null | undefined;
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
66
|
+
unit: {
|
|
67
|
+
_id: string;
|
|
68
|
+
name: string;
|
|
69
|
+
abbrev: string;
|
|
70
|
+
precision: number;
|
|
71
|
+
measurements: {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
abbrev: string;
|
|
75
|
+
conversion: {
|
|
76
|
+
amount: number;
|
|
77
|
+
precision: number;
|
|
78
|
+
};
|
|
79
|
+
}[];
|
|
80
|
+
};
|
|
81
|
+
code: string;
|
|
82
|
+
_id: string;
|
|
83
|
+
name: string;
|
|
84
|
+
};
|
|
85
|
+
code: string;
|
|
86
|
+
name: string;
|
|
87
|
+
quantity: {
|
|
88
|
+
amount: number;
|
|
89
|
+
precision: number;
|
|
90
|
+
};
|
|
91
|
+
}[];
|
|
92
|
+
supplier: {
|
|
93
|
+
_rev?: string | null | undefined;
|
|
94
|
+
email?: string | null | undefined;
|
|
95
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
96
|
+
contactName?: string | null | undefined;
|
|
97
|
+
phoneNumber?: string | null | undefined;
|
|
98
|
+
registrationNumber?: string | undefined;
|
|
99
|
+
supplyItems?: {}[] | null | undefined;
|
|
100
|
+
_id: string;
|
|
101
|
+
name: string;
|
|
102
|
+
address: {
|
|
103
|
+
line2?: string | null | undefined;
|
|
104
|
+
line1: string;
|
|
105
|
+
state: string;
|
|
106
|
+
city: string;
|
|
107
|
+
postcode: string;
|
|
108
|
+
country: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
deliveryOrder: {
|
|
112
|
+
remark?: string | null | undefined;
|
|
113
|
+
adjustment?: string | null | undefined;
|
|
114
|
+
received: {
|
|
115
|
+
cost?: {
|
|
116
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
117
|
+
amount: number;
|
|
118
|
+
precision: number;
|
|
119
|
+
} | null | undefined;
|
|
120
|
+
measurement?: {
|
|
121
|
+
id: string;
|
|
122
|
+
name: string;
|
|
123
|
+
abbrev: string;
|
|
124
|
+
conversion: {
|
|
125
|
+
amount: number;
|
|
126
|
+
precision: number;
|
|
127
|
+
};
|
|
128
|
+
} | null | undefined;
|
|
129
|
+
sku: {
|
|
130
|
+
trackingMeasurement?: string | null | undefined;
|
|
131
|
+
convert?: {
|
|
132
|
+
measurement?: string | null | undefined;
|
|
133
|
+
inventoryBindings?: {
|
|
134
|
+
measurement?: {
|
|
135
|
+
id: string;
|
|
136
|
+
name: string;
|
|
137
|
+
abbrev: string;
|
|
138
|
+
conversion: {
|
|
139
|
+
amount: number;
|
|
140
|
+
precision: number;
|
|
141
|
+
};
|
|
142
|
+
} | null | undefined;
|
|
143
|
+
type: "RECIPE" | "SKU";
|
|
144
|
+
amount: {
|
|
145
|
+
amount: number;
|
|
146
|
+
precision: number;
|
|
147
|
+
};
|
|
148
|
+
id: string;
|
|
149
|
+
}[] | null | undefined;
|
|
150
|
+
} | null | undefined;
|
|
151
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
152
|
+
unit: {
|
|
153
|
+
_id: string;
|
|
154
|
+
name: string;
|
|
155
|
+
abbrev: string;
|
|
156
|
+
precision: number;
|
|
157
|
+
measurements: {
|
|
158
|
+
id: string;
|
|
159
|
+
name: string;
|
|
160
|
+
abbrev: string;
|
|
161
|
+
conversion: {
|
|
162
|
+
amount: number;
|
|
163
|
+
precision: number;
|
|
164
|
+
};
|
|
165
|
+
}[];
|
|
166
|
+
};
|
|
167
|
+
code: string;
|
|
168
|
+
_id: string;
|
|
169
|
+
name: string;
|
|
170
|
+
};
|
|
171
|
+
amount: {
|
|
172
|
+
amount: number;
|
|
173
|
+
precision: number;
|
|
174
|
+
};
|
|
175
|
+
}[];
|
|
176
|
+
createdBy: {
|
|
177
|
+
id: string;
|
|
178
|
+
name: string;
|
|
179
|
+
};
|
|
180
|
+
createdAt: string;
|
|
181
|
+
deliveryOrderNumber: string;
|
|
182
|
+
}[];
|
|
183
|
+
}, unknown>): string;
|
|
184
|
+
enableSorting: true;
|
|
185
|
+
size?: undefined;
|
|
186
|
+
sortUndefined?: undefined;
|
|
187
|
+
meta?: undefined;
|
|
188
|
+
id?: undefined;
|
|
189
|
+
} | {
|
|
190
|
+
accessorKey: "supplier.name";
|
|
191
|
+
header: string;
|
|
192
|
+
enableSorting: true;
|
|
193
|
+
size: number;
|
|
194
|
+
sortUndefined?: undefined;
|
|
195
|
+
cell?: undefined;
|
|
196
|
+
meta?: undefined;
|
|
197
|
+
id?: undefined;
|
|
198
|
+
} | {
|
|
199
|
+
accessorKey: "items.length";
|
|
200
|
+
header: string;
|
|
201
|
+
enableSorting: false;
|
|
202
|
+
meta: {
|
|
203
|
+
width: string;
|
|
204
|
+
cellClass?: undefined;
|
|
205
|
+
headerClass?: undefined;
|
|
206
|
+
};
|
|
207
|
+
size?: undefined;
|
|
208
|
+
sortUndefined?: undefined;
|
|
209
|
+
cell?: undefined;
|
|
210
|
+
id?: undefined;
|
|
211
|
+
} | {
|
|
212
|
+
accessorKey: "ref";
|
|
213
|
+
header: string;
|
|
214
|
+
enableSorting: false;
|
|
215
|
+
size: any;
|
|
216
|
+
sortUndefined?: undefined;
|
|
217
|
+
cell?: undefined;
|
|
218
|
+
meta?: undefined;
|
|
219
|
+
id?: undefined;
|
|
220
|
+
} | {
|
|
221
|
+
accessorKey: "status";
|
|
222
|
+
header: string;
|
|
223
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
224
|
+
remark?: string | null | undefined;
|
|
225
|
+
_rev?: string | null | undefined;
|
|
226
|
+
ref?: string | null | undefined;
|
|
227
|
+
request?: {
|
|
228
|
+
id: string;
|
|
229
|
+
adjustmentIds: string[];
|
|
230
|
+
} | null | undefined;
|
|
231
|
+
stockSnapshotId?: string | null | undefined;
|
|
232
|
+
effectiveAt?: string | null | undefined;
|
|
233
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
234
|
+
_id: string;
|
|
235
|
+
seqNumber: number;
|
|
236
|
+
items: {
|
|
237
|
+
measurement?: {
|
|
238
|
+
id: string;
|
|
239
|
+
name: string;
|
|
240
|
+
abbrev: string;
|
|
241
|
+
conversion: {
|
|
242
|
+
amount: number;
|
|
243
|
+
precision: number;
|
|
244
|
+
};
|
|
245
|
+
} | null | undefined;
|
|
246
|
+
totalCost?: {
|
|
247
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
248
|
+
amount: number;
|
|
249
|
+
precision: number;
|
|
250
|
+
} | null | undefined;
|
|
251
|
+
sku: {
|
|
252
|
+
trackingMeasurement?: string | null | undefined;
|
|
253
|
+
convert?: {
|
|
254
|
+
measurement?: string | null | undefined;
|
|
255
|
+
inventoryBindings?: {
|
|
256
|
+
measurement?: {
|
|
257
|
+
id: string;
|
|
258
|
+
name: string;
|
|
259
|
+
abbrev: string;
|
|
260
|
+
conversion: {
|
|
261
|
+
amount: number;
|
|
262
|
+
precision: number;
|
|
263
|
+
};
|
|
264
|
+
} | null | undefined;
|
|
265
|
+
type: "RECIPE" | "SKU";
|
|
266
|
+
amount: {
|
|
267
|
+
amount: number;
|
|
268
|
+
precision: number;
|
|
269
|
+
};
|
|
270
|
+
id: string;
|
|
271
|
+
}[] | null | undefined;
|
|
272
|
+
} | null | undefined;
|
|
273
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
274
|
+
unit: {
|
|
275
|
+
_id: string;
|
|
276
|
+
name: string;
|
|
277
|
+
abbrev: string;
|
|
278
|
+
precision: number;
|
|
279
|
+
measurements: {
|
|
280
|
+
id: string;
|
|
281
|
+
name: string;
|
|
282
|
+
abbrev: string;
|
|
283
|
+
conversion: {
|
|
284
|
+
amount: number;
|
|
285
|
+
precision: number;
|
|
286
|
+
};
|
|
287
|
+
}[];
|
|
288
|
+
};
|
|
289
|
+
code: string;
|
|
290
|
+
_id: string;
|
|
291
|
+
name: string;
|
|
292
|
+
};
|
|
293
|
+
code: string;
|
|
294
|
+
name: string;
|
|
295
|
+
quantity: {
|
|
296
|
+
amount: number;
|
|
297
|
+
precision: number;
|
|
298
|
+
};
|
|
299
|
+
}[];
|
|
300
|
+
supplier: {
|
|
301
|
+
_rev?: string | null | undefined;
|
|
302
|
+
email?: string | null | undefined;
|
|
303
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
304
|
+
contactName?: string | null | undefined;
|
|
305
|
+
phoneNumber?: string | null | undefined;
|
|
306
|
+
registrationNumber?: string | undefined;
|
|
307
|
+
supplyItems?: {}[] | null | undefined;
|
|
308
|
+
_id: string;
|
|
309
|
+
name: string;
|
|
310
|
+
address: {
|
|
311
|
+
line2?: string | null | undefined;
|
|
312
|
+
line1: string;
|
|
313
|
+
state: string;
|
|
314
|
+
city: string;
|
|
315
|
+
postcode: string;
|
|
316
|
+
country: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
deliveryOrder: {
|
|
320
|
+
remark?: string | null | undefined;
|
|
321
|
+
adjustment?: string | null | undefined;
|
|
322
|
+
received: {
|
|
323
|
+
cost?: {
|
|
324
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
325
|
+
amount: number;
|
|
326
|
+
precision: number;
|
|
327
|
+
} | null | undefined;
|
|
328
|
+
measurement?: {
|
|
329
|
+
id: string;
|
|
330
|
+
name: string;
|
|
331
|
+
abbrev: string;
|
|
332
|
+
conversion: {
|
|
333
|
+
amount: number;
|
|
334
|
+
precision: number;
|
|
335
|
+
};
|
|
336
|
+
} | null | undefined;
|
|
337
|
+
sku: {
|
|
338
|
+
trackingMeasurement?: string | null | undefined;
|
|
339
|
+
convert?: {
|
|
340
|
+
measurement?: string | null | undefined;
|
|
341
|
+
inventoryBindings?: {
|
|
342
|
+
measurement?: {
|
|
343
|
+
id: string;
|
|
344
|
+
name: string;
|
|
345
|
+
abbrev: string;
|
|
346
|
+
conversion: {
|
|
347
|
+
amount: number;
|
|
348
|
+
precision: number;
|
|
349
|
+
};
|
|
350
|
+
} | null | undefined;
|
|
351
|
+
type: "RECIPE" | "SKU";
|
|
352
|
+
amount: {
|
|
353
|
+
amount: number;
|
|
354
|
+
precision: number;
|
|
355
|
+
};
|
|
356
|
+
id: string;
|
|
357
|
+
}[] | null | undefined;
|
|
358
|
+
} | null | undefined;
|
|
359
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
360
|
+
unit: {
|
|
361
|
+
_id: string;
|
|
362
|
+
name: string;
|
|
363
|
+
abbrev: string;
|
|
364
|
+
precision: number;
|
|
365
|
+
measurements: {
|
|
366
|
+
id: string;
|
|
367
|
+
name: string;
|
|
368
|
+
abbrev: string;
|
|
369
|
+
conversion: {
|
|
370
|
+
amount: number;
|
|
371
|
+
precision: number;
|
|
372
|
+
};
|
|
373
|
+
}[];
|
|
374
|
+
};
|
|
375
|
+
code: string;
|
|
376
|
+
_id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
};
|
|
379
|
+
amount: {
|
|
380
|
+
amount: number;
|
|
381
|
+
precision: number;
|
|
382
|
+
};
|
|
383
|
+
}[];
|
|
384
|
+
createdBy: {
|
|
385
|
+
id: string;
|
|
386
|
+
name: string;
|
|
387
|
+
};
|
|
388
|
+
createdAt: string;
|
|
389
|
+
deliveryOrderNumber: string;
|
|
390
|
+
}[];
|
|
391
|
+
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
392
|
+
[key: string]: any;
|
|
393
|
+
}>;
|
|
394
|
+
enableSorting: true;
|
|
395
|
+
size: number;
|
|
396
|
+
sortUndefined?: undefined;
|
|
397
|
+
meta?: undefined;
|
|
398
|
+
id?: undefined;
|
|
399
|
+
} | {
|
|
400
|
+
id: string;
|
|
401
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
402
|
+
remark?: string | null | undefined;
|
|
403
|
+
_rev?: string | null | undefined;
|
|
404
|
+
ref?: string | null | undefined;
|
|
405
|
+
request?: {
|
|
406
|
+
id: string;
|
|
407
|
+
adjustmentIds: string[];
|
|
408
|
+
} | null | undefined;
|
|
409
|
+
stockSnapshotId?: string | null | undefined;
|
|
410
|
+
effectiveAt?: string | null | undefined;
|
|
411
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
412
|
+
_id: string;
|
|
413
|
+
seqNumber: number;
|
|
414
|
+
items: {
|
|
415
|
+
measurement?: {
|
|
416
|
+
id: string;
|
|
417
|
+
name: string;
|
|
418
|
+
abbrev: string;
|
|
419
|
+
conversion: {
|
|
420
|
+
amount: number;
|
|
421
|
+
precision: number;
|
|
422
|
+
};
|
|
423
|
+
} | null | undefined;
|
|
424
|
+
totalCost?: {
|
|
425
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
426
|
+
amount: number;
|
|
427
|
+
precision: number;
|
|
428
|
+
} | null | undefined;
|
|
429
|
+
sku: {
|
|
430
|
+
trackingMeasurement?: string | null | undefined;
|
|
431
|
+
convert?: {
|
|
432
|
+
measurement?: string | null | undefined;
|
|
433
|
+
inventoryBindings?: {
|
|
434
|
+
measurement?: {
|
|
435
|
+
id: string;
|
|
436
|
+
name: string;
|
|
437
|
+
abbrev: string;
|
|
438
|
+
conversion: {
|
|
439
|
+
amount: number;
|
|
440
|
+
precision: number;
|
|
441
|
+
};
|
|
442
|
+
} | null | undefined;
|
|
443
|
+
type: "RECIPE" | "SKU";
|
|
444
|
+
amount: {
|
|
445
|
+
amount: number;
|
|
446
|
+
precision: number;
|
|
447
|
+
};
|
|
448
|
+
id: string;
|
|
449
|
+
}[] | null | undefined;
|
|
450
|
+
} | null | undefined;
|
|
451
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
452
|
+
unit: {
|
|
453
|
+
_id: string;
|
|
454
|
+
name: string;
|
|
455
|
+
abbrev: string;
|
|
456
|
+
precision: number;
|
|
457
|
+
measurements: {
|
|
458
|
+
id: string;
|
|
459
|
+
name: string;
|
|
460
|
+
abbrev: string;
|
|
461
|
+
conversion: {
|
|
462
|
+
amount: number;
|
|
463
|
+
precision: number;
|
|
464
|
+
};
|
|
465
|
+
}[];
|
|
466
|
+
};
|
|
467
|
+
code: string;
|
|
468
|
+
_id: string;
|
|
469
|
+
name: string;
|
|
470
|
+
};
|
|
471
|
+
code: string;
|
|
472
|
+
name: string;
|
|
473
|
+
quantity: {
|
|
474
|
+
amount: number;
|
|
475
|
+
precision: number;
|
|
476
|
+
};
|
|
477
|
+
}[];
|
|
478
|
+
supplier: {
|
|
479
|
+
_rev?: string | null | undefined;
|
|
480
|
+
email?: string | null | undefined;
|
|
481
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
482
|
+
contactName?: string | null | undefined;
|
|
483
|
+
phoneNumber?: string | null | undefined;
|
|
484
|
+
registrationNumber?: string | undefined;
|
|
485
|
+
supplyItems?: {}[] | null | undefined;
|
|
486
|
+
_id: string;
|
|
487
|
+
name: string;
|
|
488
|
+
address: {
|
|
489
|
+
line2?: string | null | undefined;
|
|
490
|
+
line1: string;
|
|
491
|
+
state: string;
|
|
492
|
+
city: string;
|
|
493
|
+
postcode: string;
|
|
494
|
+
country: string;
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
deliveryOrder: {
|
|
498
|
+
remark?: string | null | undefined;
|
|
499
|
+
adjustment?: string | null | undefined;
|
|
500
|
+
received: {
|
|
501
|
+
cost?: {
|
|
502
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
503
|
+
amount: number;
|
|
504
|
+
precision: number;
|
|
505
|
+
} | null | undefined;
|
|
506
|
+
measurement?: {
|
|
507
|
+
id: string;
|
|
508
|
+
name: string;
|
|
509
|
+
abbrev: string;
|
|
510
|
+
conversion: {
|
|
511
|
+
amount: number;
|
|
512
|
+
precision: number;
|
|
513
|
+
};
|
|
514
|
+
} | null | undefined;
|
|
515
|
+
sku: {
|
|
516
|
+
trackingMeasurement?: string | null | undefined;
|
|
517
|
+
convert?: {
|
|
518
|
+
measurement?: string | null | undefined;
|
|
519
|
+
inventoryBindings?: {
|
|
520
|
+
measurement?: {
|
|
521
|
+
id: string;
|
|
522
|
+
name: string;
|
|
523
|
+
abbrev: string;
|
|
524
|
+
conversion: {
|
|
525
|
+
amount: number;
|
|
526
|
+
precision: number;
|
|
527
|
+
};
|
|
528
|
+
} | null | undefined;
|
|
529
|
+
type: "RECIPE" | "SKU";
|
|
530
|
+
amount: {
|
|
531
|
+
amount: number;
|
|
532
|
+
precision: number;
|
|
533
|
+
};
|
|
534
|
+
id: string;
|
|
535
|
+
}[] | null | undefined;
|
|
536
|
+
} | null | undefined;
|
|
537
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
538
|
+
unit: {
|
|
539
|
+
_id: string;
|
|
540
|
+
name: string;
|
|
541
|
+
abbrev: string;
|
|
542
|
+
precision: number;
|
|
543
|
+
measurements: {
|
|
544
|
+
id: string;
|
|
545
|
+
name: string;
|
|
546
|
+
abbrev: string;
|
|
547
|
+
conversion: {
|
|
548
|
+
amount: number;
|
|
549
|
+
precision: number;
|
|
550
|
+
};
|
|
551
|
+
}[];
|
|
552
|
+
};
|
|
553
|
+
code: string;
|
|
554
|
+
_id: string;
|
|
555
|
+
name: string;
|
|
556
|
+
};
|
|
557
|
+
amount: {
|
|
558
|
+
amount: number;
|
|
559
|
+
precision: number;
|
|
560
|
+
};
|
|
561
|
+
}[];
|
|
562
|
+
createdBy: {
|
|
563
|
+
id: string;
|
|
564
|
+
name: string;
|
|
565
|
+
};
|
|
566
|
+
createdAt: string;
|
|
567
|
+
deliveryOrderNumber: string;
|
|
568
|
+
}[];
|
|
569
|
+
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
570
|
+
[key: string]: any;
|
|
571
|
+
}>;
|
|
572
|
+
enableSorting: false;
|
|
573
|
+
size: number;
|
|
574
|
+
meta: {
|
|
575
|
+
cellClass: string;
|
|
576
|
+
headerClass: string;
|
|
577
|
+
width?: undefined;
|
|
578
|
+
};
|
|
579
|
+
accessorKey?: undefined;
|
|
580
|
+
header?: undefined;
|
|
581
|
+
sortUndefined?: undefined;
|
|
582
|
+
})[] | ({
|
|
583
|
+
accessorKey: "purchaseOrder.seqNumber";
|
|
584
|
+
header: string;
|
|
585
|
+
enableSorting: true;
|
|
586
|
+
size: number;
|
|
587
|
+
sortUndefined: "last";
|
|
588
|
+
cell?: undefined;
|
|
589
|
+
id?: undefined;
|
|
590
|
+
meta?: undefined;
|
|
591
|
+
} | {
|
|
592
|
+
accessorKey: "purchaseOrder._id";
|
|
593
|
+
header: string;
|
|
594
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
595
|
+
purchaseOrder?: {
|
|
596
|
+
remark?: string | null | undefined;
|
|
597
|
+
_rev?: string | null | undefined;
|
|
598
|
+
ref?: string | null | undefined;
|
|
599
|
+
request?: {
|
|
600
|
+
id: string;
|
|
601
|
+
adjustmentIds: string[];
|
|
602
|
+
} | null | undefined;
|
|
603
|
+
stockSnapshotId?: string | null | undefined;
|
|
604
|
+
effectiveAt?: string | null | undefined;
|
|
605
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
606
|
+
_id: string;
|
|
607
|
+
seqNumber: number;
|
|
608
|
+
items: {
|
|
609
|
+
measurement?: {
|
|
610
|
+
id: string;
|
|
611
|
+
name: string;
|
|
612
|
+
abbrev: string;
|
|
613
|
+
conversion: {
|
|
614
|
+
amount: number;
|
|
615
|
+
precision: number;
|
|
616
|
+
};
|
|
617
|
+
} | null | undefined;
|
|
618
|
+
totalCost?: {
|
|
619
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
620
|
+
amount: number;
|
|
621
|
+
precision: number;
|
|
622
|
+
} | null | undefined;
|
|
623
|
+
sku: {
|
|
624
|
+
trackingMeasurement?: string | null | undefined;
|
|
625
|
+
convert?: {
|
|
626
|
+
measurement?: string | null | undefined;
|
|
627
|
+
inventoryBindings?: {
|
|
628
|
+
measurement?: {
|
|
629
|
+
id: string;
|
|
630
|
+
name: string;
|
|
631
|
+
abbrev: string;
|
|
632
|
+
conversion: {
|
|
633
|
+
amount: number;
|
|
634
|
+
precision: number;
|
|
635
|
+
};
|
|
636
|
+
} | null | undefined;
|
|
637
|
+
type: "RECIPE" | "SKU";
|
|
638
|
+
amount: {
|
|
639
|
+
amount: number;
|
|
640
|
+
precision: number;
|
|
641
|
+
};
|
|
642
|
+
id: string;
|
|
643
|
+
}[] | null | undefined;
|
|
644
|
+
} | null | undefined;
|
|
645
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
646
|
+
unit: {
|
|
647
|
+
_id: string;
|
|
648
|
+
name: string;
|
|
649
|
+
abbrev: string;
|
|
650
|
+
precision: number;
|
|
651
|
+
measurements: {
|
|
652
|
+
id: string;
|
|
653
|
+
name: string;
|
|
654
|
+
abbrev: string;
|
|
655
|
+
conversion: {
|
|
656
|
+
amount: number;
|
|
657
|
+
precision: number;
|
|
658
|
+
};
|
|
659
|
+
}[];
|
|
660
|
+
};
|
|
661
|
+
code: string;
|
|
662
|
+
_id: string;
|
|
663
|
+
name: string;
|
|
664
|
+
};
|
|
665
|
+
code: string;
|
|
666
|
+
name: string;
|
|
667
|
+
quantity: {
|
|
668
|
+
amount: number;
|
|
669
|
+
precision: number;
|
|
670
|
+
};
|
|
671
|
+
}[];
|
|
672
|
+
supplier: {
|
|
673
|
+
_rev?: string | null | undefined;
|
|
674
|
+
email?: string | null | undefined;
|
|
675
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
676
|
+
contactName?: string | null | undefined;
|
|
677
|
+
phoneNumber?: string | null | undefined;
|
|
678
|
+
registrationNumber?: string | undefined;
|
|
679
|
+
supplyItems?: {}[] | null | undefined;
|
|
680
|
+
_id: string;
|
|
681
|
+
name: string;
|
|
682
|
+
address: {
|
|
683
|
+
line2?: string | null | undefined;
|
|
684
|
+
line1: string;
|
|
685
|
+
state: string;
|
|
686
|
+
city: string;
|
|
687
|
+
postcode: string;
|
|
688
|
+
country: string;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
deliveryOrder: {
|
|
692
|
+
remark?: string | null | undefined;
|
|
693
|
+
adjustment?: string | null | undefined;
|
|
694
|
+
received: {
|
|
695
|
+
cost?: {
|
|
696
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
697
|
+
amount: number;
|
|
698
|
+
precision: number;
|
|
699
|
+
} | null | undefined;
|
|
700
|
+
measurement?: {
|
|
701
|
+
id: string;
|
|
702
|
+
name: string;
|
|
703
|
+
abbrev: string;
|
|
704
|
+
conversion: {
|
|
705
|
+
amount: number;
|
|
706
|
+
precision: number;
|
|
707
|
+
};
|
|
708
|
+
} | null | undefined;
|
|
709
|
+
sku: {
|
|
710
|
+
trackingMeasurement?: string | null | undefined;
|
|
711
|
+
convert?: {
|
|
712
|
+
measurement?: string | null | undefined;
|
|
713
|
+
inventoryBindings?: {
|
|
714
|
+
measurement?: {
|
|
715
|
+
id: string;
|
|
716
|
+
name: string;
|
|
717
|
+
abbrev: string;
|
|
718
|
+
conversion: {
|
|
719
|
+
amount: number;
|
|
720
|
+
precision: number;
|
|
721
|
+
};
|
|
722
|
+
} | null | undefined;
|
|
723
|
+
type: "RECIPE" | "SKU";
|
|
724
|
+
amount: {
|
|
725
|
+
amount: number;
|
|
726
|
+
precision: number;
|
|
727
|
+
};
|
|
728
|
+
id: string;
|
|
729
|
+
}[] | null | undefined;
|
|
730
|
+
} | null | undefined;
|
|
731
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
732
|
+
unit: {
|
|
733
|
+
_id: string;
|
|
734
|
+
name: string;
|
|
735
|
+
abbrev: string;
|
|
736
|
+
precision: number;
|
|
737
|
+
measurements: {
|
|
738
|
+
id: string;
|
|
739
|
+
name: string;
|
|
740
|
+
abbrev: string;
|
|
741
|
+
conversion: {
|
|
742
|
+
amount: number;
|
|
743
|
+
precision: number;
|
|
744
|
+
};
|
|
745
|
+
}[];
|
|
746
|
+
};
|
|
747
|
+
code: string;
|
|
748
|
+
_id: string;
|
|
749
|
+
name: string;
|
|
750
|
+
};
|
|
751
|
+
amount: {
|
|
752
|
+
amount: number;
|
|
753
|
+
precision: number;
|
|
754
|
+
};
|
|
755
|
+
}[];
|
|
756
|
+
createdBy: {
|
|
757
|
+
id: string;
|
|
758
|
+
name: string;
|
|
759
|
+
};
|
|
760
|
+
createdAt: string;
|
|
761
|
+
deliveryOrderNumber: string;
|
|
762
|
+
}[];
|
|
763
|
+
} | null | undefined;
|
|
764
|
+
_id: string;
|
|
765
|
+
from: {
|
|
766
|
+
name: string;
|
|
767
|
+
dbName: string;
|
|
768
|
+
};
|
|
769
|
+
to: {
|
|
770
|
+
name: string;
|
|
771
|
+
dbName: string;
|
|
772
|
+
};
|
|
773
|
+
purchaseOrderId: string;
|
|
774
|
+
processedAt: string | null;
|
|
775
|
+
rejectedAt: string | null;
|
|
776
|
+
adjusmentIds: string[];
|
|
777
|
+
}, unknown>): string;
|
|
778
|
+
enableSorting: true;
|
|
779
|
+
size?: undefined;
|
|
780
|
+
sortUndefined?: undefined;
|
|
781
|
+
id?: undefined;
|
|
782
|
+
meta?: undefined;
|
|
783
|
+
} | {
|
|
784
|
+
accessorKey: "to.name";
|
|
785
|
+
header: string;
|
|
786
|
+
enableSorting: false;
|
|
787
|
+
size: number;
|
|
788
|
+
sortUndefined?: undefined;
|
|
789
|
+
cell?: undefined;
|
|
790
|
+
id?: undefined;
|
|
791
|
+
meta?: undefined;
|
|
792
|
+
} | {
|
|
793
|
+
accessorKey: "purchaseOrder.items.length";
|
|
794
|
+
header: string;
|
|
795
|
+
enableSorting: false;
|
|
796
|
+
size?: undefined;
|
|
797
|
+
sortUndefined?: undefined;
|
|
798
|
+
cell?: undefined;
|
|
799
|
+
id?: undefined;
|
|
800
|
+
meta?: undefined;
|
|
801
|
+
} | {
|
|
802
|
+
accessorKey: "purchaseOrder.ref";
|
|
803
|
+
header: string;
|
|
804
|
+
enableSorting: false;
|
|
805
|
+
size: any;
|
|
806
|
+
sortUndefined?: undefined;
|
|
807
|
+
cell?: undefined;
|
|
808
|
+
id?: undefined;
|
|
809
|
+
meta?: undefined;
|
|
810
|
+
} | {
|
|
811
|
+
accessorKey: "purchaseOrder.status";
|
|
812
|
+
header: string;
|
|
813
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
814
|
+
purchaseOrder?: {
|
|
815
|
+
remark?: string | null | undefined;
|
|
816
|
+
_rev?: string | null | undefined;
|
|
817
|
+
ref?: string | null | undefined;
|
|
818
|
+
request?: {
|
|
819
|
+
id: string;
|
|
820
|
+
adjustmentIds: string[];
|
|
821
|
+
} | null | undefined;
|
|
822
|
+
stockSnapshotId?: string | null | undefined;
|
|
823
|
+
effectiveAt?: string | null | undefined;
|
|
824
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
825
|
+
_id: string;
|
|
826
|
+
seqNumber: number;
|
|
827
|
+
items: {
|
|
828
|
+
measurement?: {
|
|
829
|
+
id: string;
|
|
830
|
+
name: string;
|
|
831
|
+
abbrev: string;
|
|
832
|
+
conversion: {
|
|
833
|
+
amount: number;
|
|
834
|
+
precision: number;
|
|
835
|
+
};
|
|
836
|
+
} | null | undefined;
|
|
837
|
+
totalCost?: {
|
|
838
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
839
|
+
amount: number;
|
|
840
|
+
precision: number;
|
|
841
|
+
} | null | undefined;
|
|
842
|
+
sku: {
|
|
843
|
+
trackingMeasurement?: string | null | undefined;
|
|
844
|
+
convert?: {
|
|
845
|
+
measurement?: string | null | undefined;
|
|
846
|
+
inventoryBindings?: {
|
|
847
|
+
measurement?: {
|
|
848
|
+
id: string;
|
|
849
|
+
name: string;
|
|
850
|
+
abbrev: string;
|
|
851
|
+
conversion: {
|
|
852
|
+
amount: number;
|
|
853
|
+
precision: number;
|
|
854
|
+
};
|
|
855
|
+
} | null | undefined;
|
|
856
|
+
type: "RECIPE" | "SKU";
|
|
857
|
+
amount: {
|
|
858
|
+
amount: number;
|
|
859
|
+
precision: number;
|
|
860
|
+
};
|
|
861
|
+
id: string;
|
|
862
|
+
}[] | null | undefined;
|
|
863
|
+
} | null | undefined;
|
|
864
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
865
|
+
unit: {
|
|
866
|
+
_id: string;
|
|
867
|
+
name: string;
|
|
868
|
+
abbrev: string;
|
|
869
|
+
precision: number;
|
|
870
|
+
measurements: {
|
|
871
|
+
id: string;
|
|
872
|
+
name: string;
|
|
873
|
+
abbrev: string;
|
|
874
|
+
conversion: {
|
|
875
|
+
amount: number;
|
|
876
|
+
precision: number;
|
|
877
|
+
};
|
|
878
|
+
}[];
|
|
879
|
+
};
|
|
880
|
+
code: string;
|
|
881
|
+
_id: string;
|
|
882
|
+
name: string;
|
|
883
|
+
};
|
|
884
|
+
code: string;
|
|
885
|
+
name: string;
|
|
886
|
+
quantity: {
|
|
887
|
+
amount: number;
|
|
888
|
+
precision: number;
|
|
889
|
+
};
|
|
890
|
+
}[];
|
|
891
|
+
supplier: {
|
|
892
|
+
_rev?: string | null | undefined;
|
|
893
|
+
email?: string | null | undefined;
|
|
894
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
895
|
+
contactName?: string | null | undefined;
|
|
896
|
+
phoneNumber?: string | null | undefined;
|
|
897
|
+
registrationNumber?: string | undefined;
|
|
898
|
+
supplyItems?: {}[] | null | undefined;
|
|
899
|
+
_id: string;
|
|
900
|
+
name: string;
|
|
901
|
+
address: {
|
|
902
|
+
line2?: string | null | undefined;
|
|
903
|
+
line1: string;
|
|
904
|
+
state: string;
|
|
905
|
+
city: string;
|
|
906
|
+
postcode: string;
|
|
907
|
+
country: string;
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
deliveryOrder: {
|
|
911
|
+
remark?: string | null | undefined;
|
|
912
|
+
adjustment?: string | null | undefined;
|
|
913
|
+
received: {
|
|
914
|
+
cost?: {
|
|
915
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
916
|
+
amount: number;
|
|
917
|
+
precision: number;
|
|
918
|
+
} | null | undefined;
|
|
919
|
+
measurement?: {
|
|
920
|
+
id: string;
|
|
921
|
+
name: string;
|
|
922
|
+
abbrev: string;
|
|
923
|
+
conversion: {
|
|
924
|
+
amount: number;
|
|
925
|
+
precision: number;
|
|
926
|
+
};
|
|
927
|
+
} | null | undefined;
|
|
928
|
+
sku: {
|
|
929
|
+
trackingMeasurement?: string | null | undefined;
|
|
930
|
+
convert?: {
|
|
931
|
+
measurement?: string | null | undefined;
|
|
932
|
+
inventoryBindings?: {
|
|
933
|
+
measurement?: {
|
|
934
|
+
id: string;
|
|
935
|
+
name: string;
|
|
936
|
+
abbrev: string;
|
|
937
|
+
conversion: {
|
|
938
|
+
amount: number;
|
|
939
|
+
precision: number;
|
|
940
|
+
};
|
|
941
|
+
} | null | undefined;
|
|
942
|
+
type: "RECIPE" | "SKU";
|
|
943
|
+
amount: {
|
|
944
|
+
amount: number;
|
|
945
|
+
precision: number;
|
|
946
|
+
};
|
|
947
|
+
id: string;
|
|
948
|
+
}[] | null | undefined;
|
|
949
|
+
} | null | undefined;
|
|
950
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
951
|
+
unit: {
|
|
952
|
+
_id: string;
|
|
953
|
+
name: string;
|
|
954
|
+
abbrev: string;
|
|
955
|
+
precision: number;
|
|
956
|
+
measurements: {
|
|
957
|
+
id: string;
|
|
958
|
+
name: string;
|
|
959
|
+
abbrev: string;
|
|
960
|
+
conversion: {
|
|
961
|
+
amount: number;
|
|
962
|
+
precision: number;
|
|
963
|
+
};
|
|
964
|
+
}[];
|
|
965
|
+
};
|
|
966
|
+
code: string;
|
|
967
|
+
_id: string;
|
|
968
|
+
name: string;
|
|
969
|
+
};
|
|
970
|
+
amount: {
|
|
971
|
+
amount: number;
|
|
972
|
+
precision: number;
|
|
973
|
+
};
|
|
974
|
+
}[];
|
|
975
|
+
createdBy: {
|
|
976
|
+
id: string;
|
|
977
|
+
name: string;
|
|
978
|
+
};
|
|
979
|
+
createdAt: string;
|
|
980
|
+
deliveryOrderNumber: string;
|
|
981
|
+
}[];
|
|
982
|
+
} | null | undefined;
|
|
983
|
+
_id: string;
|
|
984
|
+
from: {
|
|
985
|
+
name: string;
|
|
986
|
+
dbName: string;
|
|
987
|
+
};
|
|
988
|
+
to: {
|
|
989
|
+
name: string;
|
|
990
|
+
dbName: string;
|
|
991
|
+
};
|
|
992
|
+
purchaseOrderId: string;
|
|
993
|
+
processedAt: string | null;
|
|
994
|
+
rejectedAt: string | null;
|
|
995
|
+
adjusmentIds: string[];
|
|
996
|
+
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
997
|
+
[key: string]: any;
|
|
998
|
+
}>;
|
|
999
|
+
enableSorting: true;
|
|
1000
|
+
size?: undefined;
|
|
1001
|
+
sortUndefined?: undefined;
|
|
1002
|
+
id?: undefined;
|
|
1003
|
+
meta?: undefined;
|
|
1004
|
+
} | {
|
|
1005
|
+
id: string;
|
|
1006
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
1007
|
+
purchaseOrder?: {
|
|
1008
|
+
remark?: string | null | undefined;
|
|
1009
|
+
_rev?: string | null | undefined;
|
|
1010
|
+
ref?: string | null | undefined;
|
|
1011
|
+
request?: {
|
|
1012
|
+
id: string;
|
|
1013
|
+
adjustmentIds: string[];
|
|
1014
|
+
} | null | undefined;
|
|
1015
|
+
stockSnapshotId?: string | null | undefined;
|
|
1016
|
+
effectiveAt?: string | null | undefined;
|
|
1017
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
1018
|
+
_id: string;
|
|
1019
|
+
seqNumber: number;
|
|
1020
|
+
items: {
|
|
1021
|
+
measurement?: {
|
|
1022
|
+
id: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
abbrev: string;
|
|
1025
|
+
conversion: {
|
|
1026
|
+
amount: number;
|
|
1027
|
+
precision: number;
|
|
1028
|
+
};
|
|
1029
|
+
} | null | undefined;
|
|
1030
|
+
totalCost?: {
|
|
1031
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1032
|
+
amount: number;
|
|
1033
|
+
precision: number;
|
|
1034
|
+
} | null | undefined;
|
|
1035
|
+
sku: {
|
|
1036
|
+
trackingMeasurement?: string | null | undefined;
|
|
1037
|
+
convert?: {
|
|
1038
|
+
measurement?: string | null | undefined;
|
|
1039
|
+
inventoryBindings?: {
|
|
1040
|
+
measurement?: {
|
|
1041
|
+
id: string;
|
|
1042
|
+
name: string;
|
|
1043
|
+
abbrev: string;
|
|
1044
|
+
conversion: {
|
|
1045
|
+
amount: number;
|
|
1046
|
+
precision: number;
|
|
1047
|
+
};
|
|
1048
|
+
} | null | undefined;
|
|
1049
|
+
type: "RECIPE" | "SKU";
|
|
1050
|
+
amount: {
|
|
1051
|
+
amount: number;
|
|
1052
|
+
precision: number;
|
|
1053
|
+
};
|
|
1054
|
+
id: string;
|
|
1055
|
+
}[] | null | undefined;
|
|
1056
|
+
} | null | undefined;
|
|
1057
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1058
|
+
unit: {
|
|
1059
|
+
_id: string;
|
|
1060
|
+
name: string;
|
|
1061
|
+
abbrev: string;
|
|
1062
|
+
precision: number;
|
|
1063
|
+
measurements: {
|
|
1064
|
+
id: string;
|
|
1065
|
+
name: string;
|
|
1066
|
+
abbrev: string;
|
|
1067
|
+
conversion: {
|
|
1068
|
+
amount: number;
|
|
1069
|
+
precision: number;
|
|
1070
|
+
};
|
|
1071
|
+
}[];
|
|
1072
|
+
};
|
|
1073
|
+
code: string;
|
|
1074
|
+
_id: string;
|
|
1075
|
+
name: string;
|
|
1076
|
+
};
|
|
1077
|
+
code: string;
|
|
1078
|
+
name: string;
|
|
1079
|
+
quantity: {
|
|
1080
|
+
amount: number;
|
|
1081
|
+
precision: number;
|
|
1082
|
+
};
|
|
1083
|
+
}[];
|
|
1084
|
+
supplier: {
|
|
1085
|
+
_rev?: string | null | undefined;
|
|
1086
|
+
email?: string | null | undefined;
|
|
1087
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1088
|
+
contactName?: string | null | undefined;
|
|
1089
|
+
phoneNumber?: string | null | undefined;
|
|
1090
|
+
registrationNumber?: string | undefined;
|
|
1091
|
+
supplyItems?: {}[] | null | undefined;
|
|
1092
|
+
_id: string;
|
|
1093
|
+
name: string;
|
|
1094
|
+
address: {
|
|
1095
|
+
line2?: string | null | undefined;
|
|
1096
|
+
line1: string;
|
|
1097
|
+
state: string;
|
|
1098
|
+
city: string;
|
|
1099
|
+
postcode: string;
|
|
1100
|
+
country: string;
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
deliveryOrder: {
|
|
1104
|
+
remark?: string | null | undefined;
|
|
1105
|
+
adjustment?: string | null | undefined;
|
|
1106
|
+
received: {
|
|
1107
|
+
cost?: {
|
|
1108
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1109
|
+
amount: number;
|
|
1110
|
+
precision: number;
|
|
1111
|
+
} | null | undefined;
|
|
1112
|
+
measurement?: {
|
|
1113
|
+
id: string;
|
|
1114
|
+
name: string;
|
|
1115
|
+
abbrev: string;
|
|
1116
|
+
conversion: {
|
|
1117
|
+
amount: number;
|
|
1118
|
+
precision: number;
|
|
1119
|
+
};
|
|
1120
|
+
} | null | undefined;
|
|
1121
|
+
sku: {
|
|
1122
|
+
trackingMeasurement?: string | null | undefined;
|
|
1123
|
+
convert?: {
|
|
1124
|
+
measurement?: string | null | undefined;
|
|
1125
|
+
inventoryBindings?: {
|
|
1126
|
+
measurement?: {
|
|
1127
|
+
id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
abbrev: string;
|
|
1130
|
+
conversion: {
|
|
1131
|
+
amount: number;
|
|
1132
|
+
precision: number;
|
|
1133
|
+
};
|
|
1134
|
+
} | null | undefined;
|
|
1135
|
+
type: "RECIPE" | "SKU";
|
|
1136
|
+
amount: {
|
|
1137
|
+
amount: number;
|
|
1138
|
+
precision: number;
|
|
1139
|
+
};
|
|
1140
|
+
id: string;
|
|
1141
|
+
}[] | null | undefined;
|
|
1142
|
+
} | null | undefined;
|
|
1143
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1144
|
+
unit: {
|
|
1145
|
+
_id: string;
|
|
1146
|
+
name: string;
|
|
1147
|
+
abbrev: string;
|
|
1148
|
+
precision: number;
|
|
1149
|
+
measurements: {
|
|
1150
|
+
id: string;
|
|
1151
|
+
name: string;
|
|
1152
|
+
abbrev: string;
|
|
1153
|
+
conversion: {
|
|
1154
|
+
amount: number;
|
|
1155
|
+
precision: number;
|
|
1156
|
+
};
|
|
1157
|
+
}[];
|
|
1158
|
+
};
|
|
1159
|
+
code: string;
|
|
1160
|
+
_id: string;
|
|
1161
|
+
name: string;
|
|
1162
|
+
};
|
|
1163
|
+
amount: {
|
|
1164
|
+
amount: number;
|
|
1165
|
+
precision: number;
|
|
1166
|
+
};
|
|
1167
|
+
}[];
|
|
1168
|
+
createdBy: {
|
|
1169
|
+
id: string;
|
|
1170
|
+
name: string;
|
|
1171
|
+
};
|
|
1172
|
+
createdAt: string;
|
|
1173
|
+
deliveryOrderNumber: string;
|
|
1174
|
+
}[];
|
|
1175
|
+
} | null | undefined;
|
|
1176
|
+
_id: string;
|
|
1177
|
+
from: {
|
|
1178
|
+
name: string;
|
|
1179
|
+
dbName: string;
|
|
1180
|
+
};
|
|
1181
|
+
to: {
|
|
1182
|
+
name: string;
|
|
1183
|
+
dbName: string;
|
|
1184
|
+
};
|
|
1185
|
+
purchaseOrderId: string;
|
|
1186
|
+
processedAt: string | null;
|
|
1187
|
+
rejectedAt: string | null;
|
|
1188
|
+
adjusmentIds: string[];
|
|
1189
|
+
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1190
|
+
[key: string]: any;
|
|
1191
|
+
}>;
|
|
1192
|
+
enableSorting: false;
|
|
1193
|
+
size: number;
|
|
1194
|
+
meta: {
|
|
1195
|
+
cellClass: string;
|
|
1196
|
+
headerClass: string;
|
|
1197
|
+
};
|
|
1198
|
+
accessorKey?: undefined;
|
|
1199
|
+
header?: undefined;
|
|
1200
|
+
sortUndefined?: undefined;
|
|
1201
|
+
})[];
|
|
1202
|
+
};
|