From f2241770b614f324aaeacc21af993edaae2ce2e2 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Wed, 8 Nov 2023 18:08:11 +0000 Subject: [PATCH] Add status for overdue LoPS We should show it as overdue, not waiting on. --- .../assessor_interface/application_forms_show_view_object.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/view_objects/assessor_interface/application_forms_show_view_object.rb b/app/view_objects/assessor_interface/application_forms_show_view_object.rb index 209b477f84..ed35c25251 100644 --- a/app/view_objects/assessor_interface/application_forms_show_view_object.rb +++ b/app/view_objects/assessor_interface/application_forms_show_view_object.rb @@ -335,6 +335,8 @@ def professional_standing_request_task_list_item status: if professional_standing_request.verified? "completed" + elsif professional_standing_request.expired? + "overdue" elsif professional_standing_request.requested? "waiting_on" else