don't reenable postal billing for existing customers just cause its blank...
authorivan <ivan>
Sun, 25 Dec 2005 00:36:30 +0000 (00:36 +0000)
committerivan <ivan>
Sun, 25 Dec 2005 00:36:30 +0000 (00:36 +0000)
httemplate/edit/cust_main/billing.html

index a9b3c1f..96f777b 100644 (file)
@@ -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'