|
|
@ -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? |
|
|
|
@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 |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
QUESTION_NUMBER_FROM_YEAR = { 2023 => 6 }.freeze |
|
|
|
QUESTION_NUMBER_FROM_YEAR = { 2023 => 6, 2024 => 8 }.freeze |
|
|
|
end |
|
|
|
end |
|
|
|