summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-02-26 13:12:37 -0800
committerIvan Kohler <ivan@freeside.biz>2014-02-26 13:12:37 -0800
commit5e78b358502a9506b60b5e1f888feb83a1f8fa86 (patch)
treefee3f0e6f21eee0455c9655a5e98cb04cabfe0c4 /httemplate/edit/process
parent3198bdfc17b6c1370dadc17d608a571c0f811b5c (diff)
parente8fb3448ac1b9dae5410f88cf70eb36cd822c247 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/part_fee.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/edit/process/part_fee.html b/httemplate/edit/process/part_fee.html
new file mode 100644
index 000000000..25656e9b0
--- /dev/null
+++ b/httemplate/edit/process/part_fee.html
@@ -0,0 +1,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>