Co-authored-by: Cursor <[email protected]>production
| @@ -172,7 +172,7 @@ async function fetchInventoriesLatestImpl(data: SearchInventory) { | |||||
| export const fetchInventories = cache(fetchInventoriesImpl); | export const fetchInventories = cache(fetchInventoriesImpl); | ||||
| /** | /** | ||||
| * FP-MTMS Version Checklist | Functions Ref. No. 18 | v1.0.3 | 2026-09-07 | |||||
| * FP-MTMS Version Checklist | Functions Ref. No. 18 | v1.0.5 | 2026-09-21 | |||||
| * Inventory search page: latest inventory row per item (no baseUnit/uomId filter). | * Inventory search page: latest inventory row per item (no baseUnit/uomId filter). | ||||
| */ | */ | ||||
| export const fetchInventoriesLatest = cache(fetchInventoriesLatestImpl); | export const fetchInventoriesLatest = cache(fetchInventoriesLatestImpl); | ||||
| @@ -59,7 +59,7 @@ interface Props { | |||||
| onStockAdjustmentSuccess?: () => void | Promise<void>; | onStockAdjustmentSuccess?: () => void | Promise<void>; | ||||
| } | } | ||||
| /** FP-MTMS Version Checklist | Functions Ref. No. 3 | v1.0.7 | 2026-09-08 */ | |||||
| /** FP-MTMS Version Checklist | Functions Ref. No. 3 | v1.0.9 | 2026-09-21 */ | |||||
| const InventoryLotLineTable: React.FC<Props> = ({ | const InventoryLotLineTable: React.FC<Props> = ({ | ||||
| inventoryLotLines, pagingController, setPagingController, totalCount, inventory, | inventoryLotLines, pagingController, setPagingController, totalCount, inventory, | ||||
| filterLotNo, | filterLotNo, | ||||
| @@ -62,7 +62,7 @@ const extractItemRecords = (res: unknown): ItemLookupRow[] => { | |||||
| return []; | return []; | ||||
| }; | }; | ||||
| /** FP-MTMS Version Checklist | Functions Ref. No. 18 | v1.0.3 | 2026-09-07 */ | |||||
| /** FP-MTMS Version Checklist | Functions Ref. No. 18 | v1.0.5 | 2026-09-21 */ | |||||
| const InventorySearch: React.FC<Props> = ({ inventories, printerCombo }) => { | const InventorySearch: React.FC<Props> = ({ inventories, printerCombo }) => { | ||||
| const { t } = useTranslation(['inventory', 'common', 'item']); | const { t } = useTranslation(['inventory', 'common', 'item']); | ||||
| const { data: session } = useSession(); | const { data: session } = useSession(); | ||||
| @@ -8,6 +8,7 @@ interface SubComponents { | |||||
| Loading: typeof GeneralLoading; | Loading: typeof GeneralLoading; | ||||
| } | } | ||||
| /** FP-MTMS Version Checklist | Functions Ref. No. 79 | v1.0.1 | 2026-09-21 */ | |||||
| const InventorySearchWrapper: React.FC & SubComponents = async () => { | const InventorySearchWrapper: React.FC & SubComponents = async () => { | ||||
| const [inventories, printerCombo] = await Promise.all([ | const [inventories, printerCombo] = await Promise.all([ | ||||
| fetchInventories(), | fetchInventories(), | ||||
| @@ -128,6 +128,7 @@ interface Props<T extends string> { | |||||
| disabled?: boolean; | disabled?: boolean; | ||||
| } | } | ||||
| /** FP-MTMS Version Checklist | Functions Ref. No. 79 | v1.0.1 | 2026-09-21 */ | |||||
| function SearchBox<T extends string>({ | function SearchBox<T extends string>({ | ||||
| criteria, | criteria, | ||||
| onSearch, | onSearch, | ||||