fix new tax report w/FS::tax_rate_location->location_sql, RT#12332
[freeside.git] / httemplate / edit / pkg_category.html
1 <% include( 'elements/edit.html',
2               'name_singular' => 'Package Category',
3               'table'  => 'pkg_category',
4               'fields' => [
5                             'categoryname',
6                             'weight',
7                             { field=>'condense', type=>'checkbox', value=>'Y', },
8                             { field=>'disabled', type=>'checkbox', value=>'Y', },
9                           ],
10               'labels' => {
11                             'categorynum'  => 'Category number',
12                             'categoryname' => 'Category name',
13                             'weight'       => 'Weight',
14                             'condense'     => 'Collapse identical items to one',
15                             'disabled'     => 'Disable category',
16                           },
17               'viewall_dir' => 'browse',
18               %opt,
19            )
20 %>
21 <%init>
22
23 die "access denied"
24   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
25
26 my %opt = @_;
27
28 </%init>