Previous Assessments: Disable or hide Confirm enrolment button
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the task**
As a ministry user, I want to have the "confirm enrolment" button disabled or hidden when there has been a cancelled second disbursement.
**Acceptance Criteria**
- [ ] Hide or disable "Confirm enrolment" on a cancelled disbursement
- [ ] Other times when this needs to be disabled [TBD]
**Additional context**
- When a second disbursement is cancelled there is a confirm enrolment button that the user can select and select confirm enrolment now on the confirm enrolment modal.

An error is displayed.

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Previous Assessments view, the "Confirm enrolment" button, and the confirm enrolment modal, then reproduce the flow with a cancelled second disbursement. Trace how the cancelled disbursement state reaches the button and define the remaining disabled cases before verifying that the button cannot trigger confirmation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100