From 5cebf6d642a74554ca424397d806f9b59ac19c5c Mon Sep 17 00:00:00 2001 From: levinse Date: Thu, 23 Jun 2011 04:14:19 +0000 Subject: echeck: add optional bank branch format, RT13360 --- httemplate/view/cust_main/billing.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'httemplate/view') diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index f2596dbae..662bc9b6f 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -84,6 +84,8 @@ Billing information % } elsif ( $cust_main->payby eq 'CHEK' || $cust_main->payby eq 'DCHK') { % my( $account, $aba ) = split('@', $cust_main->paymask ); +% my $branch = ''; +% ($branch,$aba) = split('\.',$aba) if $conf->exists('cust_main-require-bank-branch'); Electronic check <% $cust_main->payby eq 'CHEK' ? '(automatic)' : '(on-demand)' %> @@ -93,6 +95,14 @@ Billing information ABA/Routing code <% $aba %> + +% if ( $conf->exists('cust_main-require-bank-branch') ) { + + Branch number + <% $branch %> + +% } + Account number <% $account %> -- cgit v1.2.1