View and Triage Pending Reimbursement Approval Queue
The coordinator accesses the Approval Queue Screen, which subscribes to real-time Supabase changes on the reimbursement_approvals table filtered by the coordinator's organisation scope. Submissions are displayed in priority order with key metadata — submitter name, submission date, total mileage, number of expense items, and current status — enabling rapid triage without opening each item individually. Auto-approved items are filtered out by default, leaving only submissions with status 'pending_attestation'. The queue refreshes instantly as new submissions arrive or existing ones are actioned by another coordinator.
User Story
Acceptance Criteria
- Given I am authenticated as a coordinator, when I navigate to the approval queue, then only submissions within my organisational scope are displayed
- Given submissions exist with status 'pending_attestation', when the queue loads, then they appear in chronological order with submitter name, date, mileage total, and expense item count visible without opening the record
- Given a new submission enters the pending state, when it is created in the database, then the queue updates within 3 seconds without requiring a manual page refresh
- Given I have no pending submissions in my scope, when the queue loads, then an empty state message is shown confirming all submissions are resolved
- Given auto-approved submissions exist, when I view the default queue, then they are excluded from the pending list but accessible via a filter toggle
Business Value
The approval queue is the primary coordinator interface for the reimbursement workflow. Without it, coordinators have no structured way to manage outstanding claims, perpetuating the manual tracking bottleneck identified in workshops. Real-time updates ensure no submission goes unnoticed, directly improving coordinator efficiency and volunteer satisfaction with timely reimbursements.