Browse Source

feat: add period to rent range soft vals for 22/23 and 23/24

pull/1993/head
natdeanlewissoftwire 3 years ago
parent
commit
73cfb4895a
  1. 2
      app/models/form/lettings/pages/max_rent_value_check.rb
  2. 2
      app/models/form/lettings/pages/min_rent_value_check.rb
  3. 8
      config/forms/2022_2023.json

2
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

2
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

8
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": [

Loading…
Cancel
Save