summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-09-18 10:18:43 -0700
committerMark Wells <mark@freeside.biz>2015-09-18 10:19:08 -0700
commit77a4ccff7384368888fe88379f01f9ddc34244d8 (patch)
treedf949604ac1bbd5bb17b647fa37b7c0fb42dee1d /httemplate/misc/process
parent8cbf995cfbc851821242f4ab5e03713b3de8ef69 (diff)
send commission reports by email, #33101
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/send-report.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/misc/process/send-report.html b/httemplate/misc/process/send-report.html
new file mode 100644
index 000000000..3bceebc0c
--- /dev/null
+++ b/httemplate/misc/process/send-report.html
@@ -0,0 +1,7 @@
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Send reports to customers');
+
+my $server = FS::UI::Web::JSRPC->new('FS::report_batch::process_send_report', $cgi);
+</%init>
+<% $server->process %>