diff --git a/app/models/form/sales/sections/sale_information.rb b/app/models/form/sales/sections/sale_information.rb new file mode 100644 index 000000000..941abad3a --- /dev/null +++ b/app/models/form/sales/sections/sale_information.rb @@ -0,0 +1,14 @@ +class Form::Sales::Sections::SaleInformation < ::Form::Section + def initialize(id, hsh, form) + super + @id = "sale_information" + @label = "Sale information" + @description = "" + @form = form + @subsections = [ + Form::Sales::Subsections::SharedOwnershipScheme.new(nil, nil, self), + Form::Sales::Subsections::DiscountedOwnershipScheme.new(nil, nil, self), + Form::Sales::Subsections::OutrightSale.new(nil, nil, self), + ] || [] + end +end diff --git a/app/models/form_handler.rb b/app/models/form_handler.rb index 69b05859e..3f63b99cd 100644 --- a/app/models/form_handler.rb +++ b/app/models/form_handler.rb @@ -22,6 +22,7 @@ class FormHandler sales_sections = [ Form::Sales::Sections::PropertyInformation, Form::Sales::Sections::Household, + Form::Sales::Sections::SaleInformation, Form::Sales::Sections::Finances, ] current_form = Form.new(nil, current_collection_start_year, sales_sections, "sales")