From fdbdabb698b904cfb8cdc8befb87a76aa71642e9 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 13 Jan 2008 20:57:36 +0000 Subject: ACLs --- httemplate/search/cust_event.html | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'httemplate/search/cust_event.html') 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() { '; -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; -- cgit v1.2.1