diff options
| author | ivan <ivan> | 2008-01-13 20:57:38 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2008-01-13 20:57:38 +0000 |
| commit | c223e0957b194e24dccbda5bbc29841385cc0961 (patch) | |
| tree | 3fa7d6705ea537c8ac487a410ce3262308a481e8 /httemplate/search/cust_bill_event.cgi | |
| parent | 3d7f98ef055d07d16512fb9bebe76f44da68eb56 (diff) | |
ACLs
Diffstat (limited to 'httemplate/search/cust_bill_event.cgi')
| -rw-r--r-- | httemplate/search/cust_bill_event.cgi | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/httemplate/search/cust_bill_event.cgi b/httemplate/search/cust_bill_event.cgi index f45c8a59d..06a52dc5d 100644 --- a/httemplate/search/cust_bill_event.cgi +++ b/httemplate/search/cust_bill_event.cgi @@ -130,16 +130,21 @@ my $html_init = join("\n", map { qq!</FORM>! } qw( print_ email_ fax_ ) ); -my $menubar = [ - 'Re-print these events' => - "javascript:print_process()", - 'Re-email these events' => - "javascript:email_process()", - ]; - -push @$menubar, 'Re-fax these events' => - "javascript:fax_process()" - if $conf->exists('hylafax'); +my $menubar = []; + +if ( $curuser->access_right('Resend invoices') ) { + + push @$menubar, 'Re-print these events' => + "javascript:print_process()", + 'Re-email these events' => + "javascript:email_process()", + ; + + push @$menubar, 'Re-fax these events' => + "javascript:fax_process()" + if $conf->exists('hylafax'); + +} my $link_cust = sub { my $cust_bill_event = shift; |
