summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/view/cust_main/payment_history.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 703bd91ef..5b105ba18 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -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;