projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7acc4a
)
set defaults so as to not change the billing type when entering a one time payment
author
ivan
<ivan>
Fri, 25 Jun 2004 17:26:54 +0000
(17:26 +0000)
committer
ivan
<ivan>
Fri, 25 Jun 2004 17:26:54 +0000
(17:26 +0000)
httemplate/misc/payment.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/payment.cgi
b/httemplate/misc/payment.cgi
index
bf89a3d
..
699b317
100644
(file)
--- a/
httemplate/misc/payment.cgi
+++ b/
httemplate/misc/payment.cgi
@@
-197,7
+197,7
@@
function achclose() {
</TD>
</TR><TR>
<TD COLSPAN=2>
</TD>
</TR><TR>
<TD COLSPAN=2>
- <INPUT TYPE="checkbox"<%=
$payby eq 'CARD'
? ' CHECKED' : '' %> NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }">
+ <INPUT TYPE="checkbox"<%=
( ( $payby eq 'CARD' && $cust_main->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
</TD>
</TR>
Charge future payments to this <%= $type{$payby} %> automatically
</TD>
</TR>