|
|
|
|
@ -122,8 +122,6 @@ module Imports
|
|
|
|
|
attributes["socprevten"] = unsafe_string_as_integer(xml_doc, "PrevRentType") |
|
|
|
|
attributes["mortgagelender"] = mortgage_lender(xml_doc, attributes) |
|
|
|
|
attributes["mortgagelenderother"] = mortgage_lender_other(xml_doc, attributes) |
|
|
|
|
attributes["pcode1"] = string_or_nil(xml_doc, "PCODE1") |
|
|
|
|
attributes["pcode2"] = string_or_nil(xml_doc, "PCODE2") |
|
|
|
|
attributes["postcode_full"] = parse_postcode(string_or_nil(xml_doc, "Q14Postcode")) |
|
|
|
|
attributes["pcodenk"] = 0 if attributes["postcode_full"].present? # known if given |
|
|
|
|
attributes["soctenant"] = soctenant(attributes) |
|
|
|
|
|