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.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index fa9c166..580a307 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -511,7 +511,11 @@ sub translate_payinfo {
$payinfo = $object->paymask;
} elsif ( $payby eq 'CHEK' ) {
my( $account, $aba ) = split('@', $object->paymask );
- $payinfo = emt("ABA [_1], Acct #[_2]",$aba,$account);
+ if ( $conf->exists('echeck-no_routing') ) {
+ $payinfo = emt("Acct #[_1]", $account);
+ } else {
+ $payinfo = emt("ABA [_1], Acct #[_2]",$aba,$account);
+ }
}
($payby,$payinfo);