diff options
author | ivan <ivan> | 2003-12-22 21:18:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-12-22 21:18:16 +0000 |
commit | 1f044cfca0e3573db5dae7d7d6dc92933ffd2f8e (patch) | |
tree | a0da8b876d7be4a56e0fdbd27a827abf1a1f003d /FS | |
parent | 6092bc23dc3e17a45d75c8cac30cb8ad9efba89f (diff) |
quiet warning
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_bill.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 88f40da3c..e5c19668d 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1113,6 +1113,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') ) { |