ExpenseRegistrationScreen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Mobile screen that allows peer mentors to register travel-related expenses linked to an activity record. Supports entry of kilometer allowance, tolls, parking, and public transport with standard fixed-type choices to minimize cognitive load. Displays auto-approval status or routes the claim to the approval queue based on org-configured thresholds.
expense-registration-screen
Sources & reasoning
Section 2.1 (line 65) and the Phase 2 roadmap (line 343) explicitly name travel expense registration as a Phase 2 deliverable. Priority matrix (line 148) marks it SHOULD HAVE / Phase 2, mapping to v1.0. The threshold-based auto-approval is a stated HLF requirement (line 69).
-
docs/source/likeperson.md · line 65Begge organisasjoner har behov for registrering av kilometergodtgjørelse, bompenger, parkering og kollektivt. Behovene er like, men HLF har mest detaljert krav:
-
docs/source/likeperson.md · line 69Automatisk godkjenning under 50 km / uten utlegg, manuell attestering ellers (HLF).
-
docs/source/likeperson.md · line 148Reiserefusjon / utleggsregistrering | - | - | ✓ | ✓ | ✓ | SHOULD HAVE | 2
-
docs/source/likeperson.md · line 343Reiserefusjonshåndtering (faste valg, terskelbasert godkjenning)
Responsibilities
- Render expense type selector with fixed choices (km allowance, tolls, parking, public transport)
- Collect expense details including amount, distance, and optional receipt attachment
- Display real-time auto-approval eligibility based on org threshold rules
- Link submitted expense to the current activity record
- Show submission confirmation and approval queue status
Interfaces
renderExpenseForm(activityId: string): void
onExpenseTypeChange(type: ExpenseType): void
onSubmit(expense: ExpenseFormData): Promise<void>
showApprovalStatus(status: ApprovalStatus): void