From f6dbc0a9840781b431f3baef99c5b1b7e157472a Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 20 Mar 2024 16:28:15 +0000 Subject: [PATCH] CLDC-3326: Update question number on irproduct_other to match rent_type (#2330) --- app/models/form/lettings/questions/irproduct_other.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/form/lettings/questions/irproduct_other.rb b/app/models/form/lettings/questions/irproduct_other.rb index 6b75fed7f..d0df0bec8 100644 --- a/app/models/form/lettings/questions/irproduct_other.rb +++ b/app/models/form/lettings/questions/irproduct_other.rb @@ -8,5 +8,5 @@ class Form::Lettings::Questions::IrproductOther < ::Form::Question @question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max] if form.start_date.present? end - QUESTION_NUMBER_FROM_YEAR = { 2023 => 6 }.freeze + QUESTION_NUMBER_FROM_YEAR = { 2023 => 6, 2024 => 8 }.freeze end