summaryrefslogtreecommitdiff
path: root/httemplate/search/report_queued_newtax.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_queued_newtax.cgi')
-rwxr-xr-xhttemplate/search/report_queued_newtax.cgi16
1 files changed, 16 insertions, 0 deletions
diff --git a/httemplate/search/report_queued_newtax.cgi b/httemplate/search/report_queued_newtax.cgi
new file mode 100755
index 000000000..1d5813ece
--- /dev/null
+++ b/httemplate/search/report_queued_newtax.cgi
@@ -0,0 +1,16 @@
+<% include("/elements/header.html", "Queue Tax Report") %>
+<% include("/elements/error.html") %>
+% unless ($error) {
+ <CENTER>
+ Report queued. Check the job queue for status.
+ </CENTER>
+% }
+<% include("/elements/footer.html") %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+my $error = FS::tax_rate::queue_liability_report($cgi);
+
+</%init>