You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the maintenance and documents tabs on the asset detail page inside frontend/contrib/.
Location
All work must be inside frontend/contrib/app/(dashboard)/assets/[id]/.
Acceptance Criteria
Maintenance tab: Lists all records from GET /assets/:id/maintenance; shows type, status badge, scheduled date, cost; "Mark Complete" button updates status
"Schedule Maintenance" button opens a modal with: type (select), description, scheduledDate, notes, cost — submits to POST /assets/:id/maintenance
Documents tab: Lists all docs from GET /assets/:id/documents with name, type, size, upload date
"Upload Document" button opens a modal with name, URL, type, size fields — submits to POST /assets/:id/documents
Overview
Implement the maintenance and documents tabs on the asset detail page inside
frontend/contrib/.Location
All work must be inside
frontend/contrib/app/(dashboard)/assets/[id]/.Acceptance Criteria
GET /assets/:id/maintenance; shows type, status badge, scheduled date, cost; "Mark Complete" button updates statusPOST /assets/:id/maintenanceGET /assets/:id/documentswith name, type, size, upload datePOST /assets/:id/documents