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.
27 lines
1.2 KiB
27 lines
1.2 KiB
class Form::Lettings::Pages::CareHomeWeekly < ::Form::Page |
|
def initialize(id, hsh, subsection) |
|
super |
|
@id = "care_home_weekly" |
|
@depends_on = [ |
|
{ "period" => 1, "needstype" => 2, "household_charge" => 0 }, |
|
{ "period" => 1, "needstype" => 2, "household_charge" => nil }, |
|
{ "period" => 5, "needstype" => 2, "household_charge" => 0 }, |
|
{ "period" => 5, "needstype" => 2, "household_charge" => nil }, |
|
{ "period" => 6, "needstype" => 2, "household_charge" => 0 }, |
|
{ "period" => 6, "needstype" => 2, "household_charge" => nil }, |
|
{ "period" => 7, "needstype" => 2, "household_charge" => 0 }, |
|
{ "period" => 7, "needstype" => 2, "household_charge" => nil }, |
|
{ "period" => 8, "needstype" => 2, "household_charge" => 0 }, |
|
{ "period" => 8, "needstype" => 2, "household_charge" => nil }, |
|
{ "period" => 9, "needstype" => 2, "household_charge" => 0 }, |
|
{ "period" => 9, "needstype" => 2, "household_charge" => nil }, |
|
] |
|
end |
|
|
|
def questions |
|
@questions ||= [ |
|
Form::Lettings::Questions::IsCarehome.new(nil, nil, self), |
|
Form::Lettings::Questions::ChchargeWeekly.new(nil, nil, self), |
|
] |
|
end |
|
end
|
|
|