[freeside-commits] freeside/httemplate/misc payment.cgi, 1.31, 1.31.2.1
Ivan,,,
ivan at wavetail.420.am
Fri Aug 5 17:51:01 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv22186/httemplate/misc
Modified Files:
Tag: FREESIDE_2_3_BRANCH
payment.cgi
Log Message:
echeck options to hide routing number and add account owner name, RT#13885
Index: payment.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/payment.cgi,v
retrieving revision 1.31
retrieving revision 1.31.2.1
diff -u -w -d -r1.31 -r1.31.2.1
--- payment.cgi 27 May 2011 05:56:42 -0000 1.31
+++ payment.cgi 6 Aug 2011 00:50:58 -0000 1.31.2.1
@@ -135,7 +135,7 @@
% $stateid, $stateid_state )
% = ( '', '', '', '', '', '', '', '' );
% if ( $cust_main->payby =~ /^(CHEK|DCHK)$/ ) {
-% $cust_main->paymask =~ /^([\dx]+)\@([\dx]+)$/i
+% $cust_main->paymask =~ /^([\dx]+)\@([\dx]*)$/i
% or die "unparsable payinfo ". $cust_main->payinfo;
% ($payinfo1, $payinfo2) = ($1, $2);
% $payname = $cust_main->payname;
@@ -154,6 +154,9 @@
<TD ALIGN="right"><% mt('Type') |h %></TD>
<TD><SELECT NAME="paytype"><% join('', map { qq!<OPTION VALUE="$_" !.($paytype eq $_ ? 'SELECTED' : '').">$_</OPTION>" } @FS::cust_main::paytypes) %></SELECT></TD>
</TR>
+% if ( $conf->exists('echeck-no_routing') ) {
+ <INPUT TYPE="text" NAME="payinfo2" VALUE="<%$payinfo2%>">
+% } else {
<TR>
<TD ALIGN="right"><% mt('ABA/Routing number') |h %></TD>
<TD>
@@ -161,6 +164,7 @@
(<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('../docs/ach.html', 380, 240, 'ach_popup' ), CAPTION, 'ACH Help', STICKY, AUTOSTATUSCAP, CLOSECLICK, DRAGGABLE ); return false;"><% mt('help') |h %></A>)
</TD>
</TR>
+% }
<TR>
<TD ALIGN="right"><% mt('Bank name') |h %></TD>
<TD><INPUT TYPE="text" NAME="payname" VALUE="<%$payname%>"></TD>
More information about the freeside-commits
mailing list