This story delivers the functionality to check for an induction status of 'exempt' associated with the ECT's TRS record when we find a match. ECTs who have an induction status of exempt should not be registered in the service as they are exempt from completing induction, so we end the registration journey in this case.
User story
As a school user
I need to be told if the ECT I'm registering is exempt from induction
So that I know why I cannot register the ECT
Screenshots of relevant screens for if the ECT **does have an induction status of exempt on their TRS record:
Content should be as per the prototype.
URL should be as per this doc.
Acceptance criteria
[ ] 1. When user submits a valid TRN and date of birth on the 'Find an ECT' page and a match is found for the ECT's TRS record using both TRN and date of birth:
[ ] 1a. If the ECT's record has an induction status of 'exempt', user will be navigated to the 'You cannot register [ECT name]' page.
[ ] 1b. If the ECT's record does not have an induction status of 'exempt', user will continue to be navigated to the 'Check if this is your ECT' page.
[ ] 2. On the 'You cannot register [ECT name]' page:
[ ] 2a. H1 text will include the ECT's first and last name from their TRS record
[ ] 2b. Content will be as per the prototype - note, this is slightly different to #687.
[ ] 2c. There will be a link to 'Register another ECT' which navigates the user to the 'Find an ECT' page where the fields should be reset to blank.
[ ] 2d. There will be no 'Back' link on the 'You cannot register [ECT name]' page.
[ ] 3. AC 1&2 above will be replicated for the 'We cannot find your ECT's details' page when a TRS match is found using TRN and NINO.
Description
This story delivers the functionality to check for an induction status of 'exempt' associated with the ECT's TRS record when we find a match. ECTs who have an induction status of exempt should not be registered in the service as they are exempt from completing induction, so we end the registration journey in this case.
User story
As a school user I need to be told if the ECT I'm registering is exempt from induction So that I know why I cannot register the ECT
Prototype, screenshots & content
Prototype link to the 'You cannot register [ECT name]' page
Screenshots of relevant screens for if the ECT **does have an induction status of exempt on their TRS record:
Content should be as per the prototype. URL should be as per this doc.
Acceptance criteria
Technical notes
https://teacher-qualifications-api.education.gov.uk/swagger/index.html
AB portal have also done some relevant work so worth speaking to Pete.
Linked tickets
Dependent on #512 Very similar to #687 Linked to #473 #689