Maintenance & work ordersOperations & links
Public work order links (`/v/`)
Standalone work order pages outside the main dashboard layout.
These routes are meant for external or lightweight viewing of work orders (for example a link shared with a vendor). They live outside /dashboard.
Routes
| URL | Purpose |
|---|---|
/v | List/table of work orders with approve and reject actions at row level |
/v/:workOrderId | Rich work order detail with tabs (issues, incident, services, parts) and kanban-style issue columns |
/v list page
- Title Work Order with subtitle Manage work orders from here.
- Table supports Approve and Reject per row; in the reviewed build these only update local React state (status flips on the mock row).
/v/:workOrderId detail
- Loader resolves the order from mock work orders by id; missing id → not found.
- Includes kanban columns (Waiting, In Progress, Completed, Blocked), tabs for Issues, Incident, Services, Part Management, and multiple modals (issue detail, blockers, services, parts, cost breakdown, mark complete, vehicle detail).
📌 Note: There is no authentication guard in these route modules in the reviewed code. Your deployment must protect these URLs at the network or application layer if they should not be public.