X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Femail_invoice_events.cgi;h=d65fe172bffa12ebf63971e7a43609e3a49cb7be;hb=dfba562ff61f541ba7c75f2c02b32951b73aa002;hp=3a39bcd19876bc43a9b3254e17a45ad63f916521;hpb=36d9b47e5c20ae3bc71c0bd0eaf289b566d0cf7c;p=freeside.git diff --git a/httemplate/misc/email_invoice_events.cgi b/httemplate/misc/email_invoice_events.cgi index 3a39bcd19..d65fe172b 100644 --- a/httemplate/misc/email_invoice_events.cgi +++ b/httemplate/misc/email_invoice_events.cgi @@ -1,3 +1,9 @@ -<% +<% $server->process %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Resend invoices'); + my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reemail', $cgi; -%><%= $server->process %> + +