From 9cc2ba7cbf26eefbd1d01a2f98b47a24a8766428 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 25 Dec 2005 00:36:30 +0000 Subject: [PATCH] don't reenable postal billing for existing customers just cause its blank... --- httemplate/edit/cust_main/billing.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index a9b3c1f75..96f777baa 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -402,7 +402,10 @@ if ( $payby_default eq 'HIDE' ) { exists('disablepostalinvoicedefault') ) + ( ( ! @invoicing_list + && ! $conf->exists('disablepostalinvoicedefault') + && ! $cust_main->custnum + ) || grep { $_ eq 'POST' } @invoicing_list ) ? 'CHECKED' -- 2.11.0