1 <% include( 'elements/browse.html',
2 'title' => 'Hardware Statuses',
3 'name' => 'hardware statuses',
5 'query' => { 'table' => 'hardware_status', },
6 'count_query' => 'SELECT COUNT(*) FROM hardware_status',
7 'header' => [ '#', 'Status' ],
8 'fields' => [ 'statusnum', 'label' ],
9 'links' => [ $link, $link ],
14 my $curuser = $FS::CurrentUser::CurrentUser;
17 unless $curuser->access_right('Configuration');
19 my $menubar = [ 'Hardware classes' => $p.'browse/hardware_class.html',
20 'Add a status' => $p.'edit/hardware_status.html' ];
22 my $link = [ "${p}edit/hardware_status.html?", 'statusnum' ];