[freeside-commits] freeside/httemplate/view/cust_main billing.html, 1.8.2.4, 1.8.2.5 payment_history.html, 1.21.2.4, 1.21.2.5

Ivan,,, ivan at wavetail.420.am
Thu Mar 27 14:01:30 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv27192

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	billing.html payment_history.html 
Log Message:
mask ACH info in payment history

Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.21.2.4
retrieving revision 1.21.2.5
diff -u -d -r1.21.2.4 -r1.21.2.5
--- payment_history.html	14 Feb 2008 03:54:13 -0000	1.21.2.4
+++ payment_history.html	27 Mar 2008 21:01:24 -0000	1.21.2.5
@@ -90,8 +90,8 @@
 %  my $payinfo;
 %  if ( $payby eq 'CARD' ) {
 %    $payinfo = $cust_pay->paymask;
-%  } elsif ( $payby eq 'CHEK' && $cust_pay->payinfo =~ /^(\d+)\@(\d+)$/ ) {
-%    $payinfo = "ABA $2, Acct# $1";
+%  } elsif ( $payby eq 'CHEK' && $cust_pay->paymask =~ /^(\d+)\@(\d+)$/ ) {
+%    $payinfo = "ABA $2, Acct #$1";
 %  } else {
 %    $payinfo = $cust_pay->payinfo;
 %  }

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/billing.html,v
retrieving revision 1.8.2.4
retrieving revision 1.8.2.5
diff -u -d -r1.8.2.4 -r1.8.2.5
--- billing.html	17 Jan 2008 03:50:05 -0000	1.8.2.4
+++ billing.html	27 Mar 2008 21:01:24 -0000	1.8.2.5
@@ -69,8 +69,7 @@
   <TD BGCOLOR="#ffffff"><% $cust_main->payname %></TD>
 </TR>
 % } elsif ( $cust_main->payby eq 'CHEK' || $cust_main->payby eq 'DCHK') {
-%     my( $account, $aba ) = split('@', $cust_main->payinfo );
-%
+%     my( $account, $aba ) = split('@', $cust_main->paymask );
 
 
     Electronic&nbsp;check&nbsp;<% $cust_main->payby eq 'CHEK' ? '(automatic)' : '(on-demand)' %>
@@ -82,7 +81,7 @@
 </TR>
 <TR>
   <TD ALIGN="right">Account number</TD>
-  <TD BGCOLOR="#ffffff"><% 'x'x(length($account)-2). substr($account,(length($account)-2)) %></TD>
+  <TD BGCOLOR="#ffffff"><% $account %></TD>
 </TR>
 <TR>
   <TD ALIGN="right">Account type</TD>



More information about the freeside-commits mailing list