summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_event.html
diff options
context:
space:
mode:
authorivan <ivan>2008-01-13 20:57:36 +0000
committerivan <ivan>2008-01-13 20:57:36 +0000
commitfdbdabb698b904cfb8cdc8befb87a76aa71642e9 (patch)
tree7ab5d2a83009b55cc6c6655d809fe05bd26842a1 /httemplate/search/cust_event.html
parentec73e6774dd54d085d836f7da2ae772d2cfefee2 (diff)
ACLs
Diffstat (limited to 'httemplate/search/cust_event.html')
-rw-r--r--httemplate/search/cust_event.html25
1 files changed, 15 insertions, 10 deletions
diff --git a/httemplate/search/cust_event.html b/httemplate/search/cust_event.html
index dc6fd0582..d55b5c6d2 100644
--- a/httemplate/search/cust_event.html
+++ b/httemplate/search/cust_event.html
@@ -259,16 +259,21 @@ function confirm_fax_process() {
</SCRIPT>';
-my $menubar = [
- 'Re-print these events' =>
- "javascript:confirm_print_process()",
- 'Re-email these events' =>
- "javascript:confirm_email_process()",
- ];
-
-push @$menubar, 'Re-fax these events' =>
- "javascript:confirm_fax_process()"
- if $conf->exists('hylafax');
+my $menubar = [];
+
+if ( $curuser->access_right('Resend invoices') ) {
+
+ push @$menubar, 'Re-print these events' =>
+ "javascript:confirm_print_process()",
+ 'Re-email these events' =>
+ "javascript:confirm_email_process()",
+ ;
+
+ push @$menubar, 'Re-fax these events' =>
+ "javascript:confirm_fax_process()"
+ if $conf->exists('hylafax');
+
+}
my $link_cust = sub {
my $cust_event = shift;