@ -126,7 +126,6 @@ module Imports
(1..10).each do |index|
attributes["illness_type_#{index}"] = illness_type(xml_doc, index, attributes["illness"])
end
attributes["illness_type_0"] = 1 if (1..10).all? { |idx| attributes["illness_type_#{idx}"].nil? || attributes["illness_type_#{idx}"].zero? }
attributes["prevten"] = unsafe_string_as_integer(xml_doc, "Q11")
attributes["prevloc"] = string_or_nil(xml_doc, "Q12aONS")
@ -6047,9 +6047,6 @@
},
"illness_type_10": {
"value": "Other"
"illness_type_0": {
"value": "Tenant prefers not to say"
}
@ -6049,9 +6049,6 @@
@ -166,7 +166,6 @@
"old_id": null,
"joint": null,
"created_by_id": 2,
"illness_type_0":null,
"retirement_value_check": null,
"tshortfall_known": null,
"sheltered": null,
@ -121,7 +121,6 @@ RSpec.describe Csv::LettingsLogCsvService do
illness_type_8
illness_type_1
illness_type_10
illness_type_0
layear
waityear
reason
@ -197,6 +196,7 @@ RSpec.describe Csv::LettingsLogCsvService do
irproduct
old_id
joint
hhtype
new_old
vacdays