show imported region and rate #s, RT#83146
[freeside.git] / httemplate / edit / svc_hardware.cgi
index e6cb22b..d9cd4cd 100644 (file)
@@ -26,7 +26,8 @@ my @fields = (
   },
   {
     field => 'hw_addr',
-    type  => 'text',
+    type  => $conf->exists('svc_hardware-check_mac_addr') ? 
+              'input-mac_addr' : 'text',
     label => 'Hardware address',
   },
   {
@@ -35,18 +36,24 @@ my @fields = (
     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',
     type  => 'textarea',
-    rows  => 4,
-    cols  => 30,
+    rows  => 8,
+    cols  => 50,
     label => 'Installation notes',
   },