1 <% include( 'elements/edit.html',
2 'name' => 'Package Class',
3 'table' => 'pkg_class',
7 ? { field=>'categorynum', type=>'select-table', 'empty_label'=>'(none)', 'table'=>'pkg_category', 'name_col'=>'categoryname' }
8 : { field=>'categorynum', type=>'hidden' }
10 { field=>'disabled', type=>'checkbox', value=>'Y', },
13 'classnum' => 'Class number',
14 'classname' => 'Class name',
15 'categorynum' => 'Category',
16 'disabled' => 'Disable class',
18 'viewall_dir' => 'browse',
25 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
27 my @category = qsearch('pkg_category', { 'disabled' => '' });