<% hints_for_roles = { data_provider: ["Can view and submit logs for this organisation"], data_coordinator: ["Can view and submit logs for this organisation and any of its managing agents", "Can manage details for this organisation", "Can manage users for this organisation"], support: nil } %>
<% hints_for_roles = { data_provider: ["Can view and submit logs for this organisation"], data_coordinator: ["Can view and submit logs for this organisation and any of its managing agents", "Can manage details for this organisation", "Can manage users for this organisation"], support: ["Can only be created for the MHCLG organisation in the CORE service, to be used by MHCLG and its contractor staff", "Has access to all organisations' data across the CORE service", "Cannot be created for users in housing organisations as this would be a data protection breach"] } %>
check_answer_label:"Reason for leaving last settled home"
check_answer_label:"Reason for leaving last settled home"
check_answer_prompt:""
check_answer_prompt:""
hint_text:"You told us this letting is a renewal. We have removed some options because of this."
hint_text:"The tenant’s ‘last settled home’ is their last long-standing home. For tenants who were in temporary accommodation, sleeping rough or otherwise homeless, their last settled home is where they were living previously.<br><br>You told us this letting is a renewal. We have removed some options because of this."
question_text:"What is the tenant’s main reason for the household leaving their last settled home?"
question_text:"What is the tenant’s main reason for the household leaving their last settled home?"
check_answer_label:"Part of a back-to-back staircasing transaction"
check_answer_label:"Part of a back-to-back staircasing transaction"
check_answer_prompt:"Tell us if this is part of a back-to-back staircasing transaction"
check_answer_prompt:"Tell us if this is part of a back-to-back staircasing transaction"
hint_text:"Back-to-back staircasing transactions are used as a way for shared owners who own less than 100% of their property to sell on the open market. It involves the shared owner purchasing the remaining share from their landlord and immediately selling 100% of the property to a buyer on the open market. The landlord is then reimbursed for the staircasing transaction through the proceeds of sale to the buyer."
hint_text:"Back-to-back staircasing transactions are used as a way for shared owners who own less than 100% of their property to sell on the open market. It involves the shared owner purchasing the remaining share from their landlord and immediately selling 100% of the property to a buyer on the open market. The landlord is then reimbursed for the staircasing transaction through the proceeds of sale to the buyer."
question_text:"Is this transaction part of a back-to-back staircasing transaction to facilitate sale of the home on the open market?"
question_text:"Was this part of a back-to-back staircasing transaction to facilitate sale of the home on the open market?"
check_answer_label:"Reason for leaving last settled home"
check_answer_label:"Reason for leaving last settled home"
check_answer_prompt:""
check_answer_prompt:""
hint_text:"You told us this letting is a renewal. We have removed some options because of this."
hint_text:"The tenant’s ‘last settled home’ is their last long-standing home. For tenants who were in temporary accommodation, sleeping rough or otherwise homeless, their last settled home is where they were living immediately before that period.<br><br>You told us this letting is a renewal. We have removed some options because of this."
question_text:"What is the tenant’s main reason for the household leaving their last settled home?"
question_text:"What is the tenant’s main reason for the household leaving their last settled home?"
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
content:"<p>The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.</p>
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
<p>The UPRN may not be the same as the property reference assigned by your organisation.</p>"
building_height_class:
title:"What do these classifications mean?"
content:"<p>High-rise residential buildings are those containing 2 or more residential units and either:</p>
<ul class=\"govuk-list govuk-list--bullet\">
<li>have 7 or more stories</li>
<li>are at least 18 metres in height</li>
</ul>
<p>If unsure, answer based on the number of storeys.</p>"
hint_text:"High-rise residential buildings are those containing 2 or more residential units and either have 7 or more storeys or are at least 18 metres in height. If unsure, answer based on the number of storeys."
hint_text:""
question_text:"What is the building height classification?"
question_text:"What is the building height classification?"
check_answer_label:"Part of a back-to-back staircasing transaction"
check_answer_label:"Part of a back-to-back staircasing transaction"
check_answer_prompt:"Tell us if this is part of a back-to-back staircasing transaction"
check_answer_prompt:"Tell us if this is part of a back-to-back staircasing transaction"
hint_text:"Back-to-back staircasing transactions are used as a way for shared owners who own less than 100% of their property to sell on the open market. It involves the shared owner purchasing the remaining share from their landlord and immediately selling 100% of the property to a buyer on the open market. The landlord is then reimbursed for the staircasing transaction through the proceeds of sale to the buyer."
hint_text:"Back-to-back staircasing transactions are used as a way for shared owners who own less than 100% of their property to sell on the open market. It involves the shared owner purchasing the remaining share from their landlord and immediately selling 100% of the property to a buyer on the open market. The landlord is then reimbursed for the staircasing transaction through the proceeds of sale to the buyer."
question_text:"Is this transaction part of a back-to-back staircasing transaction to facilitate sale of the home on the open market?"
question_text:"Was this part of a back-to-back staircasing transaction to facilitate sale of the home on the open market?"
desc"Clears mortgage, purchase price (the 'value' field), monthly rent before staircasing and management fee values for sales logs in the database if they are over their new max"
desc"We tightened the validation in 2026 between initial purchase date, last transaction date and sale date so that no two can be equal and initial purchase date < last transaction date < sale date. To avoid invalid logs we clear lasttransaction if it equals saledate and if initialpurchase = lasttransaction we clear both"
@ -659,6 +659,19 @@ RSpec.describe BulkUpload::Lettings::Year2025::RowParser do
expect(parser.errors[:field_45]).toinclude(I18n.t("validations.lettings.2025.bulk_upload.invalid_option",question:"What is the lead tenant’s nationality?"))
expect(parser.errors[:field_45]).toinclude(I18n.t("validations.lettings.2025.bulk_upload.invalid_option",question:"What is the lead tenant’s nationality?"))
end
end
end
end
context"when a field has been marked as invalid but it is not routed to"do
@ -551,6 +551,19 @@ RSpec.describe BulkUpload::Lettings::Year2026::RowParser do
expect(parser.errors[:field_46]).toinclude(match(I18n.t("validations.lettings.2026.bulk_upload.invalid_option",question:"What is the lead tenant’s nationality?")))
expect(parser.errors[:field_46]).toinclude(match(I18n.t("validations.lettings.2026.bulk_upload.invalid_option",question:"What is the lead tenant’s nationality?")))
end
end
end
end
context"when a field has been marked as invalid but it is not routed to"do
@ -351,6 +352,19 @@ RSpec.describe BulkUpload::Sales::Year2025::RowParser do
expect(parser.errors[:field_31]).toinclude(match(I18n.t("validations.sales.2025.bulk_upload.invalid_option",question:"What is buyer 1’s nationality?")))
expect(parser.errors[:field_31]).toinclude(match(I18n.t("validations.sales.2025.bulk_upload.invalid_option",question:"What is buyer 1’s nationality?")))
end
end
end
end
context"when a field has been marked as invalid but it is not routed to"do
@ -357,6 +358,19 @@ RSpec.describe BulkUpload::Sales::Year2026::RowParser do
expect(parser.errors[:field_34]).toinclude(match(I18n.t("validations.sales.2026.bulk_upload.invalid_option",question:"What is buyer 1's nationality?")))
expect(parser.errors[:field_34]).toinclude(match(I18n.t("validations.sales.2026.bulk_upload.invalid_option",question:"What is buyer 1's nationality?")))
end
end
end
end
context"when a field has been marked as invalid but it is not routed to"do