|
Lines 972-978
sub _availability {
Link Here
|
| 972 |
my $location = $library ? $library->branchname : ''; |
972 |
my $location = $library ? $library->branchname : ''; |
| 973 |
my $itemcallnumber = $item->itemcallnumber; |
973 |
my $itemcallnumber = $item->itemcallnumber; |
| 974 |
|
974 |
|
| 975 |
if ( $item->notforloan ) { |
975 |
if ( $item->is_notforloan ) { |
| 976 |
return ( $biblionumber, __('not available'), __('Not for loan'), $location, $itemcallnumber ); |
976 |
return ( $biblionumber, __('not available'), __('Not for loan'), $location, $itemcallnumber ); |
| 977 |
} elsif ( $item->onloan ) { |
977 |
} elsif ( $item->onloan ) { |
| 978 |
return ( $biblionumber, __('not available'), __('Checked out'), $location, $itemcallnumber ); |
978 |
return ( $biblionumber, __('not available'), __('Checked out'), $location, $itemcallnumber ); |