Format
This commit is contained in:
parent
bec21ff3e0
commit
a0dd7dd174
46 changed files with 138 additions and 139 deletions
|
@ -24,7 +24,7 @@ sub import_csv {
|
|||
while ( my $row = $self->get_csv_line ) {
|
||||
$self->_row_to_result($row);
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ sub _row_to_result {
|
|||
return if $postcode_r->ward;
|
||||
|
||||
$postcode_r->update( { ward_id => $ward->id } );
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ sub import_csv {
|
|||
while ( my $row = $self->get_csv_line ) {
|
||||
$self->_row_to_result($row);
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,8 @@ sub _row_to_result {
|
|||
my $address = (
|
||||
defined $addr2
|
||||
? ( $row->{"address line 2"} . ' ' . $addr2 )
|
||||
: $row->{"address line 2"} );
|
||||
: $row->{"address line 2"}
|
||||
);
|
||||
|
||||
return
|
||||
if $self->external_result->organisations->find(
|
||||
|
@ -58,7 +59,7 @@ sub _row_to_result {
|
|||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ sub import_csv {
|
|||
while ( my $row = $self->get_csv_line ) {
|
||||
$self->_row_to_result( $row, $lcc_org );
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -183,7 +183,7 @@ sub _row_to_result {
|
|||
),
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue