projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r3883,
[freeside.git]
/
httemplate
/
misc
/
payment.cgi
diff --git
a/httemplate/misc/payment.cgi
b/httemplate/misc/payment.cgi
index
bf89a3d
..
02c6c54
100644
(file)
--- a/
httemplate/misc/payment.cgi
+++ b/
httemplate/misc/payment.cgi
@@
-92,8
+92,8
@@
function achclose() {
<TD>Exp.</TD>
<TD>
<SELECT NAME="month">
<TD>Exp.</TD>
<TD>
<SELECT NAME="month">
- <% for ( ( map "0$_", 1 .. 9 ), 1
1,
12 ) { %>
- <OPTION<%= $_
eq
$month ? ' SELECTED' : '' %>><%= $_ %>
+ <% for ( ( map "0$_", 1 .. 9 ), 1
0 ..
12 ) { %>
+ <OPTION<%= $_
==
$month ? ' SELECTED' : '' %>><%= $_ %>
<% } %>
</SELECT>
</TD>
<% } %>
</SELECT>
</TD>
@@
-101,7
+101,7
@@
function achclose() {
<TD>
<SELECT NAME="year">
<% my @a = localtime; for ( $a[5]+1900 .. $a[5]+1915 ) { %>
<TD>
<SELECT NAME="year">
<% my @a = localtime; for ( $a[5]+1900 .. $a[5]+1915 ) { %>
- <OPTION<%= $_
eq
$year ? ' SELECTED' : '' %>><%= $_ %>
+ <OPTION<%= $_
==
$year ? ' SELECTED' : '' %>><%= $_ %>
<% } %>
</SELECT>
</TD>
<% } %>
</SELECT>
</TD>
@@
-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>