freeside/httemplate/edit part_pkg.cgi,1.49,1.50

ivan ivan at pouncequick.420.am
Fri Dec 31 00:47:14 PST 2004


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory pouncequick:/tmp/cvs-serv11790

Modified Files:
	part_pkg.cgi 
Log Message:
add ignore_unrateable flag to voip price plan

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- part_pkg.cgi	22 Nov 2004 18:20:21 -0000	1.49
+++ part_pkg.cgi	31 Dec 2004 08:47:08 -0000	1.50
@@ -302,6 +302,12 @@
                      ? $plandata{$field}
                      : $href->{$field}{'default'} ).
                  qq!" onChange="fchanged(this)">!;
+      } elsif ( $href->{$field}{'type'} eq 'checkbox' ) {
+        $html .= qq!<INPUT TYPE="checkbox" NAME="$field" VALUE=1 !.
+                 ( exists($plandata{$field}) && $plandata{$field}
+                   ? ' CHECKED'
+                   : ''
+                 ). '>';
       } elsif ( $href->{$field}{'type'} =~ /^select/ ) {
         $html .= '<SELECT';
         $html .= ' MULTIPLE'




More information about the freeside-commits mailing list