X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Femail_invoices.cgi;h=78ca0f67d6ecbb44c310e443f848bc13daf14772;hp=490c42f522d9f8d325b86bcee5c86fbd4645b65f;hb=e803d5f00368e951f7a4b82d5d390b53c4a6c827;hpb=36d9b47e5c20ae3bc71c0bd0eaf289b566d0cf7c diff --git a/httemplate/misc/email_invoices.cgi b/httemplate/misc/email_invoices.cgi index 490c42f52..78ca0f67d 100644 --- a/httemplate/misc/email_invoices.cgi +++ b/httemplate/misc/email_invoices.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::process_reemail', $cgi; -%><%= $server->process %> + +