|
|
|
@ -170,10 +170,8 @@ module Imports |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def postcode_known(record) |
|
|
|
def postcode_known(record) |
|
|
|
if record.postcode_full.nil? && record.la.nil? |
|
|
|
if record.postcode_full.nil? |
|
|
|
nil |
|
|
|
record.la.nil? ? nil : 0 # Assumes we selected No in the form since the LA is present |
|
|
|
elsif record.postcode_full.nil? |
|
|
|
|
|
|
|
0 # Assumes we selected No in the form since the LA is present |
|
|
|
|
|
|
|
else |
|
|
|
else |
|
|
|
1 |
|
|
|
1 |
|
|
|
end |
|
|
|
end |
|
|
|
|