X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fprint_invoices.cgi;h=f859f6db8be160ad562ef536a62b409a56616e62;hb=2a56c671635687bf2648eb3a7cf4bce228101af3;hp=c6a7885a4ed4ad6a6854efdbdf43ba8a6d8ac228;hpb=684a478c0f88e5bf6d1d3f32f4618089146b5709;p=freeside.git diff --git a/httemplate/misc/print_invoices.cgi b/httemplate/misc/print_invoices.cgi index c6a7885a4..f859f6db8 100644 --- a/httemplate/misc/print_invoices.cgi +++ b/httemplate/misc/print_invoices.cgi @@ -1,6 +1,9 @@ -<% +<% $server->process %> +<%init> -my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reprint'; -$server->process; +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Resend invoices'); -%> +my $server = new FS::UI::Web::JSRPC 'FS::cust_bill::process_reprint', $cgi; + +