Lines 326-332
sub CanBookBeReserved{
Link Here
|
326 |
{ status => libraryNotFound }, if given branchcode is not an existing library |
326 |
{ status => libraryNotFound }, if given branchcode is not an existing library |
327 |
{ status => libraryNotPickupLocation }, if given branchcode is not configured to be a pickup location |
327 |
{ status => libraryNotPickupLocation }, if given branchcode is not configured to be a pickup location |
328 |
{ status => cannotBeTransferred }, if branch transfer limit applies on given item and branchcode |
328 |
{ status => cannotBeTransferred }, if branch transfer limit applies on given item and branchcode |
329 |
{ status => alreadyReserved }, if the borrower has already reserved this item. |
329 |
{ status => alreadyReserved }, if the borrower has already reserved this item. |
330 |
|
330 |
|
331 |
=cut |
331 |
=cut |
332 |
|
332 |
|
Lines 408-414
sub CanItemBeReserved {
Link Here
|
408 |
$ruleitemtype = '*'; |
408 |
$ruleitemtype = '*'; |
409 |
} |
409 |
} |
410 |
|
410 |
|
411 |
my $holds = Koha::Holds->search( |
411 |
$holds = Koha::Holds->search( |
412 |
{ |
412 |
{ |
413 |
borrowernumber => $borrowernumber, |
413 |
borrowernumber => $borrowernumber, |
414 |
biblionumber => $item->biblionumber, |
414 |
biblionumber => $item->biblionumber, |