Spaces:
Configuration error
Configuration error
File size: 2,690 Bytes
1519172 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | """Operations category KPI widget definitions."""
OPERATIONS_WIDGETS: dict = {
"wid_open_po_count_001": {
"title": "Open Purchase Orders",
"category": "operations",
"unit": "count",
"description": "Count of POs in submitted/approved/dispatched/partially_received status",
"drill_down_url": "/purchases/orders",
},
"wid_po_aging_001": {
"title": "PO Aging",
"category": "operations",
"unit": "count",
"description": "Open POs grouped by age: 0-7, 8-14, 15-30, 30+ days",
"drill_down_url": "/purchases/orders",
},
"wid_receipts_this_week_001": {
"title": "Receipts This Week",
"category": "operations",
"unit": "count",
"description": "GRNs received in the last 7 days",
"drill_down_url": "/purchases/receipts",
},
"wid_stock_ins_today_001": {
"title": "Stock-Ins Today",
"category": "operations",
"unit": "count",
"description": "Direct stock-in (Self-GRN) transactions created today",
"drill_down_url": "/self-grn",
},
"wid_stock_take_pending_001": {
"title": "Pending Stock Takes",
"category": "operations",
"unit": "count",
"description": "Stock takes in draft or in_progress status",
"drill_down_url": "/inventory/stock-take",
},
"wid_shipments_transit_001": {
"title": "Shipments In Transit",
"category": "operations",
"unit": "count",
"description": "Trade shipments currently in transit",
"drill_down_url": "/trade-sales/client-orders",
},
# --- OPERATIONS (retail) ---
"wid_appointments_today_001": {
"title": "Appointments Today",
"category": "operations",
"unit": "count",
"description": "Total appointments today with status breakdown",
"drill_down_url": "/retail/appointments",
},
"wid_no_show_rate_001": {
"title": "No-Show Rate",
"category": "operations",
"unit": "%",
"description": "Percentage of booked appointments that were no-shows",
"drill_down_url": "/retail/appointments",
},
"wid_staff_utilization_001": {
"title": "Staff Utilization",
"category": "operations",
"unit": "%",
"description": "Booked hours as a percentage of available staff hours",
"drill_down_url": "/retail/appointments",
},
"wid_service_mix_001": {
"title": "Service Mix",
"category": "operations",
"unit": "INR",
"description": "Revenue by service category from paid sales",
"drill_down_url": "/retail/pos",
},
}
|