1 <% include( 'elements/browse.html',
2 'title' => 'Service classes',
3 'html_init' => $html_init,
4 'name' => 'service classes',
6 'disabled_statuspos' => 1,
7 'query' => { 'table' => 'part_svc_class',
9 'order_by' => 'ORDER BY classnum',
11 'count_query' => $count_query,
20 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
23 'Service classes are user-defined, informational types for services.<BR><BR>'.
24 qq!<A HREF="${p}edit/part_svc_class.html"><I>Add a service class</I></A><BR><BR>!;
26 my $count_query = 'SELECT COUNT(*) FROM part_svc_class';
28 my $link = [ $p.'edit/part_svc_class.html?', 'classnum' ];
30 my $header = [ '#', 'Class' ];
31 my $fields = [ 'classnum', 'classname' ];
32 my $links = [ $link, $link ];