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.
 
 
 
 

23 lines
597 B

class Form::Sales::Pages::LastAccommodationLa < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "last_accommodation_la"
@copy_key = "sales.household_situation.last_accommodation_la"
@depends_on = [{
"is_previous_la_inferred" => false,
}]
end
def questions
@questions ||= [
Form::Sales::Questions::PreviousLaKnown.new(nil, nil, self),
Form::Sales::Questions::Prevloc.new(nil, nil, self),
]
end
def routed_to?(log, _user)
return false if form.start_year_2024_or_later? && log.discounted_ownership_sale?
super
end
end