Inventory Management
Track raw materials, monitor stock levels, and automate reordering.

📦 Inventory Dashboard
The Inventory module gives you a bird's-eye view of your stock health. Key features include:
Stock Monitoring
- Real-time Data: View Current Stock vs. Min Stock levels for every item (e.g., IDLY RAVA).
- Units: Standardized measurement units (e.g., "kg", "packets") ensure accuracy.
- Refresh: Use the "Refresh" button (top right) to fetch the latest stock counts immediately.
Alert System
- Status Badges:
- Critical: Stock is below the minimum level; reorder immediately.
- Good: Stock levels are healthy.
Management Actions
- + Add Material: Register new ingredients into the system.
- Trend Graph (📉): View usage history over time.
- Edit/Delete: Modify supplier details or remove unused items.
➕ Adding Raw Materials
Click the purple "+ Add Material" button to register a new ingredient. Accurate data entry here ensures your reports are reliable:

- Essentials: Enter the Name and select the standard Unit (e.g., kg, liters) for tracking.
- Stock Calibration:
- Minimum Stock: The lowest acceptable amount before an alert is triggered.
- Maximum Stock: The ideal full capacity (prevents over-ordering).
- Financials: Input the Cost Price to help calculate the total value of your inventory.
📉 Recording Material Usage
Clicking the Trend Graph icon opens the usage form. This is used to manually deduct stock when ingredients are used for preparation:

- Material Info: Displays the selected item (e.g., IDLY RAVA) and its current Available Stock to prevent over-drafting.
- Quantity Used: Enter the amount to deduct (e.g., "5.5"). The unit (kg) is automatically displayed below.
- Reason: Optional field to note why the stock was used (e.g., "Dinner Service Prep", "Wastage").
- Record Usage: Click the purple button to update the inventory immediately.
✏️ Editing Raw Materials
Click the Pencil Icon to modify an item's details. This full-screen modal allows you to configure stock thresholds and supplier info:

- Core Identifiers: Update the Name and SKU (Stock Keeping Unit).
- Stock Limits:
- Min Stock & Reorder Level: Set the threshold (e.g., 500 kg) that triggers a "Critical" alert.
- Alert: The system will automatically flag items when they fall below this Reorder Level.
- Supplier Details: Keep contact info handy by adding the Supplier Name, Contact, and Email directly to the item record.
🗑️ Deleting Raw Materials
To permanently remove an ingredient from your inventory, click the red Trash Icon. A confirmation modal ensures you don't delete items by mistake:

- Verification: The system asks "Are you sure you want to delete [Item Name]?" to confirm your intent.
- Irreversible: Once confirmed, this action cannot be undone, and the item's history will be removed.
- Safe Exit: Click Cancel to close the modal and keep the item.
📊 Usage & Transaction Reports
Switch to the Usage Reports tab to access detailed financial analytics and audit logs:

- Flexible Filters:
- Date Range: Select specific dates (From/To) to analyze consumption during peak periods or financial quarters.
- Report Type: Choose between Usage (what was cooked), Wastage (spoiled/spilled items), or All Transactions (complete history).
- Financial Summary: Big bold metrics show the Total Materials Used and the calculated Total Cost (e.g., $70,000.00) for the selected period.
- Detailed Ledger: The bottom table lists every specific transaction, including the Reason (e.g., "Catering Order"), the User responsible (System/Employee), and the exact Time.