Declaration Screen
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Full-screen modal presenting the confidentiality declaration text with a mandatory acknowledgement action. Injected as a conditional step in the expense registration wizard when the selected expense type (e.g. driver honoraria) requires a valid declaration on record. Displays the declaration in plain-language Norwegian with large tap targets and WCAG 2.2 AA compliance.
declaration-screen
Responsibilities
- Render versioned declaration text retrieved from backend
- Capture digital acknowledgement via explicit confirm action
- Block expense submission until declaration is accepted
- Display previously accepted declaration status when revisiting
Interfaces
showDeclaration(declarationVersion: DeclarationVersion)
onAcknowledge()
onDecline()
getDeclarationStatus(userId: string, expenseTypeId: string): DeclarationStatus
renderDeclarationText(content: string)
showAlreadyAcceptedBanner(acceptedAt: DateTime)
Relationships
Related Data Entities (2)
Data entities managed by this component