inventory

This commit is contained in:
2026-03-14 21:23:22 -05:00
parent d21e2e3c0b
commit 472c36915c
14 changed files with 730 additions and 1 deletions

View File

@@ -4,6 +4,8 @@ import {
inventoryUnitsOfMeasure,
type InventoryBomLineInput,
type InventoryItemInput,
type WarehouseInput,
type WarehouseLocationInput,
type InventoryItemStatus,
type InventoryItemType,
type InventoryUnitOfMeasure,
@@ -31,6 +33,19 @@ export const emptyInventoryItemInput: InventoryItemInput = {
bomLines: [],
};
export const emptyWarehouseLocationInput: WarehouseLocationInput = {
code: "",
name: "",
notes: "",
};
export const emptyWarehouseInput: WarehouseInput = {
code: "",
name: "",
notes: "",
locations: [],
};
export const inventoryTypeOptions: Array<{ value: InventoryItemType; label: string }> = [
{ value: "PURCHASED", label: "Purchased" },
{ value: "MANUFACTURED", label: "Manufactured" },