Lines 512-517
sub CanItemBeReserved {
Link Here
|
512 |
&& C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $item->biblionumber ) ) |
512 |
&& C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $item->biblionumber ) ) |
513 |
{ |
513 |
{ |
514 |
return _cache { status => 'alreadypossession' }; |
514 |
return _cache { status => 'alreadypossession' }; |
|
|
515 |
} elsif($item && $patron) { |
516 |
my $issue = $item->checkout; |
517 |
if ($issue && $issue->borrowernumber == $patron->borrowernumber) { |
518 |
return _cache { status => 'alreadypossession' }; |
519 |
} |
515 |
} |
520 |
} |
516 |
|
521 |
|
517 |
# check if a recall exists on this item from this borrower |
522 |
# check if a recall exists on this item from this borrower |
518 |
- |
|
|