|
|
|
|
@ -23,27 +23,14 @@ class Form::Sales::Subsections::PropertyInformation < ::Form::Subsection
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def uprn_questions |
|
|
|
|
if form.start_year_2024_or_later? |
|
|
|
|
[ |
|
|
|
|
Form::Sales::Pages::AddressSearch.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::AddressFallback.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::PropertyLocalAuthority.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::Buyer1IncomeDiscountedMaxValueCheck.new("local_authority_buyer_1_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::Buyer2IncomeDiscountedMaxValueCheck.new("local_authority_buyer_2_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::CombinedIncomeMaxValueCheck.new("local_authority_combined_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::AboutPriceValueCheck.new("about_price_la_value_check", nil, self), |
|
|
|
|
] |
|
|
|
|
else |
|
|
|
|
[ |
|
|
|
|
Form::Sales::Pages::Uprn.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::UprnConfirmation.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::Address.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::PropertyLocalAuthority.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::Buyer1IncomeDiscountedMaxValueCheck.new("local_authority_buyer_1_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::Buyer2IncomeDiscountedMaxValueCheck.new("local_authority_buyer_2_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::CombinedIncomeMaxValueCheck.new("local_authority_combined_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::AboutPriceValueCheck.new("about_price_la_value_check", nil, self), |
|
|
|
|
] |
|
|
|
|
end |
|
|
|
|
[ |
|
|
|
|
Form::Sales::Pages::AddressSearch.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::AddressFallback.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::PropertyLocalAuthority.new(nil, nil, self), |
|
|
|
|
Form::Sales::Pages::Buyer1IncomeDiscountedMaxValueCheck.new("local_authority_buyer_1_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::Buyer2IncomeDiscountedMaxValueCheck.new("local_authority_buyer_2_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::CombinedIncomeMaxValueCheck.new("local_authority_combined_income_max_value_check", nil, self, check_answers_card_number: nil), |
|
|
|
|
Form::Sales::Pages::AboutPriceValueCheck.new("about_price_la_value_check", nil, self), |
|
|
|
|
] |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|