Bug 2935: Patch to fix location in routing slip.
routing-preview.pl and routing.pl were pointing to a non-existent column in the borrowers table. This patch replaces streetaddress with branchcode. Signed-off-by: Galen Charlton <galen.charlton@liblime.com> Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
parent
961b7ac130
commit
ccbfc58a50
|
|
@ -100,7 +100,7 @@ my @results;
|
|||
my $data;
|
||||
for(my $i=0;$i<$routing;$i++){
|
||||
$data=GetMember($routinglist[$i]->{'borrowernumber'},'borrowernumber');
|
||||
$data->{'location'}=$data->{'streetaddress'};
|
||||
$data->{'location'}=$data->{'branchcode'};
|
||||
$data->{'name'}="$data->{'firstname'} $data->{'surname'}";
|
||||
$data->{'routingid'}=$routinglist[$i]->{'routingid'};
|
||||
$data->{'subscriptionid'}=$subscriptionid;
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ my @results;
|
|||
my $data;
|
||||
for(my $i=0;$i<$routing;$i++){
|
||||
$data=GetMember($routinglist[$i]->{'borrowernumber'},'borrowernumber');
|
||||
$data->{'location'}=$data->{'streetaddress'};
|
||||
$data->{'location'}=$data->{'branchcode'};
|
||||
$data->{'name'}="$data->{'firstname'} $data->{'surname'}";
|
||||
$data->{'routingid'}=$routinglist[$i]->{'routingid'};
|
||||
$data->{'subscriptionid'}=$subscriptionid;
|
||||
|
|
|
|||
Loading…
Reference in New Issue