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.cgi12
1 files changed, 3 insertions, 9 deletions
diff --git a/httemplate/search/report_queued_newtax.cgi b/httemplate/search/report_queued_newtax.cgi
index 1d5813ece..a375fce62 100755
--- a/httemplate/search/report_queued_newtax.cgi
+++ b/httemplate/search/report_queued_newtax.cgi
@@ -1,16 +1,10 @@
-<% 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") %>
+<% $server->process %>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
-my $error = FS::tax_rate::queue_liability_report($cgi);
+my $server =
+ new FS::UI::Web::JSRPC 'FS::tax_rate::queue_liability_report', $cgi;
</%init>