From a4184440db749d9749432967a8e3bc27406f4d84 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Fri, 5 Jan 2024 10:09:03 +0000 Subject: [PATCH] feat: ignore household_charge for general needs logs --- app/services/bulk_upload/lettings/year2023/row_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/bulk_upload/lettings/year2023/row_parser.rb b/app/services/bulk_upload/lettings/year2023/row_parser.rb index 3c5069063..817ac3b21 100644 --- a/app/services/bulk_upload/lettings/year2023/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2023/row_parser.rb @@ -1187,7 +1187,7 @@ private attributes["tcharge"] = field_132 attributes["chcharge"] = field_127 attributes["is_carehome"] = field_127.present? ? 1 : 0 - attributes["household_charge"] = field_125 + attributes["household_charge"] = supported_housing? ? field_125 : nil attributes["hbrentshortfall"] = field_133 attributes["tshortfall_known"] = tshortfall_known attributes["tshortfall"] = field_134