|
|
@ -10,8 +10,8 @@ class Form::Lettings::Subsections::PropertyInformation < ::Form::Subsection |
|
|
|
@pages ||= [ |
|
|
|
@pages ||= [ |
|
|
|
uprn_questions, |
|
|
|
uprn_questions, |
|
|
|
Form::Lettings::Pages::PropertyLocalAuthority.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyLocalAuthority.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::MinRentValueCheck.new("local_authority_min_rent_value_check", nil, self, check_answers_card_number: nil), # Soft validation |
|
|
|
Form::Lettings::Pages::MinRentValueCheck.new("local_authority_min_rent_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
Form::Lettings::Pages::MaxRentValueCheck.new("local_authority_max_rent_value_check", nil, self, check_answers_card_number: nil), # Soft validation |
|
|
|
Form::Lettings::Pages::MaxRentValueCheck.new("local_authority_max_rent_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
Form::Lettings::Pages::FirstTimePropertyLetAsSocialHousing.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::FirstTimePropertyLetAsSocialHousing.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyLetType.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyLetType.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyVacancyReasonNotFirstLet.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyVacancyReasonNotFirstLet.new(nil, nil, self), |
|
|
@ -21,12 +21,12 @@ class Form::Lettings::Subsections::PropertyInformation < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PropertyBuildingType.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyBuildingType.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyWheelchairAccessible.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyWheelchairAccessible.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyNumberOfBedrooms.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyNumberOfBedrooms.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::MinRentValueCheck.new("beds_min_rent_value_check", nil, self, check_answers_card_number: 0), # Soft validation |
|
|
|
Form::Lettings::Pages::MinRentValueCheck.new("beds_min_rent_value_check", nil, self, check_answers_card_number: 0), |
|
|
|
Form::Lettings::Pages::MaxRentValueCheck.new("beds_max_rent_value_check", nil, self, check_answers_card_number: 0), # Soft validation |
|
|
|
Form::Lettings::Pages::MaxRentValueCheck.new("beds_max_rent_value_check", nil, self, check_answers_card_number: 0), |
|
|
|
Form::Lettings::Pages::VoidDate.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::VoidDate.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::VoidDateValueCheck.new(nil, nil, self), # Soft validation |
|
|
|
Form::Lettings::Pages::VoidDateValueCheck.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyMajorRepairs.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyMajorRepairs.new(nil, nil, self), |
|
|
|
Form::Lettings::Pages::PropertyMajorRepairsValueCheck.new(nil, nil, self), # Soft validation |
|
|
|
Form::Lettings::Pages::PropertyMajorRepairsValueCheck.new(nil, nil, self), |
|
|
|
].flatten.compact |
|
|
|
].flatten.compact |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|