fixing choosing wrong var for max amount issues number
This commit is contained in:
parent
ed8eee0aa6
commit
ab62ac7ab6
1 changed files with 1 additions and 1 deletions
|
@ -798,7 +798,7 @@ sub canbookbeissued {
|
|||
# DEBTS
|
||||
my $amount = checkaccount($env,$borrower->{'borrowernumber'}, $dbh,$duedate);
|
||||
if($C4::Context->preference("IssuingInProcess")){
|
||||
my $amountlimit = $C4::Context->preference("maxoutstanding");
|
||||
my $amountlimit = $C4::Context->preference("noissuescharge");
|
||||
if ($amount > $amountlimit && !$inprocess) {
|
||||
$issuingimpossible{DEBT} = sprintf("%.2f",$amount);
|
||||
} elsif ($amount <= $amountlimit && !$inprocess) {
|
||||
|
|
Loading…
Reference in a new issue