Browse Source

fix: correct builtype question url and section

CLDC-1482-sales-log-buyer-company^2
natdeanlewissoftwire 2 years ago
parent
commit
9eb1e9bf62
  1. 2
      app/models/form/sales/pages/building_type.rb
  2. 1
      app/models/form/sales/subsections/property_information.rb
  3. 1
      app/models/form/sales/subsections/setup.rb

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

@ -1,7 +1,7 @@
class Form::Sales::Pages::BuildingType < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "builtype"
@id = "property_building_type"
@header = ""
@description = ""
@subsection = subsection

1
app/models/form/sales/subsections/property_information.rb

@ -11,6 +11,7 @@ class Form::Sales::Subsections::PropertyInformation < ::Form::Subsection
@pages ||= [
Form::Sales::Pages::PropertyNumberOfBedrooms.new(nil, nil, self),
Form::Sales::Pages::PropertyUnitType.new(nil, nil, self),
Form::Sales::Pages::BuildingType.new(nil, nil, self),
]
end
end

1
app/models/form/sales/subsections/setup.rb

@ -20,7 +20,6 @@ class Form::Sales::Subsections::Setup < ::Form::Subsection
Form::Sales::Pages::BuyerLive.new(nil, nil, self),
Form::Sales::Pages::JointPurchase.new(nil, nil, self),
Form::Sales::Pages::NumberJointBuyers.new(nil, nil, self),
Form::Sales::Pages::BuildingType.new(nil, nil, self),
]
end
end

Loading…
Cancel
Save