Catering Management
Handle large-scale orders and track resource requirements efficiently.

🍱 Catering Dashboard
The Catering module is designed for managing bulk orders and special events. It provides a clear overview of upcoming commitments.
Order Details
- Order #: Unique identifier (e.g., CAT-2026-0003).
- Customer: Client name and contact details.
- Required Date: Due date and time for the order.
- Type: Service type (e.g., Takeaway, Delivery).
Financials & Status
- Total Amount: The full value of the catering order.
- Status: Current state (e.g., PENDING or CONFIRMED).
Key Actions
- + New Catering Order: (Top Right) Create a new bulk order request.
- 👁️ Details: View the full breakdown of items and special instructions.
📋 Inventory Estimation
For every catering order, you will see a prominent pink button: Inventory Estimation.
Clicking this generates a report on the raw materials required to fulfill the order (e.g., "50kg Rice", "20kg Chicken"). This helps in procurement planning to ensure you have sufficient stock for the event.
➕ Creating a New Catering Order
Click the "+ New Catering Order" button to open the submission form. Fill in the three key sections:

- Customer Details: Enter the Name, Phone Number, and optionally an Email address.
- Event Details: Select the Date & Time of the event and the Service Type (e.g., Takeaway).
- Add Items: Use the dropdown to select menu items and specify the Quantity. Click "Add" to build the order list.
- Finalize: Review the information and click "Create Order" to save it to the system.
📄 Generating the Estimation Report
After clicking the pink Inventory Estimation button on an order, a comprehensive report appears:

- Ingredient Analysis: The system calculates exactly what raw materials are needed (e.g., "Ingredient: IDLY RAVA", "Qty Needed: 200.00 kg").
- Stock Check: Compares usage with your Current Stock (displayed in Green if sufficient).
- Cost Projection: Provides a financial breakdown including Unit Cost and Total Cost for the required materials.
- Missing Info Alert: ⚠️ Warning: If any ordered item (e.g., "DOSA") lacks a linked recipe, it will be listed so you can update your data.
👁️ Viewing Order Details
Clicking the blue Details link in the Action column opens the specifics of the catering request:

- Tabs: Switch between Order Details (Items, Cost) and Action History (Audit logs of changes).
- Summary: Reviews Customer Info, Order ID, Date, and current Status (e.g., PENDING).
- Items List: Shows the ordered dishes (e.g., "Manchurian DRY") with quantities and individual prices.
- Confirm Order: If the order is "Pending", you can click the green "Confirm Order" text button at the bottom to accept it officially.
🕒 Action History & Audit Trail
Switch to the Action History tab within the details modal to view a timeline of all updates:

- Timeline Feed: Displays events in chronological order, such as "CREATED" or "STATUS CHANGED".
- User Attribution: Shows exactly who made the change (e.g., "admin" vs "customer") and their email address.
- Status Tracking: Detailed logs of lifecycle changes, for example: "Status changed from 'pending' to 'confirmed'".
- Mark Completed: Once the event is done, you can click "Mark Completed" to close the order lifecycle.