DFE-Digital / register-early-career-teachers

This application will replace the Manage training for early career teachers service in 2025.
5 stars 0 forks source link

ECT being registered is already currently active at the school #689

Open mason-emily opened 3 days ago

mason-emily commented 3 days ago

Description

This story delivers the functionality to check for if an ECT is currently active at the same school when we find a TRS record match. This might happen if the school tries to re-register an ECT in error, and we should not allow the same ECT to be registered more than once 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 already registered at my school So that I know why I cannot register the ECT

Prototype, screenshots & content

Prototype link to the '[ECT name] has already been registered' page

Screenshots of relevant screens for if the ECT is already registered at the school: image

Content should be as per the prototype. URL should be as per this doc.

Acceptance criteria

Technical notes

Note, in future, ECTs will be able to transfer between schools, so it will be important for the check covered in this story that we are checking if the ECT is currently registered at the school rather than whether they've ever been registered there.

Speak to Lorenzo & Tony when picking this up.

Linked tickets

Dependent on #512 Similar to #687 #688 Linked to #473