[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.7, 1.8

Ivan,,, ivan at wavetail.420.am
Mon Mar 20 11:13:29 PST 2006


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail:/tmp/cvs-serv20016/httemplate/edit/cust_main

Modified Files:
	billing.html 
Log Message:
add price plan to bill on internal or external CDRs directly, add option to export CDRs to a per-customer downstream file

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- billing.html	25 Dec 2005 00:36:30 -0000	1.7
+++ billing.html	20 Mar 2006 19:13:27 -0000	1.8
@@ -348,7 +348,7 @@
 
   );
 
-
+  #this should use FS::payby
   my %allopt = (
     'CARD' => 'Credit card',
     'CHEK' => 'Electronic check',
@@ -433,6 +433,14 @@
       <TD WIDTH="408"><INPUT TYPE="text" NAME="invoicing_list" VALUE="<%= join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) %>"></TD>
     </TR>
 
+    <% if ( $conf->exists('voip-cust_cdr_spools') ) { %>
+      <TR>
+       <TD COLSPAN="2"><INPUT TYPE="checkbox" NAME="spool_cdr" VALUE="Y" <%= $cust_main->spool_cdr eq "Y" ? 'CHECKED' : '' %>> Spool CDRs</TD>
+      </TR>
+    <% } else { %>
+      <INPUT TYPE="hidden" NAME="spool_cdr" VALUE="<%= $cust_main->spool_cdr %>">
+    <% } %>
+
   </TABLE>
 
   </FORM>



More information about the freeside-commits mailing list