summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/cust_bill.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 68571f77e..03c1c1d92 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -628,7 +628,7 @@ sub apply_payments_and_credits {
}
next unless $owed > 0;
- warn "min ( $unapp_amount, $owed )\n";
+ warn "min ( $unapp_amount, $owed )\n" if $DEBUG;
$app->amount( sprintf('%.2f', min( $unapp_amount, $owed ) ) );
$app->invnum( $self->invnum );