Lines 872-880
sub _availability {
Link Here
|
872 |
return ( undef, 'unknown', 'Error: could not retrieve availability for this ID', undef ); |
872 |
return ( undef, 'unknown', 'Error: could not retrieve availability for this ID', undef ); |
873 |
} |
873 |
} |
874 |
|
874 |
|
|
|
875 |
|
875 |
my $biblionumber = $item->biblioitemnumber; |
876 |
my $biblionumber = $item->biblioitemnumber; |
876 |
my $library = Koha::Libraries->find( $item->holdingbranch ); |
877 |
my $library = Koha::Libraries->find( $item->holdingbranch ); |
877 |
my $location = $library ? $library->branchname : ''; |
878 |
my $location = $library ? $library->branchname : ''; |
|
|
879 |
$location .= ", Call # $item->{itemcallnumber}" if $item->{itemcallnumber}; |
878 |
|
880 |
|
879 |
if ( $item->notforloan ) { |
881 |
if ( $item->notforloan ) { |
880 |
return ( $biblionumber, 'not available', 'Not for loan', $location ); |
882 |
return ( $biblionumber, 'not available', 'Not for loan', $location ); |
881 |
- |
|
|