|
Lines 2709-2714
sub CanBookBeRenewed {
Link Here
|
| 2709 |
} |
2709 |
} |
| 2710 |
return ( 0, "on_reserve" ) if $resfound; # '' when no hold was found |
2710 |
return ( 0, "on_reserve" ) if $resfound; # '' when no hold was found |
| 2711 |
|
2711 |
|
|
|
2712 |
# check if item has been recalled. do a transfer if the recall branch is different to the item holding branch, otherwise don't do a transfer |
| 2713 |
my $recall = Koha::Recalls->find({ itemnumber => $itemnumber, status => 'R' }); |
| 2714 |
my $recallfound; |
| 2715 |
if (defined $recall){ |
| 2716 |
$recallfound = 1; |
| 2717 |
} |
| 2718 |
return ( 0, "recalled" ) if $recallfound; |
| 2719 |
|
| 2712 |
return ( 1, undef ) if $override_limit; |
2720 |
return ( 1, undef ) if $override_limit; |
| 2713 |
|
2721 |
|
| 2714 |
my $branchcode = _GetCircControlBranch( $item, $patron->unblessed ); |
2722 |
my $branchcode = _GetCircControlBranch( $item, $patron->unblessed ); |