From 8fefc5ea698178bc52e8fa5487fcefb641415f9d Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Tue, 6 Jun 2023 17:37:45 +0100 Subject: [PATCH] feat: fix homeless assignment bug --- .../bulk_upload/lettings/year2023/row_parser.rb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/services/bulk_upload/lettings/year2023/row_parser.rb b/app/services/bulk_upload/lettings/year2023/row_parser.rb index 225c45b4f..70bdac24e 100644 --- a/app/services/bulk_upload/lettings/year2023/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2023/row_parser.rb @@ -1104,7 +1104,7 @@ private attributes["reason"] = field_102 attributes["reasonother"] = field_103 attributes["prevten"] = field_104 - attributes["homeless"] = homeless + attributes["homeless"] = field_105 attributes["prevloc"] = prevloc attributes["previous_la_known"] = previous_la_known @@ -1374,15 +1374,6 @@ private return 1 if field_86 == 1 end - def homeless - case field_105 - when 1 - 1 - when 12 - 11 - end - end - def prevloc field_109 end