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.
 
 
 
 

25 lines
545 B

class Form::Sales::Questions::LeaseholdCharges < ::Form::Question
def initialize(id, hsh, subsection, ownershipsch:)
super(id, hsh, subsection)
@id = "mscharge"
@check_answer_label = "Monthly leasehold charges"
@header = "Enter the total monthly charge"
@type = "numeric"
@min = 0
@width = 5
@prefix = "£"
@ownershipsch = ownershipsch
@question_number = question_number
end
def question_number
case @ownershipsch
when 1
98
when 2
109
when 3
117
end
end
end