RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / browse / part_virtual_field.html
1 <% include( 'elements/browse.html',
2                  'title'       => 'Custom field definitions',
3                  'name'        => 'custom fields',
4                  'query'       => { 'table'     => 'part_virtual_field',
5                                     'hashref'   => {},
6                                     'order_by' => 'ORDER BY dbtable',
7                                   },
8                  'count_query' => 'SELECT COUNT(1) from part_virtual_field',
9                  'header'      => [ '#',
10                                     'Table',
11                                     'Name',
12                                     'Length',
13                                     'Label',
14                                   ],
15                  'fields'      => [ 'vfieldpart',
16                                     'dbtable',
17                                     'name',
18                                     'length',
19                                     'label',
20                                   ],
21                  'links'       => [ [ $p.'edit/part_virtual_field.html?', 'vfieldpart' ],
22                                     '',
23                                     '',
24                                     '',
25                                     '',
26                                   ],
27              )
28 %>
29 <%init>
30
31 die "access denied"
32   unless $FS::CurrentUser::CurrentUser->access_right('Edit custom fields');
33
34 </%init>