From 5eed801d74e5494ea58517a03a2fa78fff745b2e Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 22 Dec 2003 21:18:25 +0000 Subject: quiet warning --- FS/FS/cust_bill.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'FS') 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') ) { -- cgit v1.2.1