Lines 581-587
sub CanItemBeReserved {
Link Here
|
581 |
if ( C4::Context->preference('IndependentBranches') |
581 |
if ( C4::Context->preference('IndependentBranches') |
582 |
and !C4::Context->preference('canreservefromotherbranches') ) |
582 |
and !C4::Context->preference('canreservefromotherbranches') ) |
583 |
{ |
583 |
{ |
584 |
my $itembranch = $item->{homebranch}; |
584 |
my $itembranch = $item->homebranch; |
585 |
if ( $itembranch ne $borrower->{branchcode} ) { |
585 |
if ( $itembranch ne $borrower->{branchcode} ) { |
586 |
return 'cannotReserveFromOtherBranches'; |
586 |
return 'cannotReserveFromOtherBranches'; |
587 |
} |
587 |
} |
588 |
- |
|
|