Browse Source

feat: revert, don't want this in final diff

pull/1689/head
natdeanlewissoftwire 2 years ago
parent
commit
3aa2b2d358
  1. 2
      app/models/form.rb

2
app/models/form.rb

@ -9,7 +9,7 @@ class Form
@end_date = if start_year && start_year.to_i > 2022
Time.zone.local(start_year + 1, 6, 9)
else
Time.zone.local(start_year + 1, 6, 7)
Time.zone.local(start_year + 1, 8, 7)
end
@setup_sections = type == "sales" ? [Form::Sales::Sections::Setup.new(nil, nil, self)] : [Form::Lettings::Sections::Setup.new(nil, nil, self)]
@form_sections = sections_in_form.map { |sec| sec.new(nil, nil, self) }

Loading…
Cancel
Save