* Add min and max to age2 + questions
* validate that under 16s are economic children
* Update factory
* Update test
* Update ecstat, relationship and age validation
child_over_16:"Answer cannot be over 16 as person’s %{person_num} working situation is ‘child under 16‘"
child_over_16:"Answer cannot be over 16 as person’s %{person_num} working situation is ‘child under 16‘"
child_over_20:"Answer cannot be 20 or over as the relationship is ‘child’"
child_over_20:"Answer cannot be 20 or over as the relationship is ‘child’"
not_student_16_19:"Answer cannot be between 16 and 19 as person %{person_num} is a child of the lead tenant but is not a full-time student"
not_student_16_19:"Answer cannot be between 16 and 19 as person %{person_num} is a child of the lead tenant but is not a full-time student"
student_16_19:"Person cannot be aged 16-19 if they are a student but don't have relationship ‘child’"
student_16_19:
cannot_be_16_19:
student_not_child:"Person cannot be aged 16-19 if they are a student but don't have relationship ‘child’"
child_not_student:"Person cannot be aged 16-19 if they have relationship ‘child’ but are not a student"
must_be_16_19:"Person must be aged 16-19 if they are a student and have relationship ‘child’"
partner_under_16:"Cannot be under 16 if the relationship is partner"
partner_under_16:"Cannot be under 16 if the relationship is partner"
lead:
lead:
over_20:"The lead tenant must be under 20 as you told us their housing situation immediately before this letting was a children’s home or foster care"
over_20:"The lead tenant must be under 20 as you told us their housing situation immediately before this letting was a children’s home or foster care"
@ -306,7 +310,11 @@ en:
child_under_16:"Person’s %{person_num} working situation must be ’child under 16‘ as you told us they’re under 16"
child_under_16:"Person’s %{person_num} working situation must be ’child under 16‘ as you told us they’re under 16"
child_over_16:"Answer cannot be ‘child under 16’ as you told us the person %{person_num} is older than 16"
child_over_16:"Answer cannot be ‘child under 16’ as you told us the person %{person_num} is older than 16"
not_student_16_19:"Person’s %{person_num} working situation must be full-time student or prefers not to say as you told us they’re between 16 and 19."
not_student_16_19:"Person’s %{person_num} working situation must be full-time student or prefers not to say as you told us they’re between 16 and 19."
student_16_19:"Person cannot be a student if they are aged 16-19 and but don't have relationship ‘child’"
student_16_19:
cannot_be_student:
child_not_16_19:"Person cannot be a student if they are not aged 16-19 but have relationship ‘child’"
16_19_not_child:"Person cannot be a student if they are aged 16-19 but don‘t have relationship ‘child’"
must_be_student:"Person must be a student if they are aged 16-19 and have relationship ‘child’"
retired_male:"Answer cannot be ‘retired’ as the male tenant is under 65"
retired_male:"Answer cannot be ‘retired’ as the male tenant is under 65"
retired_female:"Answer cannot be ‘retired’ as the female tenant is under 60"
retired_female:"Answer cannot be ‘retired’ as the female tenant is under 60"
relat:
relat:
@ -315,7 +323,11 @@ en:
child_over_20:"Answer cannot be ‘child’ if the person's age is 20 or over"
child_over_20:"Answer cannot be ‘child’ if the person's age is 20 or over"
one_partner:"Number of partners cannot be greater than 1"
one_partner:"Number of partners cannot be greater than 1"
not_student_16_19:"Answer cannot be ‘child’ as you told us the person %{person_num} is between 16 and 19 and is not a full-time student"
not_student_16_19:"Answer cannot be ‘child’ as you told us the person %{person_num} is between 16 and 19 and is not a full-time student"
student_16_19:"Answer must be ‘child’ if the person is aged 16-19 and a student"
student_16_19:
cannot_be_child:
student_not_16_19:"Answer cannot be ‘child’ if the person is a student but not aged 16-19"
16_19_not_student:"Answer cannot be ‘child’ if the person is aged 16-19 but not a student"
must_be_child:"Answer must be ‘child’ if the person is aged 16-19 and a student"
housingneeds_a:
housingneeds_a:
one_or_two_choices:"You can only select one option or ‘other disabled access needs’ plus ‘wheelchair-accessible housing’, ‘wheelchair access to essential rooms’ or ‘level access housing’"
one_or_two_choices:"You can only select one option or ‘other disabled access needs’ plus ‘wheelchair-accessible housing’, ‘wheelchair access to essential rooms’ or ‘level access housing’"