summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/part_fee.html
blob: 25656e9b0ef3358ffb309eda5035003d15e070ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<& elements/process.html,
  'debug'             => 1,
  'table'             => 'part_fee',
  'agent_virt'        => 1,
  'agent_null_right'  => 'Edit global fee definitions',
  'viewall_dir'       => 'browse',
  'process_o2m'       => {
                            'table'   => 'part_fee_msgcat',
                            'fields'  => [ 'locale', 'itemdesc' ],
                         },
&>
<%init>

my $curuser = $FS::CurrentUser::CurrentUser;
my $acl_edit = $curuser->access_right('Edit fee definitions');
my $acl_edit_global = $curuser->access_right('Edit global fee definitions');
die "access denied"
  unless $acl_edit or $acl_edit_global;

</%init>