summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2008-03-27 21:01:23 +0000
committerivan <ivan>2008-03-27 21:01:23 +0000
commit9397fe6fb9a5cc112ec11f165f902a62d90f096b (patch)
tree84d0fc50eede6a661f0de05e26150e927b78690b /httemplate/view
parent2c38085c11751a8c5f69e57b821a2ecbbce8f60d (diff)
mask ACH info in payment history
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/billing.html5
-rw-r--r--httemplate/view/cust_main/payment_history.html4
2 files changed, 4 insertions, 5 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index fa3863b13..2f05c1ae2 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -69,8 +69,7 @@ Billing information
<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 @@ Billing information
</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>
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 44a888533..5d91b239f 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -100,8 +100,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;
% }