From 99912d3affa4b193f9cb3c4686085b22cd9589f0 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Fri, 6 Oct 2023 11:10:57 +0100 Subject: [PATCH] Update application form status page for review This updates the status page shown for application forms to handle when the application has been moved to the review stage. --- .../assessor_interface/application_forms/status.html.erb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/assessor_interface/application_forms/status.html.erb b/app/views/assessor_interface/application_forms/status.html.erb index ccb57b3839..c222ce63d1 100644 --- a/app/views/assessor_interface/application_forms/status.html.erb +++ b/app/views/assessor_interface/application_forms/status.html.erb @@ -1,7 +1,9 @@ <% content_for :page_title, "Application" %> <% content_for :back_link_url, assessor_interface_application_form_path(@view_object.application_form) %> -<% if @view_object.application_form.waiting_on? %> +<% if @view_object.assessment.review? %> + <%= govuk_panel(title_text: "Application sent for review") %> +<% elsif @view_object.application_form.waiting_on? %> <%= govuk_panel(title_text: "Reference requests sent successfully") %> <% else %> <%= govuk_panel(title_text: "QTS application #{@view_object.application_form.reference} has been #{@view_object.status.downcase}") %> @@ -11,7 +13,9 @@

The status of this application has been changed to ’<%= @view_object.status %>‘.

<% end %> -<% if @view_object.application_form.declined? %> +<% if @view_object.assessment.review? %> +

An assessor will now review the application and make a decision on awarding or declining QTS.

+<% elsif @view_object.application_form.declined? %>

The application will be deleted after 90 days unless the applicant chooses to appeal.

<% elsif @view_object.application_form.awarded_pending_checks? %>

This status will appear while the award is reconciled with the information in the Database of Qualified Teachers (DQT).