|
|
|
@@ -59,6 +59,7 @@ interface Props { |
|
|
|
onStockAdjustmentSuccess?: () => void | Promise<void>; |
|
|
|
} |
|
|
|
|
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 3 | v1.0.5 | 2026-08-05 */ |
|
|
|
const InventoryLotLineTable: React.FC<Props> = ({ |
|
|
|
inventoryLotLines, pagingController, setPagingController, totalCount, inventory, |
|
|
|
filterLotNo, |
|
|
|
@@ -68,8 +69,7 @@ const InventoryLotLineTable: React.FC<Props> = ({ |
|
|
|
const { t } = useTranslation(["inventory"]); |
|
|
|
const { data: session } = useSession(); |
|
|
|
const abilities = session?.user?.abilities ?? []; |
|
|
|
const canStockAdjust = |
|
|
|
abilities.includes(AUTH.ADMIN) || abilities.includes(AUTH.INVENTORY_ADJUST); |
|
|
|
const canStockAdjust = abilities.includes(AUTH.INVENTORY_ADJUST); |
|
|
|
const PRINT_PRINTER_ID_KEY = 'inventoryLotLinePrintPrinterId'; |
|
|
|
const { setIsUploading } = useUploadContext(); |
|
|
|
const [stockTransferModalOpen, setStockTransferModalOpen] = useState(false); |
|
|
|
|