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.
18 lines
497 B
18 lines
497 B
2 years ago
|
class Form::Lettings::Pages::CareHomeMonthly < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "care_home_monthly"
|
||
|
@depends_on = [
|
||
|
{ "period" => 4, "needstype" => 2, "household_charge" => 0 },
|
||
|
{ "period" => 4, "needstype" => 2, "household_charge" => nil },
|
||
|
]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [
|
||
|
Form::Lettings::Questions::IsCarehome.new(nil, nil, self),
|
||
|
Form::Lettings::Questions::ChchargeMonthly.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|