From 99af084880b0bc1a020559861f8bd54d7dfc241a Mon Sep 17 00:00:00 2001 From: samyou-softwire Date: Fri, 20 Feb 2026 18:16:35 +0000 Subject: [PATCH] CLDC-4203: Update error messages for fields to match BU --- .../lettings/year2026/row_parser.rb | 160 +++++++++--------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/app/services/bulk_upload/lettings/year2026/row_parser.rb b/app/services/bulk_upload/lettings/year2026/row_parser.rb index 4ffaab79a..02a8d6289 100644 --- a/app/services/bulk_upload/lettings/year2026/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2026/row_parser.rb @@ -11,139 +11,139 @@ class BulkUpload::Lettings::Year2026::RowParser field_4: "What is the needs type?", field_5: "What scheme does this letting belong to?", field_6: "Which location is this letting for?", - field_7: "Is this letting a renewal?", - field_8: "What is the tenancy start date?", - field_9: "What is the tenancy start date?", - field_10: "What is the tenancy start date?", + field_7: "Is this letting a renewal of social housing to the same tenant in the same property?", + field_8: "What is the tenancy start date? - day DD?", + field_9: "What is the tenancy start date? - month MM?", + field_10: "What is the tenancy start date? - year YY?", field_11: "What is the rent type?", field_12: "Which 'Other' type of Intermediate Rent is this letting?", field_13: "What is the tenant code?", field_14: "What is the property reference?", - field_15: "Has tenant seen the MHCLG privacy notice?", + field_15: "Has the tenant seen or been given access to the MHCLG privacy notice?", field_16: "What is the reason for the property being vacant?", field_17: "What type was the property most recently let as?", field_18: "If known, provide this property’s UPRN", - field_19: "Address line 1", - field_20: "Address line 2", + field_19: "Address Line 1", + field_20: "Address Line 2", field_21: "Town or city", field_22: "County", - field_23: "Part 1 of the property’s postcode", - field_24: "Part 2 of the property’s postcode", - field_25: "What is the property’s local authority?", + field_23: "Part 1 of the property's postcode", + field_24: "Part 2 of the property's postcode", + field_25: "What is the property's local authority?", field_26: "What type of unit is the property?", field_27: "Is the property built or adapted to wheelchair-user standards?", field_28: "How many bedrooms does the property have?", - field_29: "What is the void date?", - field_30: "What is the void date?", - field_31: "What is the void date?", - field_32: "What date were any major repairs completed on?", - field_33: "What date were any major repairs completed on?", - field_34: "What date were any major repairs completed on?", - field_35: "Is this letting sheltered accommodation?", + field_29: "What is the void date? - day DD", + field_30: "What is the void date? - month MM", + field_31: "What is the void date? - year YY", + field_32: "What date were any major repairs completed on? - day DD", + field_33: "What date were any major repairs completed on? - month MM", + field_34: "What date were any major repairs completed on? - year YY", + field_35: "Is this property older people's housing?", field_36: "Is this a joint tenancy?", field_37: "Is this a starter tenancy?", field_38: "What is the type of tenancy?", field_39: "If 'Other', what is the type of tenancy?", field_40: "What is the length of the fixed-term tenancy to the nearest year?", field_41: "What is the lead tenant’s age?", - field_42: "Lead tenant's sex, as registered at birth", + field_42: "What is the lead tenant's sex?", field_43: "Is the gender the lead tenant identifies with the same as their sex registered at birth?", - field_44: "If 'No', enter the lead tenant's gender identity", - field_45: "Which of these best describes the lead tenant’s ethnic background?", + field_44: "If 'No', enter lead tenant's gender identity", + field_45: "Which of these best describes the lead tenant's ethnic background?", field_46: "What is the lead tenant’s nationality?", field_47: "Which of these best describes the lead tenant’s working situation?", - field_48: "What is person 2’s age?", + field_48: "What is person 2's age?", field_49: "Is person 2 the partner of the lead tenant?", - field_50: "Person 2's sex, as registered at birth", - field_51: "Is the gender person 2 identifies with the same as their sex registered at birth?", + field_50: "What is person 2's sex?", + field_51: "Is the gender the person 2 identifies with the same as their sex registered at birth?", field_52: "If 'No', enter person 2's gender identity", - field_53: "Which of these best describes person 2’s working situation?", - field_54: "What is person 3’s age?", + field_53: "Which of these best describes person 2's working situation?", + field_54: "What is person 3's age?", field_55: "Is person 3 the partner of the lead tenant?", - field_56: "Person 3's sex, as registered at birth", - field_57: "Is the gender person 3 identifies with the same as their sex registered at birth?", + field_56: "What is person 3's sex?", + field_57: "Is the gender the person 3 identifies with the same as their sex registered at birth?", field_58: "If 'No', enter person 3's gender identity", - field_59: "Which of these best describes person 3’s working situation?", - field_60: "What is person 4’s age?", + field_59: "Which of these best describes person 3's working situation?", + field_60: "What is person 4's age?", field_61: "Is person 4 the partner of the lead tenant?", - field_62: "Person 4's sex, as registered at birth", - field_63: "Is the gender person 4 identifies with the same as their sex registered at birth?", + field_62: "What is person 4's sex?", + field_63: "Is the gender the person 4 identifies with the same as their sex registered at birth?", field_64: "If 'No', enter person 4's gender identity", - field_65: "Which of these best describes person 4’s working situation?", - field_66: "What is person 5’s age?", + field_65: "Which of these best describes person 4's working situation?", + field_66: "What is person 5's age?", field_67: "Is person 5 the partner of the lead tenant?", - field_68: "Person 5's sex, as registered at birth", - field_69: "Is the gender person 5 identifies with the same as their sex registered at birth?", + field_68: "What is person 5's sex?", + field_69: "Is the gender the person 5 identifies with the same as their sex registered at birth?", field_70: "If 'No', enter person 5's gender identity", - field_71: "Which of these best describes person 5’s working situation?", - field_72: "What is person 6’s age?", + field_71: "Which of these best describes person 5's working situation?", + field_72: "What is person 6's age?", field_73: "Is person 6 the partner of the lead tenant?", - field_74: "Person 6's sex, as registered at birth", - field_75: "Is the gender person 6 identifies with the same as their sex registered at birth?", + field_74: "What is person 6's sex?", + field_75: "Is the gender the person 6 identifies with the same as their sex registered at birth?", field_76: "If 'No', enter person 6's gender identity", - field_77: "Which of these best describes person 6’s working situation?", - field_78: "What is person 7’s age?", + field_77: "Which of these best describes person 6's working situation?", + field_78: "What is person 7's age?", field_79: "Is person 7 the partner of the lead tenant?", - field_80: "Person 7's sex, as registered at birth", - field_81: "Is the gender person 7 identifies with the same as their sex registered at birth?", + field_80: "What is person 7's sex?", + field_81: "Is the gender the person 7 identifies with the same as their sex registered at birth?", field_82: "If 'No', enter person 7's gender identity", - field_83: "Which of these best describes person 7’s working situation?", - field_84: "What is person 8’s age?", + field_83: "Which of these best describes person 7's working situation?", + field_84: "What is person 8's age?", field_85: "Is person 8 the partner of the lead tenant?", - field_86: "Person 8's sex, as registered at birth", - field_87: "Is the gender person 8 identifies with the same as their sex registered at birth?", + field_86: "What is person 8's sex?", + field_87: "Is the gender the person 8 identifies with the same as their sex registered at birth?", field_88: "If 'No', enter person 8's gender identity", - field_89: "Which of these best describes person 8’s working situation?", + field_89: "Which of these best describes person 8's working situation?", field_90: "Does anybody in the household have links to the UK armed forces?", field_91: "Is this person still serving in the UK armed forces?", field_92: "Was this person seriously injured or ill as a result of serving in the UK armed forces?", field_93: "Is anybody in the household pregnant?", - field_94: "Does anybody in the household have any disabled access needs?", - field_95: "Does anybody in the household have any disabled access needs?", - field_96: "Does anybody in the household have any disabled access needs?", - field_97: "Does anybody in the household have any disabled access needs?", - field_98: "Does anybody in the household have any disabled access needs?", - field_99: "Does anybody in the household have any disabled access needs?", + field_94: "Disabled access needs — a) Fully wheelchair-accessible housing", + field_95: "Disabled access needs — b) Wheelchair access to essential rooms", + field_96: "Disabled access needs — c) Level access housing", + field_97: "Disabled access needs — f) Other disabled access needs", + field_98: "Disabled access needs — g) No disabled access needs", + field_99: "Disabled access needs — h) Don’t know", field_100: "Does anybody in the household have a physical or mental health condition (or other illness) expected to last 12 months or more?", - field_101: "Does this person’s condition affect their dexterity?", - field_102: "Does this person’s condition affect their learning or understanding or concentrating?", - field_103: "Does this person’s condition affect their hearing?", - field_104: "Does this person’s condition affect their memory?", - field_105: "Does this person’s condition affect their mental health?", - field_106: "Does this person’s condition affect their mobility?", - field_107: "Does this person’s condition affect them socially or behaviourally?", - field_108: "Does this person’s condition affect their stamina or breathing or fatigue?", - field_109: "Does this person’s condition affect their vision?", - field_110: "Does this person’s condition affect them in another way?", + field_101: "Does this person's condition affect their dexterity?", + field_102: "Does this person's condition affect their learning or understanding or concentrating?", + field_103: "Does this person's condition affect their hearing?", + field_104: "Does this person's condition affect their memory?", + field_105: "Does this person's condition affect their mental health?", + field_106: "Does this person's condition affect their mobility?", + field_107: "Does this person's condition affect them socially or behaviourally?", + field_108: "Does this person's condition affect their stamina or breathing or fatigue?", + field_109: "Does this person's condition affect their vision?", + field_110: "Does this person's condition affect them in another way?", field_111: "How long has the household continuously lived in the local authority area of the new letting?", - field_112: "How long has the household been on the local authority waiting list for the new letting?", + field_112: "How long has the household been on the local authority housing register (or waiting list) for the area of the new letting?", field_113: "What is the tenant’s main reason for the household leaving their last settled home?", field_114: "If 'Other', what was the main reason for leaving their last settled home?", field_115: "Where was the household immediately before this letting?", field_116: "Did the household experience homelessness immediately before this letting?", - field_117: "Do you know the postcode of the household’s last settled home?", - field_118: "What is the postcode of the household’s last settled home?", - field_119: "What is the postcode of the household’s last settled home?", - field_120: "What is the local authority of the household’s last settled home?", + field_117: "Do you know the postcode of the household's last settled home?", + field_118: "Part 1 of postcode of last settled home", + field_119: "Part 2 of postcode of last settled home", + field_120: "What is the local authority of the household's last settled home?", field_121: "Was the household given 'reasonable preference' by the local authority?", - field_122: "Reasonable preference reason - They were homeless or about to lose their home (within 56 days)", - field_123: "Reasonable preference reason - They were living in insanitary, overcrowded or unsatisfactory housing", - field_124: "Reasonable preference reason - They needed to move on medical and welfare reasons (including disability)", - field_125: "Reasonable preference reason - They needed to move to avoid hardship to themselves or others", - field_126: "Reasonable preference reason - Don’t know", - field_127: "Was the letting made under the Choice-Based Lettings (CBL)?", - field_128: "Was the letting made under the Common Allocation Policy (CAP)?", - field_129: "Was the letting made under the Common Housing Register (CHR)?", - field_130: "Was the letting made under the Accessible Register?", + field_122: "Reasonable preference reason — They were homeless or about to lose their home (within 56 days)", + field_123: "Reasonable preference reason — They were living in unsanitary, overcrowded or unsatisfactory housing", + field_124: "Reasonable preference reason — They needed to move due to medical and welfare reasons (including disability)", + field_125: "Reasonable preference reason — They needed to move to avoid hardship to themselves or others", + field_126: "Reasonable preference reason — Don't know", + field_127: "How was this letting allocated? — Choice based Lettings (CBL)", + field_128: "How was this letting allocated? — Common Allocations Policy (CAP)", + field_129: "How was this letting allocated? — Common Housing Register (CHR)", + field_130: "How was this letting allocated? — Accessible Housing Register", field_131: "What was the source of referral for this letting? - LA properties", field_132: "What was the source of referral for this letting? - PRP properties part 1", field_133: "What was the source of referral for this letting? - PRP properties part 2", field_134: "What was the source of referral for this letting? - PRP properties part 3", - field_135: "Do you know the household’s combined total income after tax?", + field_135: "Do you know the household's combined total income after tax?", field_136: "How often does the household receive income?", field_137: "How much income does the household have in total?", field_138: "Is the tenant likely to be receiving any of these housing-related benefits?", - field_139: "How much of the household’s income is from Universal Credit, state pensions or benefits?", + field_139: "How much of the household's income is from Universal Credit, state pensions or benefits?", field_140: "Does the household pay rent or other charges for the accommodation?", field_141: "How often does the household pay rent and other charges?", field_142: "What is the basic rent?",