X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Femail_invoice_events.cgi;h=d65fe172bffa12ebf63971e7a43609e3a49cb7be;hb=4e956dcc46d5e38e0a8b90638c96736f8b4496d6;hp=b5e66d5acc6507f9b85624437192be248df0e7c2;hpb=5f155263a2c9837640d2fab0817d1f36b8cb3f8c;p=freeside.git diff --git a/httemplate/misc/email_invoice_events.cgi b/httemplate/misc/email_invoice_events.cgi index b5e66d5ac..d65fe172b 100644 --- a/httemplate/misc/email_invoice_events.cgi +++ b/httemplate/misc/email_invoice_events.cgi @@ -1,6 +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; -%> +