[freeside-commits] freeside/httemplate/edit hardware_status.html, 1.1, 1.2 svc_dish.cgi, 1.1, 1.2 svc_hardware.cgi, 1.1, 1.2

Mark Wells mark at wavetail.420.am
Fri Apr 29 01:58:21 PDT 2011


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

Modified Files:
	hardware_status.html svc_dish.cgi svc_hardware.cgi 
Log Message:
svc_dish and svc_hardware fixes, #11454

Index: svc_dish.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_dish.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- svc_dish.cgi	1 Apr 2011 02:52:13 -0000	1.1
+++ svc_dish.cgi	29 Apr 2011 08:58:18 -0000	1.2
@@ -21,6 +21,11 @@
     label => 'DISH Account #',
   },
   {
+    field => 'installdate',
+    type  => 'input-date-field',
+    label => 'Install date',
+  },
+  {
     field => 'note',
     type  => 'textarea',
     rows  => 4,

Index: svc_hardware.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_hardware.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- svc_hardware.cgi	1 Apr 2011 02:52:14 -0000	1.1
+++ svc_hardware.cgi	29 Apr 2011 08:58:18 -0000	1.2
@@ -35,12 +35,18 @@
     label => 'IP address',
   },
   {
+    field => 'smartcard',
+    type  => 'text',
+    label => 'Smartcard #',
+  },
+  {
     field => 'statusnum',
     type  => 'select-table',
     table => 'hardware_status',
     label => 'Service status',
     name_col => 'label',
     disable_empty => 1,
+    hashref => { 'disabled' => '' },
   },
   {
     field => 'note',

Index: hardware_status.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/hardware_status.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- hardware_status.html	1 Apr 2011 02:52:13 -0000	1.1
+++ hardware_status.html	29 Apr 2011 08:58:18 -0000	1.2
@@ -1,10 +1,18 @@
 <% include( 'elements/edit.html',
-                 'name'   => 'Hardware Status',
+                'name_singular'   => 'Hardware Status',
                  'table'  => 'hardware_status',
                  'labels' => { 
                                'statusnum' => 'Status number',
                                'label'     => 'Description' ,
+                              'disabled'  => 'Disable status'
+                            },
+                'fields' => [
+                              'label',
+                              { field => 'disabled',
+                                type  => 'checkbox',
+                                value => 'Y',
                              },
+                            ],
                  'viewall_dir' => 'browse',
            )
 %>



More information about the freeside-commits mailing list