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.
24 lines
899 B
24 lines
899 B
2 years ago
|
class Form::Lettings::Pages::RentBiWeekly < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "rent_bi_weekly"
|
||
|
@header = "Household rent and charges"
|
||
|
@depends_on = [
|
||
|
{ "household_charge" => 0, "period" => 2, "is_carehome" => 0 },
|
||
|
{ "household_charge" => nil, "period" => 2, "is_carehome" => 0 },
|
||
|
{ "household_charge" => 0, "period" => 2, "is_carehome" => nil },
|
||
|
{ "household_charge" => nil, "period" => 2, "is_carehome" => nil },
|
||
|
]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [
|
||
|
Form::Lettings::Questions::BrentBiWeekly.new(nil, nil, self),
|
||
|
Form::Lettings::Questions::SchargeBiWeekly.new(nil, nil, self),
|
||
|
Form::Lettings::Questions::PschargeBiWeekly.new(nil, nil, self),
|
||
|
Form::Lettings::Questions::SupchargBiWeekly.new(nil, nil, self),
|
||
|
Form::Lettings::Questions::TchargeBiWeekly.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|