diff --git a/app/models/journeys/further_education_payments/session_answers.rb b/app/models/journeys/further_education_payments/session_answers.rb index 7872238c73..be28bfc415 100644 --- a/app/models/journeys/further_education_payments/session_answers.rb +++ b/app/models/journeys/further_education_payments/session_answers.rb @@ -51,6 +51,10 @@ def teaching_less_than_2_5_hours_per_week_next_term? def subject_to_problematic_actions? subject_to_formal_performance_action || subject_to_disciplinary_action end + + def lacks_teacher_qualification_or_enrolment? + teaching_qualification == "no_not_planned" + end end end end diff --git a/app/models/policies/further_education_payments/policy_eligibility_checker.rb b/app/models/policies/further_education_payments/policy_eligibility_checker.rb index 654d09981d..365f8e96ec 100644 --- a/app/models/policies/further_education_payments/policy_eligibility_checker.rb +++ b/app/models/policies/further_education_payments/policy_eligibility_checker.rb @@ -32,6 +32,8 @@ def ineligibility_reason :teaching_less_than_2_5_next_term elsif answers.subject_to_problematic_actions? :subject_to_problematic_actions + elsif answers.lacks_teacher_qualification_or_enrolment? + :lacks_teacher_qualification_or_enrolment end end end diff --git a/app/views/further_education_payments/claims/_ineligible_lacks_teacher_qualification_or_enrolment.html.erb b/app/views/further_education_payments/claims/_ineligible_lacks_teacher_qualification_or_enrolment.html.erb new file mode 100644 index 0000000000..f438d23af1 --- /dev/null +++ b/app/views/further_education_payments/claims/_ineligible_lacks_teacher_qualification_or_enrolment.html.erb @@ -0,0 +1,25 @@ +
+
+

+ You are not eligible +

+ +

+ In order to claim an incentive payment, you must: +

+ + <%= govuk_list [ + "have a teaching qualification", + "be enrolled on a teaching qualification and working towards completing it", + "plan to enrol on a teaching qualification in the next 12 months" + ], type: :bullet %> + +

+ For more information, check the eligibility criteria for <%= govuk_link_to "levelling up premium payments for early career further education teachers", "https://www.gov.uk/guidance/levelling-up-premium-payments-for-fe-teachers", new_tab: true %>. +

+ +

+ The information entered is not stored. If you are unsure your information is correct, <%= govuk_link_to "start again", claim_path(current_journey_routing_name, "landing-page") %>. +

+
+
diff --git a/spec/features/further_education_payments/ineligible_paths_spec.rb b/spec/features/further_education_payments/ineligible_paths_spec.rb index 4a2fed2f1d..e581ae7e16 100644 --- a/spec/features/further_education_payments/ineligible_paths_spec.rb +++ b/spec/features/further_education_payments/ineligible_paths_spec.rb @@ -246,6 +246,59 @@ expect(page).to have_content("you must not currently be subject to any") end + scenario "when lacks teaching qualification and no enrol plan" do + when_further_education_payments_journey_configuration_exists + + visit landing_page_path(Journeys::FurtherEducationPayments::ROUTING_NAME) + expect(page).to have_link("Start now") + click_link "Start now" + + expect(page).to have_content("Are you a member of staff with teaching responsibilities?") + choose "Yes" + click_button "Continue" + + expect(page).to have_content("Which FE provider are you employed by?") + fill_in "Which FE provider are you employed by?", with: college.name + click_button "Continue" + + expect(page).to have_content("Select the college you teach at") + choose college.name + click_button "Continue" + + expect(page).to have_content("What type of contract do you have with #{college.name}?") + choose("Permanent contract") + click_button "Continue" + + expect(page).to have_content("On average, how many hours per week are you timetabled to teach at #{college.name} during the current term?") + choose("More than 12 hours per week") + click_button "Continue" + + expect(page).to have_content("Which academic year did you start teaching in further education (FE) in England?") + choose("September 2023 to August 2024") + click_button "Continue" + + expect(page).to have_content("Which subject areas do you teach?") + check("Building and construction") + click_button "Continue" + + expect(page).to have_content("FE building and construction courses goes here") + click_button "Continue" + + expect(page).to have_content("FE teaching courses goes here") + click_button "Continue" + + expect(page).to have_content("Are at least half of your timetabled teaching hours spent teaching 16 to 19-year-olds, including those up to age 25 with an Education, Health and Care Plan (EHCP)?") + choose "Yes" + click_button "Continue" + + expect(page).to have_content("Do you have a teaching qualification?") + choose "No, and I do not plan to enrol on one in the next 12 months" + click_button "Continue" + + expect(page).to have_content("You are not eligible") + expect(page).to have_content("plan to enrol on a teaching qualification in the next 12 months") + end + scenario "when permanent contract and not enough hours" do when_further_education_payments_journey_configuration_exists