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.
162 lines
16 KiB
162 lines
16 KiB
class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
def initialize(id, hsh, section) |
|
super |
|
@id = "household_characteristics" |
|
@label = "Household characteristics" |
|
@depends_on = [{ "non_location_setup_questions_completed?" => true }] |
|
end |
|
|
|
def pages |
|
@pages ||= [ |
|
Form::Lettings::Pages::Declaration.new(nil, nil, self), |
|
Form::Lettings::Pages::HouseholdMembers.new(nil, nil, self), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdLeadHhmembValueCheck.new(nil, nil, self), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdLeadHhmembValueCheck.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantAge.new(nil, nil, self), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdLeadAgeValueCheck.new(nil, nil, self), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdLeadAgeValueCheck.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantUnderRetirementValueCheck.new("age_lead_tenant_under_retirement_value_check", nil, self), |
|
Form::Lettings::Pages::LeadTenantOverRetirementValueCheck.new("age_lead_tenant_over_retirement_value_check", nil, self), |
|
Form::Lettings::Pages::LeadTenantGenderIdentity.new(nil, nil, self), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdLeadValueCheck.new(nil, nil, self), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdLeadValueCheck.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantOverRetirementValueCheck.new("gender_lead_tenant_over_retirement_value_check", nil, self), |
|
Form::Lettings::Pages::LeadTenantEthnicGroup.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantEthnicBackgroundArab.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantEthnicBackgroundAsian.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantEthnicBackgroundBlack.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantEthnicBackgroundMixed.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantEthnicBackgroundWhite.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantNationality.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantWorkingSituation.new(nil, nil, self), |
|
Form::Lettings::Pages::LeadTenantUnderRetirementValueCheck.new("working_situation_lead_tenant_under_retirement_value_check", nil, self), |
|
Form::Lettings::Pages::LeadTenantOverRetirementValueCheck.new("working_situation_lead_tenant_over_retirement_value_check", nil, self), |
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 2, person_type: "child"), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 2), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 2), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 2), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("age_2_under_retirement_value_check", nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("age_2_over_retirement_value_check", nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonGenderIdentity.new(nil, nil, self, person_index: 2), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonValueCheck.new(nil, nil, self, person_index: 2), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonValueCheck.new(nil, nil, self, |
|
person_index: 2), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("gender_2_over_retirement_value_check", nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonWorkingSituation.new(nil, nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("working_situation_2_under_retirement_value_check", nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("working_situation_2_over_retirement_value_check", nil, self, person_index: 2), |
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 3, person_type: "child"), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 3), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 3), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 3), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("age_3_under_retirement_value_check", nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("age_3_over_retirement_value_check", nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonGenderIdentity.new(nil, nil, self, person_index: 3), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonValueCheck.new(nil, nil, self, person_index: 3), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonValueCheck.new(nil, nil, self, |
|
person_index: 3), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("gender_3_over_retirement_value_check", nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonWorkingSituation.new(nil, nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("working_situation_3_under_retirement_value_check", nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("working_situation_3_over_retirement_value_check", nil, self, person_index: 3), |
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 4, person_type: "child"), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 4), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 4), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 4), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("age_4_under_retirement_value_check", nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("age_4_over_retirement_value_check", nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonGenderIdentity.new(nil, nil, self, person_index: 4), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonValueCheck.new(nil, nil, self, person_index: 4), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonValueCheck.new(nil, nil, self, |
|
person_index: 4), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("gender_4_over_retirement_value_check", nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonWorkingSituation.new(nil, nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("working_situation_4_under_retirement_value_check", nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("working_situation_4_over_retirement_value_check", nil, self, person_index: 4), |
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 5, person_type: "child"), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 5), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 5), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 5), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("age_5_under_retirement_value_check", nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("age_5_over_retirement_value_check", nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonGenderIdentity.new(nil, nil, self, person_index: 5), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonValueCheck.new(nil, nil, self, person_index: 5), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonValueCheck.new(nil, nil, self, |
|
person_index: 5), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("gender_5_over_retirement_value_check", nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonWorkingSituation.new(nil, nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("working_situation_5_under_retirement_value_check", nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("working_situation_5_over_retirement_value_check", nil, self, person_index: 5), |
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 6, person_type: "child"), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 6), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 6), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 6), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("age_6_under_retirement_value_check", nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("age_6_over_retirement_value_check", nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonGenderIdentity.new(nil, nil, self, person_index: 6), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonValueCheck.new(nil, nil, self, person_index: 6), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonValueCheck.new(nil, nil, self, |
|
person_index: 6), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("gender_6_over_retirement_value_check", nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonWorkingSituation.new(nil, nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("working_situation_6_under_retirement_value_check", nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("working_situation_6_over_retirement_value_check", nil, self, person_index: 6), |
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 7, person_type: "child"), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 7), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 7), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 7), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("age_7_under_retirement_value_check", nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("age_7_over_retirement_value_check", nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonGenderIdentity.new(nil, nil, self, person_index: 7), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonValueCheck.new(nil, nil, self, person_index: 7), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonValueCheck.new(nil, nil, self, |
|
person_index: 7), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("gender_7_over_retirement_value_check", nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonWorkingSituation.new(nil, nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("working_situation_7_under_retirement_value_check", nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("working_situation_7_over_retirement_value_check", nil, self, person_index: 7), |
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 8), |
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 8), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 8, person_type: "child"), |
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 8), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 8), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
person_index: 8), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("age_8_under_retirement_value_check", nil, self, person_index: 8), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("age_8_over_retirement_value_check", nil, self, person_index: 8), |
|
Form::Lettings::Pages::PersonGenderIdentity.new(nil, nil, self, person_index: 8), |
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonValueCheck.new(nil, nil, self, person_index: 8), |
|
Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdPersonValueCheck.new(nil, nil, self, |
|
person_index: 8), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("gender_8_over_retirement_value_check", nil, self, person_index: 8), |
|
Form::Lettings::Pages::PersonWorkingSituation.new(nil, nil, self, person_index: 8), |
|
Form::Lettings::Pages::PersonUnderRetirementValueCheck.new("working_situation_8_under_retirement_value_check", nil, self, person_index: 8), |
|
Form::Lettings::Pages::PersonOverRetirementValueCheck.new("working_situation_8_over_retirement_value_check", nil, self, person_index: 8), |
|
].compact |
|
end |
|
end
|
|
|