|
Lines 65-71
if($ok){
Link Here
|
| 65 |
my $biblionumber = $subs->{'bibnum'}; |
65 |
my $biblionumber = $subs->{'bibnum'}; |
| 66 |
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber); |
66 |
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber); |
| 67 |
my @itemresults = GetItemsInfo( $biblionumber ); |
67 |
my @itemresults = GetItemsInfo( $biblionumber ); |
| 68 |
my $branch = scalar @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode}; |
68 |
my $branch = @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode}; |
| 69 |
my $branchname = Koha::Libraries->find($branch)->branchname; |
69 |
my $branchname = Koha::Libraries->find($branch)->branchname; |
| 70 |
|
70 |
|
| 71 |
if (C4::Context->preference('RoutingListAddReserves')){ |
71 |
if (C4::Context->preference('RoutingListAddReserves')){ |
| 72 |
- |
|
|