fix viewing services, RT#39468, inadvertant fallout from #39384
[freeside.git] / httemplate / edit / part_pkg_report_option.html
1 <% include( 'elements/edit.html',
2               'name'   => 'Package optional report class',
3               'table'  => 'part_pkg_report_option',
4               'fields' => [
5                             'name',
6                             { field=>'num', type=>'hidden' },
7                             { field=>'disabled', type=>'checkbox', value=>'Y', },
8                           ],
9               'labels' => { 
10                             'num'      => 'Class number',
11                             'name'     => 'Class name',
12                             'disabled' => 'Disable class',
13                           },
14               'viewall_dir' => 'browse',
15            )
16           
17 %>
18 <%init>
19
20 die "access denied"
21   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
22
23 </%init>