From 3bdf0736baab914ce151849b1bc0139f5a554ca2 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 25 Jun 2004 17:26:54 +0000 Subject: [PATCH 1/1] set defaults so as to not change the billing type when entering a one time payment --- httemplate/misc/payment.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0