From 73cfb4895aba28d46b17165b1aa872fb6618f9fd Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 19 Oct 2023 11:36:00 +0100 Subject: [PATCH] feat: add period to rent range soft vals for 22/23 and 23/24 --- app/models/form/lettings/pages/max_rent_value_check.rb | 2 +- app/models/form/lettings/pages/min_rent_value_check.rb | 2 +- config/forms/2022_2023.json | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/models/form/lettings/pages/max_rent_value_check.rb b/app/models/form/lettings/pages/max_rent_value_check.rb index 82aff8481..e752f636b 100644 --- a/app/models/form/lettings/pages/max_rent_value_check.rb +++ b/app/models/form/lettings/pages/max_rent_value_check.rb @@ -19,6 +19,6 @@ class Form::Lettings::Pages::MaxRentValueCheck < ::Form::Page end def interruption_screen_question_ids - %w[brent startdate uprn postcode_full la beds rent_type needstype] + %w[brent startdate uprn postcode_full la beds rent_type needstype period] end end diff --git a/app/models/form/lettings/pages/min_rent_value_check.rb b/app/models/form/lettings/pages/min_rent_value_check.rb index b2bae4e8e..0d14a67e9 100644 --- a/app/models/form/lettings/pages/min_rent_value_check.rb +++ b/app/models/form/lettings/pages/min_rent_value_check.rb @@ -19,6 +19,6 @@ class Form::Lettings::Pages::MinRentValueCheck < ::Form::Page end def interruption_screen_question_ids - %w[brent startdate uprn postcode_full la beds rent_type needstype] + %w[brent startdate uprn postcode_full la beds rent_type needstype period] end end diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 5dc249050..9dac7768a 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -7056,8 +7056,8 @@ "3": { "value": "Nominated by a local housing authority" }, - "4" : { - "value" : "Referred by local authority housing department" + "4" : { + "value" : "Referred by local authority housing department" }, "8": { "value": "Re-located through official housing mobility scheme" @@ -8316,7 +8316,7 @@ } } }, - "interruption_screen_question_ids": ["brent", "startdate", "la", "beds", "rent_type", "needstype"] + "interruption_screen_question_ids": ["brent", "startdate", "la", "beds", "rent_type", "needstype", "period"] }, "max_rent_value_check": { "depends_on": [ @@ -8361,7 +8361,7 @@ } } }, - "interruption_screen_question_ids": ["brent", "startdate", "la", "beds", "rent_type", "needstype"] + "interruption_screen_question_ids": ["brent", "startdate", "la", "beds", "rent_type", "needstype", "period"] }, "scharge_value_check": { "depends_on": [