[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.29, 1.30

Mark Wells mark at wavetail.420.am
Wed Sep 22 14:22:05 PDT 2010


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

Modified Files:
	billing.html 
Log Message:
customer credit limits, RT#8209

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -w -d -r1.29 -r1.30
--- billing.html	9 Oct 2009 23:59:24 -0000	1.29
+++ billing.html	22 Sep 2010 21:22:03 -0000	1.30
@@ -417,6 +417,18 @@
         %>
       </TD>
     </TR>
+    <TR>
+      <TD ALIGN="right" WIDTH="200">Credit limit </TD>
+      <TD WIDTH="408">
+        <SCRIPT TYPE="text/javascript">
+function toggle(obj) {
+  obj.form.credit_limit.disabled = obj.checked;
+}
+        </SCRIPT>
+        <INPUT TYPE="text" NAME="credit_limit" VALUE=<% sprintf('"%.2f"', $cust_main->credit_limit) %><% length($cust_main->credit_limit) ? '' : ' DISABLED' %>>
+        <INPUT TYPE="checkbox" NAME="no_credit_limit" VALUE=1 onclick="toggle(this)"<% length($cust_main->credit_limit) ? '' : ' CHECKED'%>> Unlimited
+      </TD>
+    </TR>
 
 % if ( $conf->exists('voip-cust_cdr_spools') ) { 
       <TR>



More information about the freeside-commits mailing list