Expense Registration Screen
Component Detail
User Interface
medium complexity
mobile
4
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Primary screen for registering travel reimbursements and out-of-pocket expenses. Presents a streamlined form driven by Riverpod-managed state with conditional field rendering based on the selected expense type, ensuring only relevant inputs are visible at any given time.
expense-registration-screen
Responsibilities
- Render the top-level expense registration form
- Coordinate between expense type selector and conditionally visible input widgets
- Submit validated expense payload to Expense Service
- Display inline validation errors and success feedback
Interfaces
initializeWithDefaults(activityId?)
onExpenseTypeChanged(type)
onSubmit()
onCancel()
showValidationError(field, message)
showSuccessConfirmation(expenseId)
Relationships
Dependencies (4)
Components this component depends on