View Honorarium Calculation Before Submitting
The Driver Honorarium Screen displays an interactive summary that updates in real time as the peer mentor inputs trip counts. The calculation breakdown shows: the configured rate per trip (sourced from the organisation's honorarium rate configuration), the number of trips entered, any applicable thresholds (e.g. different rates above a certain trip count), and the resulting total honorarium amount. This transparency helps peer mentors spot entry errors before submission and builds trust in the system's accuracy.
User Story
Acceptance Criteria
- Given a peer mentor is on the Driver Honorarium Screen, when they enter the number of trips, then the honorarium breakdown (rate per trip × number of trips = total) updates in real time
- Given the organisation has tiered rates (e.g. higher rate above a threshold), when the trip count crosses the threshold, then the breakdown clearly shows both rate tiers and their respective amounts
- Given the peer mentor views the calculation, when they tap an information icon next to the rate, then a tooltip or modal explains the rate source and when it was last updated by the organisation
- Given the calculated total is displayed, when the peer mentor taps Submit, then the same amount shown in the breakdown is the amount written to the database — no discrepancy between preview and stored value
Business Value
Transparent calculation previews reduce submission errors and coordinator correction workload. When peer mentors can verify amounts before submitting, disputes and resubmissions decrease, improving data quality in the accounting integration and reducing administrative overhead for coordinators who would otherwise need to manually correct erroneous records.
Components
- Driver Honorarium Screen ui
- Honorarium Service service