Objective
Implement maintenance ticket workflow for rooms, including ticket creation, status
transitions, room availability blocking, archiving of resolved tickets via soft
delete, administrative purge, and filtered list navigation.
MVP Metadata
- MVP Phase: Operations
- Module: maintenance
- Priority: Medium
- Type: Feature
- FR: FR-10, FR-16
- Branch Target: features
Acceptance Criteria
Soft Delete & Lifecycle
Hard Delete (Purge — Administrator Only)
Filtering
Evidence Expected
- Link related commits and PRs.
- Include screenshots for UI changes when applicable.
- Include test/build evidence when implementation touches app/runtime code.
Objective
Implement maintenance ticket workflow for rooms, including ticket creation, status
transitions, room availability blocking, archiving of resolved tickets via soft
delete, administrative purge, and filtered list navigation.
MVP Metadata
Acceptance Criteria
blocks_availabilityis true.Soft Delete & Lifecycle
deleted_at) to archive them. Active list only shows records wheredeleted_at IS NULL.manageroradministratorrole.blocks_availability = true, returning a descriptive error.Hard Delete (Purge — Administrator Only)
maintenancestate due to this ticket, returning a descriptive error.Filtering
status(open, in-progress, resolved, cancelled).blocks_availability(tickets actively blocking a room).Evidence Expected