summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-09-18 10:57:21 -0700
committerMark Wells <mark@freeside.biz>2015-09-18 12:01:18 -0700
commit2581d8f2341ac8def1a712cfe70543ec5f7b0959 (patch)
tree17716d31792cedb907b40caefe07ba351970b53a /httemplate/misc/process
parent8cb529e14f605eeb4bf9bf0faa3534e864d55746 (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 %>