From: ivan Date: Fri, 25 Jun 2004 17:26:54 +0000 (+0000) Subject: set defaults so as to not change the billing type when entering a one time payment X-Git-Tag: BEFORE_FINAL_MASONIZE~1012 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=3bdf0736baab914ce151849b1bc0139f5a554ca2 set defaults so as to not change the billing type when entering a one time payment --- diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index bf89a3da7..699b31724 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -197,7 +197,7 @@ function achclose() { - NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }"> + payby ne 'DCRD' ) || ( $payby eq 'CHEK' && $cust_main->payby eq 'CHEK' ) ) ? ' CHECKED' : '' %> NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }"> Charge future payments to this <%= $type{$payby} %> automatically