Submit social housing lettings and sales data (CORE)
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
472 B

class Form::Sales::Pages::LastAccommodation < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "last_accommodation"
end
def questions
@questions ||= [
Form::Sales::Questions::PreviousPostcodeKnown.new(nil, nil, self),
Form::Sales::Questions::PreviousPostcode.new(nil, nil, self),
]
end
def routed_to?(log, _user)
return false if log.form.start_year_after_2024? && log.discounted_ownership_sale?
super
end
end