|
|
@ -9,9 +9,10 @@ class Form::Sales::Subsections::PropertyInformation < ::Form::Subsection |
|
|
|
def pages |
|
|
|
def pages |
|
|
|
@pages ||= [ |
|
|
|
@pages ||= [ |
|
|
|
(uprn_questions if form.start_date.year >= 2024), |
|
|
|
(uprn_questions if form.start_date.year >= 2024), |
|
|
|
|
|
|
|
(Form::Sales::Pages::PropertyUnitType.new(nil, nil, self) if form.start_year_2025_or_later?), |
|
|
|
Form::Sales::Pages::PropertyNumberOfBedrooms.new(nil, nil, self), |
|
|
|
Form::Sales::Pages::PropertyNumberOfBedrooms.new(nil, nil, self), |
|
|
|
Form::Sales::Pages::AboutPriceValueCheck.new("about_price_bedrooms_value_check", nil, self), |
|
|
|
Form::Sales::Pages::AboutPriceValueCheck.new("about_price_bedrooms_value_check", nil, self), |
|
|
|
Form::Sales::Pages::PropertyUnitType.new(nil, nil, self), |
|
|
|
(Form::Sales::Pages::PropertyUnitType.new(nil, nil, self) unless form.start_year_2025_or_later?), |
|
|
|
Form::Sales::Pages::MonthlyChargesValueCheck.new("monthly_charges_property_type_value_check", nil, self), |
|
|
|
Form::Sales::Pages::MonthlyChargesValueCheck.new("monthly_charges_property_type_value_check", nil, self), |
|
|
|
Form::Sales::Pages::PercentageDiscountValueCheck.new("percentage_discount_proptype_value_check", nil, self), |
|
|
|
Form::Sales::Pages::PercentageDiscountValueCheck.new("percentage_discount_proptype_value_check", nil, self), |
|
|
|
Form::Sales::Pages::PropertyBuildingType.new(nil, nil, self), |
|
|
|
Form::Sales::Pages::PropertyBuildingType.new(nil, nil, self), |
|
|
|