Lines 831-838
sub CanBookBeIssued {
Link Here
|
831 |
# |
831 |
# |
832 |
# ITEM CHECKING |
832 |
# ITEM CHECKING |
833 |
# |
833 |
# |
834 |
if ( $item->{'notforloan'} |
834 |
if ( $item->{'notforloan'} ) |
835 |
&& $item->{'notforloan'} > 0 ) |
|
|
836 |
{ |
835 |
{ |
837 |
if(!C4::Context->preference("AllowNotForLoanOverride")){ |
836 |
if(!C4::Context->preference("AllowNotForLoanOverride")){ |
838 |
$issuingimpossible{NOT_FOR_LOAN} = 1; |
837 |
$issuingimpossible{NOT_FOR_LOAN} = 1; |
Lines 840-846
sub CanBookBeIssued {
Link Here
|
840 |
$needsconfirmation{NOT_FOR_LOAN_FORCING} = 1; |
839 |
$needsconfirmation{NOT_FOR_LOAN_FORCING} = 1; |
841 |
} |
840 |
} |
842 |
} |
841 |
} |
843 |
elsif ( !$item->{'notforloan'} ){ |
842 |
else { |
844 |
# we have to check itemtypes.notforloan also |
843 |
# we have to check itemtypes.notforloan also |
845 |
if (C4::Context->preference('item-level_itypes')){ |
844 |
if (C4::Context->preference('item-level_itypes')){ |
846 |
# this should probably be a subroutine |
845 |
# this should probably be a subroutine |
847 |
- |
|
|