summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorivan <ivan>2008-06-17 03:35:56 +0000
committerivan <ivan>2008-06-17 03:35:56 +0000
commit7153190ee1bfeb6d3ad9e6da270a41a949333a7e (patch)
tree4f3f13115ed182e1d219c136f559eb2fa04a1183 /httemplate/misc/process
parent97c8cbe1a7645ecce1192a1c3c20807e428f907c (diff)
finish adding a feature to easily list all email addresses for an agent & send them email
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/email-customers.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/misc/process/email-customers.html b/httemplate/misc/process/email-customers.html
new file mode 100644
index 000000000..d254cfecb
--- /dev/null
+++ b/httemplate/misc/process/email-customers.html
@@ -0,0 +1,9 @@
+<% $server->process %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices');
+
+my $server = new FS::UI::Web::JSRPC 'FS::cust_main::process_email_search_sql', $cgi;
+
+</%init>