fix v3 prospect->customer conversion, RT#31965, RT#31202
[freeside.git] / httemplate / edit / elements / category_Common.html
1 <% include( 'edit.html',
2               'fields' => [
3                             'categoryname',
4                             'weight',
5                             { field=>'disabled', type=>'checkbox', value=>'Y', },
6                           ],
7               'labels' => { 
8                             'categorynum'  => 'Category number',
9                             'categoryname' => 'Category name',
10                             'weight'       => 'Weight',
11                             'disabled'     => 'Disable category',
12                           },
13               'viewall_dir' => 'browse',
14               %opt,
15            )
16 %>
17 <%init>
18
19 die "access denied"
20   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
21
22 my %opt = @_;
23
24 </%init>