[freeside-commits] freeside/httemplate/view/cust_main billing.html, 1.31, 1.32

Erik Levinson levinse at wavetail.420.am
Wed Jun 22 21:09:50 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv6946/httemplate/view/cust_main

Modified Files:
	billing.html 
Log Message:
echeck: add optional bank branch format, RT13360

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/billing.html,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -w -d -r1.31 -r1.32
--- billing.html	30 May 2011 23:25:07 -0000	1.31
+++ billing.html	23 Jun 2011 04:09:48 -0000	1.32
@@ -84,6 +84,8 @@
 </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');
 
 
 % my $autodemand = $cust_main->payby eq 'CHEK' ? 'automatic' : 'on-demand';
@@ -94,16 +96,23 @@
   <TD ALIGN="right"><% mt('ABA/Routing code') |h %></TD>
   <TD BGCOLOR="#ffffff"><% $aba %></TD>
 </TR>
+
+% if ( $conf->exists('cust_main-require-bank-branch') ) {
+<TR>
+  <TD ALIGN="right"><% mt('Branch number') |h %></TD>
+  <TD BGCOLOR="#ffffff"><% $branch %></TD>
 <TR>
+% }
+
   <TD ALIGN="right"><% mt('Account number') |h %></TD>
   <TD BGCOLOR="#ffffff"><% $account %></TD>
 </TR>
 <TR>
-  <TD ALIGN="right"<% mt('>Account type') |h %></TD>
+  <TD ALIGN="right"><% mt('Account type') |h %></TD>
   <TD BGCOLOR="#ffffff"><% $cust_main->paytype %></TD>
 </TR>
 <TR>
-  <TD ALIGN="right"<% mt('>Bank name') |h %></TD>
+  <TD ALIGN="right"><% mt('Bank name') |h %></TD>
   <TD BGCOLOR="#ffffff"><% $cust_main->payname %></TD>
 </TR>
 % if ( $conf->exists('show_bankstate') ) {



More information about the freeside-commits mailing list