projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
show a warning when the OS goes EOL
[freeside.git]
/
httemplate
/
misc
/
email_invoices.cgi
diff --git
a/httemplate/misc/email_invoices.cgi
b/httemplate/misc/email_invoices.cgi
index
bd23126
..
78ca0f6
100644
(file)
--- a/
httemplate/misc/email_invoices.cgi
+++ b/
httemplate/misc/email_invoices.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::process_reemail', $cgi;
-$server->process;
-
%
>
+
</%init
>