summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2005-12-25 00:36:30 +0000
committerivan <ivan>2005-12-25 00:36:30 +0000
commit9cc2ba7cbf26eefbd1d01a2f98b47a24a8766428 (patch)
tree70d8d9501c83b60b363620dbe59e3759b07867af
parent113de1f1167d9bc194e467b14a9d2f7f673d687f (diff)
don't reenable postal billing for existing customers just cause its blank...
-rw-r--r--httemplate/edit/cust_main/billing.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index a9b3c1f..96f777b 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -402,7 +402,10 @@ if ( $payby_default eq 'HIDE' ) {
<TR>
<TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST" <%=
- ( ( ! @invoicing_list && ! $conf->exists('disablepostalinvoicedefault') )
+ ( ( ! @invoicing_list
+ && ! $conf->exists('disablepostalinvoicedefault')
+ && ! $cust_main->custnum
+ )
|| grep { $_ eq 'POST' } @invoicing_list )
? 'CHECKED'