From e12386c90387daeab3263d58d8405925f35d4c4b Mon Sep 17 00:00:00 2001 From: Richard Lynch Date: Tue, 24 Sep 2024 12:03:56 +0100 Subject: [PATCH] Show started at Update the admin ui to show the claim started_at time rather than claim created_at time --- app/helpers/admin/claims_helper.rb | 2 +- .../admin_view_full_claim_further_education_payments_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/admin/claims_helper.rb b/app/helpers/admin/claims_helper.rb index 8c099e60ce..d01366f027 100644 --- a/app/helpers/admin/claims_helper.rb +++ b/app/helpers/admin/claims_helper.rb @@ -54,7 +54,7 @@ def admin_student_loan_details(claim) def admin_submission_details(claim) [ - [translate("admin.started_at"), l(claim.created_at)], + [translate("admin.started_at"), l(claim.started_at)], [translate("admin.submitted_at"), l(claim.submitted_at)], [translate("admin.decision_deadline"), l(claim.decision_deadline_date)], [translate("admin.decision_overdue"), decision_deadline_warning(claim)] diff --git a/spec/features/admin/admin_view_full_claim_further_education_payments_spec.rb b/spec/features/admin/admin_view_full_claim_further_education_payments_spec.rb index 54b0227368..2d50782575 100644 --- a/spec/features/admin/admin_view_full_claim_further_education_payments_spec.rb +++ b/spec/features/admin/admin_view_full_claim_further_education_payments_spec.rb @@ -26,7 +26,7 @@ address_line_4: "Oregon", postcode: "AB12 3CD", email_address: "edna.krabappel@springfield-elementary.edu", - created_at: DateTime.new(2024, 8, 1, 9, 0, 0), + started_at: DateTime.new(2024, 8, 1, 9, 0, 0), submitted_at: DateTime.new(2024, 8, 1, 11, 0, 0), academic_year: AcademicYear.new(2024) )