| Req ID | Requirement | Priority | User Role |
| DASH-001 | Display Revenue MTD KPI card with month-over-month trend percentage | MUST | Admin, Staff |
| DASH-002 | Display Total Orders, Active Production, Pending Dispatch, Stone Inventory, Active Customers, Overdue Orders, Export Shipments as metric cards | MUST | Admin, Staff |
| DASH-003 | Revenue Bar Chart โ monthly comparison (last 6 months) with gradient visualization | MUST | Admin |
| DASH-004 | Order Status Donut Chart โ distribution across all order statuses | MUST | Admin, Staff |
| DASH-005 | Activity Feed โ last 20 system events (orders, production, dispatch, billing, inventory) with timestamps | MUST | Admin, Staff |
| DASH-006 | Upcoming Deadlines Table โ orders due within 15 days, sorted by due date, color-coded urgency | MUST | Admin, Staff |
| DASH-007 | Quick Status sidebar widget โ Active Production count, Pending Dispatch count, Overdue Orders count | SHOULD | Admin, Staff |
| DASH-008 | Customer dashboard โ limited view showing only own orders, pending quotes, outstanding invoices | MUST | Customer |
| DASH-009 | All KPI values must refresh in real-time (or on page load) from live database | MUST | All |
| DASH-010 | Overdue Orders metric card must display alert state (red border, warning icon) when value > 0 | MUST | Admin, Staff |
| Req ID | Requirement | Priority | User Role |
| ORD-001 | Create new order with all 23 fields: Order ID (auto-generated), Customer, Country, Product Type, Qty, Stone Type, Value, Order Date, Due Date, Status, Assigned Worker, Production Stage, Dimensions, Engraving, Payment Status, Payment Terms, Notes, Contact Email, Contact Phone, Billing Address, Shipping Address, Special Instructions, Days Overdue | MUST | Admin, Staff |
| ORD-002 | Order ID auto-generated in format AG-XXXX (sequential, e.g., AG-2847) | MUST | System |
| ORD-003 | Filter orders by status tab: All, Pending, In Production, Cutting Stage, Quality Check, Ready, Dispatched, Delivered โ with count badges | MUST | Admin, Staff |
| ORD-004 | Full-text search across Order ID, Customer Name, Product Type, Stone Type | MUST | Admin, Staff |
| ORD-005 | Sortable columns: Order ID, Customer, Country, Product Type, Qty, Stone Type, Value, Order Date, Due Date, Status | MUST | Admin, Staff |
| ORD-006 | Pagination with configurable page size (10/25/50 per page) | MUST | Admin, Staff |
| ORD-007 | Order Detail Modal with 4 tabs: Overview (specs + customer), Production (stage pipeline), Payment (GST calculation), Shipping (address + instructions) | MUST | Admin, Staff |
| ORD-008 | Production stage pipeline visualization โ 7 stages with completed/active/pending states | MUST | Admin, Staff |
| ORD-009 | GST auto-calculation in Payment tab: Base Value + 18% GST = Total | MUST | Admin, Staff |
| ORD-010 | Bulk actions: Update Status, Export, Delete (with confirmation) for selected orders | SHOULD | Admin |
| ORD-011 | Export orders to CSV/Excel with all fields | SHOULD | Admin |
| ORD-012 | Delete order with confirmation dialog โ soft delete (archive, not permanent) | MUST | Admin only |
| ORD-013 | Overdue orders visually highlighted (red row tint) when daysOverdue > 0 | MUST | Admin, Staff |
| ORD-014 | Customer portal: Customers can only view their own orders (filtered by customer ID) | MUST | Customer |
| ORD-015 | Generate invoice directly from Order Detail modal (one-click) | MUST | Admin, Staff |
| ORD-016 | Country flags displayed for USA ๐บ๐ธ, Canada ๐จ๐ฆ, Ireland ๐ฎ๐ช, India ๐ฎ๐ณ | NICE | All |
| Req ID | Requirement | Priority | User Role |
| PROD-001 | View all active production orders with current stage, assigned worker, due date | MUST | Admin, Staff |
| PROD-002 | Update production stage for an order (dropdown selection with confirmation) | MUST | Admin, Staff |
| PROD-003 | Assign/reassign worker to an order | MUST | Admin, Staff |
| PROD-004 | Production stage history log โ timestamp + actor for every stage change | MUST | Admin |
| PROD-005 | QC pass/fail workflow โ QC Supervisor can pass (โ Ready) or fail (โ return to stage) with notes | MUST | Admin, Staff |
| PROD-006 | Production capacity view โ orders per worker, workload distribution | SHOULD | Admin |
| PROD-007 | Deadline alerts โ orders due within 5 days highlighted in red, 6โ10 days in amber | MUST | Admin, Staff |
| PROD-008 | Production notes field โ internal notes not visible to customers | MUST | Admin, Staff |
| PROD-009 | Special instructions field โ packing, stacking, customs requirements per order | MUST | Admin, Staff |
| Req ID | Requirement | Priority | User Role |
| INV-001 | Track stone inventory by type: Black Galaxy, Absolute Black, Imperial Red, Blue Pearl, Tan Brown, Black Pearl | MUST | Admin, Staff |
| INV-002 | Inventory unit: Square feet (sq.ft). Total current: 1,240 sq.ft across 6 types | MUST | Admin, Staff |
| INV-003 | Configurable reorder level per stone type โ alert when stock falls below threshold | MUST | Admin |
| INV-004 | Stock status badges: Good Stock, Low Stock, Critical | MUST | Admin, Staff |
| INV-005 | Stock deduction on production start โ auto-deduct estimated sq.ft based on order dimensions | SHOULD | System |
| INV-006 | Stock receipt entry โ log incoming stock from supplier with date, quantity, supplier name | MUST | Admin, Staff |
| INV-007 | Inventory transaction history โ all additions and deductions with timestamps | MUST | Admin |
| INV-008 | Low stock notification โ push notification + sidebar badge when any stone type below reorder level | MUST | Admin, Staff |
| Req ID | Requirement | Priority | User Role |
| CUS-001 | Customer master record: Company Name, Country, Contact Person, Email, Phone, Billing Address, Shipping Address, Payment Terms (default), Customer Since date | MUST | Admin, Staff |
| CUS-002 | Customer order history โ all orders linked to customer with status and value | MUST | Admin, Staff |
| CUS-003 | Customer financial summary โ total ordered, total paid, outstanding balance | MUST | Admin |
| CUS-004 | Customer portal login โ customers access only their own data | MUST | Customer |
| CUS-005 | Customer segmentation by country (USA, Canada, Ireland, India) | SHOULD | Admin |
| CUS-006 | Customer communication log โ emails sent, quotes shared, payment reminders | SHOULD | Admin, Staff |
| Req ID | Requirement | Priority | User Role |
| QBL-001 | Create quotation with: Customer, Country, Product Type, Stone Type, Quantity, Dimensions, Quote Amount (ex-GST), Valid Until date, Payment Terms, Engraving/Special Requirements, Internal Notes | MUST | Admin, Staff |
| QBL-002 | Quote ID auto-generated in format QT-XXXX (sequential) | MUST | System |
| QBL-003 | GST auto-calculation: Base Amount ร 18% = GST Amount; Base + GST = Total Amount | MUST | System |
| QBL-004 | Default quote validity: 30 days from creation date | MUST | System |
| QBL-005 | Quotation status workflow: Pending Approval โ Approved / Rejected โ Converted to Order | MUST | Admin, Staff |
| QBL-006 | One-click conversion: Approved Quote โ New Order (pre-populate order form with quote data) | MUST | Admin |
| QBL-007 | Invoice auto-generation when order reaches Ready/Dispatched status | MUST | System |
| QBL-008 | Invoice ID auto-generated in format INV-XXXX (sequential) | MUST | System |
| QBL-009 | Invoice statuses: Pending Approval, Paid, Overdue | MUST | Admin, Staff |
| QBL-010 | Overdue detection: Invoice due date passed + status not Paid โ auto-mark Overdue + alert | MUST | System |
| QBL-011 | Payment recording: Record payment method (Wire Transfer, SWIFT, ACH, Full Payment) + date + reference | MUST | Admin, Staff |
| QBL-012 | Billing KPI cards: Total Invoiced MTD, Amount Collected, Outstanding, Overdue Amount | MUST | Admin |
| QBL-013 | Export quotations and invoices to PDF (print-ready format with company letterhead) | MUST | Admin, Staff |
| QBL-014 | Financial report generation โ monthly P&L summary, collection rate, outstanding aging | SHOULD | Admin |
| QBL-015 | Payment reminder automation โ email reminder sent 3 days before due date and on due date | SHOULD | System |
| Req ID | Requirement | Priority | User Role |
| DIS-001 | View all orders in Ready status awaiting dispatch | MUST | Admin, Staff |
| DIS-002 | Create shipment record: Carrier (DHL/FedEx/Other), Tracking Number, Estimated Delivery Date, Packing Details | MUST | Admin, Staff |
| DIS-003 | Generate packing list document with: Order ID, Product details, Dimensions, Weight, HS Code (6802.99), Special Instructions | MUST | Admin, Staff |
| DIS-004 | Generate commercial invoice for customs (separate from billing invoice) | MUST | Admin |
| DIS-005 | Shipment tracking โ store carrier tracking number, link to carrier tracking URL | MUST | Admin, Staff, Customer |
| DIS-006 | Dispatch notification to customer โ automated email with tracking details on dispatch | MUST | System |
| DIS-007 | Delivery confirmation โ mark order as Delivered, record actual delivery date | MUST | Admin, Staff |
| DIS-008 | Customs status tracking: In Transit โ Customs Clearance โ Delivered | SHOULD | Admin, Staff |
| Req ID | Requirement | Priority | User Role |
| RPT-001 | Revenue Report โ monthly/quarterly/annual revenue with trend charts | MUST | Admin |
| RPT-002 | Order Report โ orders by status, country, product type, stone type, date range | MUST | Admin |
| RPT-003 | Production Report โ throughput by worker, stage bottlenecks, average cycle time | MUST | Admin |
| RPT-004 | Inventory Report โ stock levels, consumption rate, reorder history | MUST | Admin, Staff |
| RPT-005 | Customer Report โ top customers by revenue, order frequency, outstanding balance | SHOULD | Admin |
| RPT-006 | GST Report โ monthly GST collected, payable, input credit (for CA/tax filing) | MUST | Admin |
| RPT-007 | Export Report โ shipments by country, carrier, value (for DGFT/export compliance) | MUST | Admin |
| RPT-008 | All reports exportable to PDF and Excel | MUST | Admin |
| Req ID | Requirement | Priority | Trigger |
| NOTIF-001 | In-app notification bell with unread count badge | MUST | All events |
| NOTIF-002 | Low stock alert: "Low stock alert: [Stone Type] ([qty] sq.ft)" | MUST | Stock below reorder level |
| NOTIF-003 | Order QC pass notification: "Order [ID] passed Quality Check" | MUST | QC stage completed |
| NOTIF-004 | New quote request notification: "New quote request from [Customer]" | MUST | Quote created |
| NOTIF-005 | Overdue order alert: Daily digest of overdue orders | MUST | Daily cron job |
| NOTIF-006 | Payment received notification | SHOULD | Payment recorded |
| NOTIF-007 | Email notifications to customers: Quote sent, Order dispatched, Invoice due | MUST | Key workflow events |