|
|
@ -366,7 +366,7 @@ module Imports |
|
|
|
|
|
|
|
|
|
|
|
def previous_postcode_known(xml_doc, previous_postcode) |
|
|
|
def previous_postcode_known(xml_doc, previous_postcode) |
|
|
|
previous_postcode_known = string_or_nil(xml_doc, "Q12bnot") |
|
|
|
previous_postcode_known = string_or_nil(xml_doc, "Q12bnot") |
|
|
|
if previous_postcode_known == "Temporary or Unknown" |
|
|
|
if previous_postcode_known == "Temporary_or_Unknown" |
|
|
|
0 |
|
|
|
0 |
|
|
|
elsif previous_postcode.nil? |
|
|
|
elsif previous_postcode.nil? |
|
|
|
nil |
|
|
|
nil |
|
|
|