summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-12-22 21:18:25 +0000
committerivan <ivan>2003-12-22 21:18:25 +0000
commit5eed801d74e5494ea58517a03a2fa78fff745b2e (patch)
tree50cad1d8f7e958f84ec4efa5b446b1985039e96e /FS
parent9af0401a31d8828da22b0e9fc60c01a4c0998f6a (diff)
quiet warning
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_bill.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 66997e92e..a04d475cb 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -1505,6 +1505,7 @@ sub _latex_escape {
sub balance_due_msg {
my $self = shift;
my $msg = 'Balance Due';
+ return $msg unless $conf->exists('invoice_default_terms');
if ( $conf->config('invoice_default_terms') =~ /^\s*Net\s*(\d+)\s*$/ ) {
$msg .= ' - Please pay by '. time2str("%x", $self->_date + ($1*86400) );
} elsif ( $conf->config('invoice_default_terms') ) {