1 <% include( 'elements/svc_Common.html',
2 'table' => 'svc_hardware',
3 'html_foot' => $html_foot,
10 unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
12 my $conf = new FS::Conf;
13 my $date_format = $conf->config('date_format') || '%m/%d/%Y';
15 my $html_foot = sub { };
20 type => 'select-hardware_type',
25 label => 'Device serial #',
29 type => $conf->exists('svc_hardware-check_mac_addr') ?
30 'input-mac_addr' : 'text',
31 label => 'Hardware address',
36 label => 'IP address',
41 label => 'Smartcard #',
45 type => 'select-table',
46 table => 'hardware_status',
47 label => 'Service status',
50 hashref => { 'disabled' => '' },
57 label => 'Installation notes',