X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_hardware.cgi;h=d9cd4cd66fabec23b9cf9081f7f707611f974d9c;hb=0353e495131736a7c03d87b4d8c1d500cb96b863;hp=e6cb22bcbc6ae37ff86acc347e18638782bfb5dc;hpb=b65b8096089410001dfbcd35f9a56f9405b9f5f1;p=freeside.git diff --git a/httemplate/edit/svc_hardware.cgi b/httemplate/edit/svc_hardware.cgi index e6cb22bcb..d9cd4cd66 100644 --- a/httemplate/edit/svc_hardware.cgi +++ b/httemplate/edit/svc_hardware.cgi @@ -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', },