summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-23 04:14:19 +0000
committerlevinse <levinse>2011-06-23 04:14:19 +0000
commit5cebf6d642a74554ca424397d806f9b59ac19c5c (patch)
tree76c2fa47ce845dba31d7b2e7deb15c154629844e /httemplate/view
parent4de19e4303d8d692fb772b0a332be325bab50db3 (diff)
echeck: add optional bank branch format, RT13360
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/billing.html10
1 files changed, 10 insertions, 0 deletions
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
</TR>
% } 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&nbsp;check&nbsp;<% $cust_main->payby eq 'CHEK' ? '(automatic)' : '(on-demand)' %>
@@ -93,6 +95,14 @@ Billing information
<TD ALIGN="right">ABA/Routing code</TD>
<TD BGCOLOR="#ffffff"><% $aba %></TD>
</TR>
+
+% if ( $conf->exists('cust_main-require-bank-branch') ) {
+<TR>
+ <TD ALIGN="right">Branch number</TD>
+ <TD BGCOLOR="#ffffff"><% $branch %></TD>
+ <TR>
+% }
+
<TR>
<TD ALIGN="right">Account number</TD>
<TD BGCOLOR="#ffffff"><% $account %></TD>