Submit social housing lettings and sales data (CORE)
 
 
 
 

14 lines
409 B

class Form::Sales::Pages::MortgageAmount < ::Form::Page
def initialize(id, hsh, subsection, ownershipsch:)
super(id, hsh, subsection)
@ownershipsch = ownershipsch
@header = "Mortgage Amount"
@depends_on = [{ "mortgage_used?" => true }]
end
def questions
@questions ||= [
Form::Sales::Questions::MortgageAmount.new(nil, nil, self, ownershipsch: @ownershipsch),
]
end
end