Disable "Edit" button in NameX until the NR has been furnished
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
### Description
Clients are experiencing issues registering in OneStop. Their Name Requests are not working.
The data in the NR is getting messed up when an examiner:
1. Creates a replacement NR for a client
2. Quickly goes to edit the NR before the NR has been furnished
This does not happen often. Usually an examiner only interacts with the NR long after it has been furnished.
When they do this, another row is added to the consent table (totalling 2 rows) which is incorrect and prevents the NR from being used in OneStop.
### Acceptance Criteria
GIVEN I am a staff member in NameX
AND i am looking at an NR that has not been furnished yet
WHEN I click "edit" on that NR
THEN I see an error message (see content below)
AND the NR cannot be edited

### Content
> The client has not been notified about this NR yet.
> You cannot edit an NR if the client has not been notified.
> The system usually takes about 3 minutes to notify the client.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.