import { Package, AlertTriangle, Activity, FileText, LayoutGrid, Plus } from "lucide-react"; import Button from "@/components/common/button"; import StatCard from "@/components/common/dashStatCard"; import InfoBanner from "@/components/common/infoBanner"; import { consumptionLedger, stockItems } from "@/constants/constant"; export default function InventoryPortal() { return (
Stock master with receipt / consume transactions. Consumption posts back to the originating request job card; items at or below minimum are flagged for reorder.
| Item | Group | Store | Min | Present | Status |
|---|---|---|---|---|---|
| {row.isHighlighted && ( )} {row.item} | {row.group} | {row.store} | {row.min} | {row.presentValue}{" "} {row.unit} | {row.status === "COMPLETED" ? ( COMPLETED ) : ( OVERDUE )} |
| Txn | Item | Type | Qty | Job Card | Date |
|---|---|---|---|---|---|
| {row.txn} | {row.item} | {row.type === "Consume" ? ( Consume ) : ( Receipt )} | {row.qty} | {row.jobCard} | {row.date} |