Lines 500-506
sub CanItemBeReserved{
Link Here
|
500 |
if ( C4::Context->preference('IndependantBranches') |
500 |
if ( C4::Context->preference('IndependantBranches') |
501 |
and !C4::Context->preference('canreservefromotherbranches') ) |
501 |
and !C4::Context->preference('canreservefromotherbranches') ) |
502 |
{ |
502 |
{ |
503 |
my $itembranch = $item->{holdingbranch} // $item->{homebranch}; |
503 |
my $itembranch = $item->{homebranch}; |
504 |
if ($itembranch ne $borrower->{branchcode}) { |
504 |
if ($itembranch ne $borrower->{branchcode}) { |
505 |
return 0; |
505 |
return 0; |
506 |
} |
506 |
} |
507 |
- |
|
|