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:18:43 -0700
commitc0c5709fb022b83a482d0b35f7094505766d5868 (patch)
tree1cc652dad8a1280f4297c0ab12e8520e610fbd14 /httemplate/misc/process
parent7bce756e86a4307d6cad49a690f22a321acc9981 (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 %>