|
|
|
@ -8,8 +8,23 @@ class Form::Lettings::Questions::Waityear < ::Form::Question
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def answer_options |
|
|
|
|
if form.start_year_2025_or_later? |
|
|
|
|
return { |
|
|
|
|
"13" => { "value" => "Household not on the housing register (or waiting list) in this area" }, |
|
|
|
|
"2" => { "value" => "Less than 1 year" }, |
|
|
|
|
"7" => { "value" => "1 year but under 2 years" }, |
|
|
|
|
"8" => { "value" => "2 years but under 3 years" }, |
|
|
|
|
"9" => { "value" => "3 years but under 4 years" }, |
|
|
|
|
"10" => { "value" => "4 years but under 5 years" }, |
|
|
|
|
"11" => { "value" => "5 years but under 10 years" }, |
|
|
|
|
"12" => { "value" => "10 years or more" }, |
|
|
|
|
"divider" => { "value" => true }, |
|
|
|
|
"6" => { "value" => "Don’t know" }, |
|
|
|
|
}.freeze |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
if form.start_year_2024_or_later? |
|
|
|
|
{ |
|
|
|
|
return { |
|
|
|
|
"2" => { "value" => "Less than 1 year" }, |
|
|
|
|
"7" => { "value" => "1 year but under 2 years" }, |
|
|
|
|
"8" => { "value" => "2 years but under 3 years" }, |
|
|
|
@ -20,7 +35,8 @@ class Form::Lettings::Questions::Waityear < ::Form::Question
|
|
|
|
|
"divider" => { "value" => true }, |
|
|
|
|
"6" => { "value" => "Don’t know" }, |
|
|
|
|
}.freeze |
|
|
|
|
else |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
"2" => { "value" => "Less than 1 year" }, |
|
|
|
|
"7" => { "value" => "1 year but under 2 years" }, |
|
|
|
@ -32,7 +48,6 @@ class Form::Lettings::Questions::Waityear < ::Form::Question
|
|
|
|
|
"6" => { "value" => "Don’t know" }, |
|
|
|
|
}.freeze |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
QUESTION_NUMBER_FROM_YEAR = { 2023 => 76, 2024 => 75 }.freeze |
|
|
|
|
end |
|
|
|
|