1 <% include( 'elements/browse.html',
2 'title' => 'Package optional report classes',
3 'html_init' => $html_init,
4 'name' => 'package optional report classes',
6 'disabled_statuspos' => 2,
7 'query' => { 'table' => 'part_pkg_report_option',
9 'order_by' => 'ORDER BY name',
11 'count_query' => 'SELECT COUNT(*) FROM part_pkg_report_option',
12 'header' => [ '#', 'Class' ],
13 'fields' => [ 'num', 'name' ],
14 'links' => [ $link, $link ],
20 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
23 'Package optional report classes define optional groups of packages for reporting only.'.
24 qq!<BR><BR><A HREF="${p}edit/part_pkg_report_option.html"><I>Add a class</I></A><BR><BR>!;
26 my $link = [ $p.'edit/part_pkg_report_option.html?', 'num' ];