You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
577 B
19 lines
577 B
2 years ago
|
class Form::Sales::Subsections::HouseholdSituation < ::Form::Subsection
|
||
|
def initialize(id, hsh, section)
|
||
|
super
|
||
|
@id = "household_situation"
|
||
|
@label = "Household situation"
|
||
|
@section = section
|
||
|
@depends_on = [{ "setup_completed?" => true }]
|
||
|
end
|
||
|
|
||
|
def pages
|
||
|
@pages ||= [
|
||
|
Form::Sales::Pages::Buyer1PreviousTenure.new(nil, nil, self),
|
||
|
Form::Sales::Pages::LastAccommodation.new(nil, nil, self),
|
||
|
Form::Sales::Pages::LastAccommodationLa.new(nil, nil, self),
|
||
|
Form::Sales::Pages::BuyersOrganisations.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|