* Add routing for renewals
* Fix inferring postcode (it works 🤷♀️)
* Infer remaining renewal variables
* update check answer labels
* Route to the next page if the first one is not routed to from tasklist
* Fix allocation unknown type and depends on for referrals
* add a test for and rename first_page_or_check_answers'
"check_answer_label":"How long has the household continuously lived in the local authority area where the new letting is located?",
"check_answer_label":"Length of time in local authority area",
"header":"How long has the household continuously lived in the local authority area of the new letting?",
"hint_text":"",
"type":"radio",
@ -1146,14 +1146,15 @@
}
}
}
}
},
"depends_on":[{"renewal":"No"}]
},
"time_on_la_waiting_list":{
"header":"",
"description":"",
"questions":{
"lawaitlist":{
"check_answer_label":"How long has the household been on the local authority waiting list where the new letting is located?",
"check_answer_label":"Length of time on local authority waiting list",
"header":"How long has the household been on the local authority waiting list for the new letting?",
"hint_text":"",
"type":"radio",
@ -1195,6 +1196,7 @@
"description":"",
"questions":{
"reason":{
"check_answer_label":"Reason for leaving last settled home",
"header":"What is the tenant’s main reason for the household leaving their last settled home?",
"hint_text":"The tenant’s ’last settled home’ is their last long-standing home. For tenants who were in temporary accommodation or sleeping rough, their last settled home is where they were living previously.",
"type":"radio",
@ -1314,13 +1316,36 @@
"hint_text":"",
"type":"text"
}
}
},
"depends_on":[{"renewal":"No"}]
},
"reason_for_leaving_last_settled_home_renewal":{
"header":"Leaving their last settled home",
"description":"",
"questions":{
"reason":{
"check_answer_label":"Reason for leaving last settled home",
"header":"What is the tenant’s main reason for the household leaving their last settled home?",
"hint_text":"",
"type":"radio",
"answer_options":{
"0":{
"value":"End of fixed term tenancy - no fault"
},
"1":{
"value":"End of assured shorthold tenancy - no fault"
}
}
}
},
"depends_on":[{"renewal":"Yes"}]
},
"previous_housing_situation":{
"header":"",
"description":"",
"questions":{
"prevten":{
"check_answer_label":"Where was the household immediately before this letting?",
"header":"Where was the household immediately before this letting?",
"hint_text":"This is where the household was the night before they moved.",
"type":"radio",
@ -1396,13 +1421,36 @@
}
}
}
}
},
"depends_on":[{"renewal":"No"}]
},
"previous_housing_situation_renewal":{
"header":"",
"description":"",
"questions":{
"prevten":{
"check_answer_label":"Where was the household immediately before this letting?",
"header":"Where was the household immediately before this letting?",