Commit 2f80cd68 authored by Nigel Kukard's avatar Nigel Kukard

Fixed undefined reference

parent 5788ab27
......@@ -604,7 +604,7 @@ sub createPaymentAllocation
}
$paymentBalance->bsub($detail->{'Amount'});
if ($paymentBalance->is_neg()) {
setError("Creating this allocation will exceed payment '".$payment->{'PaymentNumber'}."' amount by ".$paymentBalance->bstr());
setError("Creating this allocation will exceed payment '".$detail->{'PaymentNumber'}."' amount by ".$paymentBalance->bstr());
return ERR_OVERALLOC;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment