User Interface low complexity mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Specialised input widget for mileage-based reimbursement claims that accepts kilometre distance and calculates the reimbursement amount using the organisation-specific per-kilometre rate from Riverpod providers. Includes client-side distance validation and live amount preview.

Feature: Travel Reimbursement Registration

mileage-calculator-widget

Responsibilities

  • Accept kilometre distance input with numeric keyboard
  • Calculate and display reimbursement amount in real time using org-specific per-km rate
  • Validate distance input against configured minimum and maximum thresholds
  • Show auto-approval eligibility indicator based on distance threshold

Interfaces

onDistanceChanged(km)
calculateAmount(km, ratePerKm)
validateDistance(km)
getCalculatedAmount()
isEligibleForAutoApproval(km)
setPerKmRate(rate)

Related Data Entities (1)

Data entities managed by this component