diff options
author | ivan <ivan> | 2011-08-06 00:50:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-08-06 00:50:48 +0000 |
commit | 4e764e5f9a7b690baf95906c4455311c2560120f (patch) | |
tree | 7f9b8c5bbc4bcec634184253230bdf7d8eccdde9 /httemplate/view | |
parent | 0d2c8c61b8c5644c7dedcffcb28210f9a0cec55d (diff) |
echeck options to hide routing number and add account owner name, RT#13885
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/cust_main/billing.html | 11 | ||||
-rw-r--r-- | httemplate/view/cust_main/payment_history.html | 6 |
2 files changed, 12 insertions, 5 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index ba63833f4..cf22ff701 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -92,10 +92,13 @@ <% mt("Electronic check ([_1])",$autodemand) |h %> </TD> </TR> -<TR> - <TD ALIGN="right"><% mt('ABA/Routing code') |h %></TD> - <TD BGCOLOR="#ffffff"><% $aba %></TD> -</TR> + +% unless ( $conf->exists('echeck-no_routing') ) { + <TR> + <TD ALIGN="right"><% mt('ABA/Routing code') |h %></TD> + <TD BGCOLOR="#ffffff"><% $aba %></TD> + </TR> +% } % if ( $conf->exists('cust_main-require-bank-branch') ) { <TR> diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index fa9c16697..580a30751 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); |