HIGH story-expense-type-selection-mutual-exclusion-coordinator-003 5 pts

User Story

As a Coordinator
I want to see a live calculation of my estimated reimbursement amount as I select expense types and enter details
So that I can verify the claim is correct before submitting and understand exactly how the reimbursement is calculated

Acceptance Criteria

  • Given the peer mentor selects 'mileage' and enters a distance, when the distance field updates, then the preview panel recalculates and displays the reimbursement amount within 300 ms without a full page reload
  • Given the calculated amount is below the auto-approval threshold, when the preview renders, then a green indicator and label 'Auto-approved' are shown
  • Given the calculated amount exceeds the auto-approval threshold, when the preview renders, then an amber indicator and label 'Requires coordinator approval' are shown
  • Given multiple expense types are selected (e.g., mileage + parking), when any field updates, then the preview shows a line-item breakdown per type and a total
  • Given the organisation's rate configuration changes, when the preview is rendered on a new session, then the updated rates are used in the calculation
  • Given a screen reader is active, when the calculation updates, then the updated total is announced via a live region without interrupting the user's current focus

Business Value

Real-time calculation preview reduces submission errors caused by misunderstood reimbursement rules and gives peer mentors immediate confidence that their claim reflects actual entitlement. For HLF, where 60–70 percent of registrations involve no reimbursement at all and the rest have strict rules, transparent calculation builds trust in the system. Showing auto-approval eligibility at claim time also reduces coordinator workload by setting correct expectations before claims enter the queue.