echeck options to hide routing number and add account owner name, RT#13885
[freeside.git] / httemplate / view / cust_main / billing.html
index 9f1ff8d..cf22ff7 100644 (file)
     <% 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>
 
 % if ( $conf->exists('voip-cust_cdr_squelch') ) { 
   <TR>
-    <TD ALIGN="right"><% mt('Print CDRs') |h %></TD>
+    <TD ALIGN="right"><% mt($conf->exists('voip-cdr_email') ? 'Print CDRs' : 'Show CDRs') |h %></TD>
     <TD BGCOLOR="#ffffff"><% $cust_main->squelch_cdr ? $no : $yes %></TD>
   </TR>
 % }