summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/payment_history.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_main/payment_history.html')
-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 5d91b239f..260d67d2e 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -100,7 +100,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;