[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.21.2.5, 1.21.2.6
Ivan,,,
ivan at wavetail.420.am
Thu Mar 27 14:05:55 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv27293
Modified Files:
Tag: FREESIDE_1_7_BRANCH
payment_history.html
Log Message:
fix for ACH info masking
Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.21.2.5
retrieving revision 1.21.2.6
diff -u -d -r1.21.2.5 -r1.21.2.6
--- payment_history.html 27 Mar 2008 21:01:24 -0000 1.21.2.5
+++ payment_history.html 27 Mar 2008 21:05:51 -0000 1.21.2.6
@@ -90,7 +90,8 @@
% my $payinfo;
% if ( $payby eq 'CARD' ) {
% $payinfo = $cust_pay->paymask;
-% } elsif ( $payby eq 'CHEK' && $cust_pay->paymask =~ /^(\d+)\@(\d+)$/ ) {
+% } elsif ( $payby eq 'CHEK' ) {
+% my( $account, $aba ) = split('@', $cust_pay->paymask );
% $payinfo = "ABA $2, Acct #$1";
% } else {
% $payinfo = $cust_pay->payinfo;
More information about the freeside-commits
mailing list