Browse Source

feat: replace la with uprn, postoce_full, la in all interruption_screen_question_ids

pull/1518/head
natdeanlewissoftwire 3 years ago
parent
commit
f51ed02276
  1. 2
      app/models/form/lettings/pages/max_rent_value_check.rb
  2. 2
      app/models/form/lettings/pages/min_rent_value_check.rb
  3. 2
      app/models/form/sales/pages/about_price_value_check.rb
  4. 2
      app/models/form/sales/pages/buyer1_income_max_value_check.rb
  5. 2
      app/models/form/sales/pages/buyer2_income_max_value_check.rb
  6. 2
      app/models/form/sales/pages/combined_income_max_value_check.rb

2
app/models/form/lettings/pages/max_rent_value_check.rb

@ -30,6 +30,6 @@ class Form::Lettings::Pages::MaxRentValueCheck < ::Form::Page
end end
def interruption_screen_question_ids def interruption_screen_question_ids
%w[brent startdate la beds rent_type needstype] %w[brent startdate uprn postcode_full la beds rent_type needstype]
end end
end end

2
app/models/form/lettings/pages/min_rent_value_check.rb

@ -26,6 +26,6 @@ class Form::Lettings::Pages::MinRentValueCheck < ::Form::Page
end end
def interruption_screen_question_ids def interruption_screen_question_ids
%w[brent startdate la beds rent_type needstype] %w[brent startdate uprn postcode_full la beds rent_type needstype]
end end
end end

2
app/models/form/sales/pages/about_price_value_check.rb

@ -39,6 +39,6 @@ class Form::Sales::Pages::AboutPriceValueCheck < ::Form::Page
end end
def interruption_screen_question_ids def interruption_screen_question_ids
%w[value beds la] %w[value beds uprn postcode_full la]
end end
end end

2
app/models/form/sales/pages/buyer1_income_max_value_check.rb

@ -27,6 +27,6 @@ class Form::Sales::Pages::Buyer1IncomeMaxValueCheck < ::Form::Page
end end
def interruption_screen_question_ids def interruption_screen_question_ids
%w[la income1] %w[uprn postcode_full la income1]
end end
end end

2
app/models/form/sales/pages/buyer2_income_max_value_check.rb

@ -27,6 +27,6 @@ class Form::Sales::Pages::Buyer2IncomeMaxValueCheck < ::Form::Page
end end
def interruption_screen_question_ids def interruption_screen_question_ids
%w[la income2] %w[uprn postcode_full la income2]
end end
end end

2
app/models/form/sales/pages/combined_income_max_value_check.rb

@ -27,6 +27,6 @@ class Form::Sales::Pages::CombinedIncomeMaxValueCheck < ::Form::Page
end end
def interruption_screen_question_ids def interruption_screen_question_ids
%w[la income1 income2] %w[uprn postcode_full la income1 income2]
end end
end end

Loading…
Cancel
Save