X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_event.html;fp=httemplate%2Fsearch%2Fcust_event.html;h=d55b5c6d29a94d4c4776e6ca39e33952aaf6f579;hp=dc6fd0582750188dd206ccce1569b203d0e657d2;hb=fdbdabb698b904cfb8cdc8befb87a76aa71642e9;hpb=ec73e6774dd54d085d836f7da2ae772d2cfefee2 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;