[freeside-commits] freeside/httemplate/view/cust_main billing.html, 1.33, 1.33.2.1 payment_history.html, 1.58.2.1, 1.58.2.2

Ivan,,, ivan at wavetail.420.am
Fri Aug 5 17:51:01 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	billing.html payment_history.html 
Log Message:
echeck options to hide routing number and add account owner name, RT#13885

Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.58.2.1
retrieving revision 1.58.2.2
diff -u -w -d -r1.58.2.1 -r1.58.2.2
--- payment_history.html	27 Jul 2011 23:27:14 -0000	1.58.2.1
+++ payment_history.html	6 Aug 2011 00:50:59 -0000	1.58.2.2
@@ -511,8 +511,12 @@
         $payinfo = $object->paymask;
     } elsif ( $payby eq 'CHEK' ) {
         my( $account, $aba ) = split('@', $object->paymask );
+        if ( $conf->exists('echeck-no_routing') ) {
+          $payinfo = emt("Acct #[_1]", $account);
+        } else {
         $payinfo = emt("ABA [_1], Acct #[_2]",$aba,$account);
     }
+    }
 
     ($payby,$payinfo);
 }

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/billing.html,v
retrieving revision 1.33
retrieving revision 1.33.2.1
diff -u -w -d -r1.33 -r1.33.2.1
--- billing.html	14 Jul 2011 17:21:08 -0000	1.33
+++ billing.html	6 Aug 2011 00:50:59 -0000	1.33.2.1
@@ -92,10 +92,13 @@
     <% mt("Electronic check ([_1])",$autodemand) |h %>
   </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>



More information about the freeside-commits mailing list