Lines 551-557
foreach my $biblionumber (@biblionumbers) {
Link Here
|
551 |
|
551 |
|
552 |
$item->{'holdallowed'} = $branchitemrule->{'holdallowed'}; |
552 |
$item->{'holdallowed'} = $branchitemrule->{'holdallowed'}; |
553 |
|
553 |
|
554 |
my $can_item_be_reserved = CanItemBeReserved( $patron->borrowernumber, $itemnumber )->{status}; |
554 |
my $can_item_be_reserved = CanItemBeReserved( $patron->borrowernumber, $itemnumber, $pickup )->{status}; |
555 |
$item->{not_holdable} = $can_item_be_reserved unless ( $can_item_be_reserved eq 'OK' ); |
555 |
$item->{not_holdable} = $can_item_be_reserved unless ( $can_item_be_reserved eq 'OK' ); |
556 |
|
556 |
|
557 |
$item->{item_level_holds} = Koha::CirculationRules->get_opacitemholds_policy( { item => $item_object, patron => $patron } ); |
557 |
$item->{item_level_holds} = Koha::CirculationRules->get_opacitemholds_policy( { item => $item_object, patron => $patron } ); |
558 |
- |
|
|