summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2008-09-12 02:02:01 +0000
committerivan <ivan>2008-09-12 02:02:01 +0000
commitfaa9e03809537153822776b375d3add5de7c7800 (patch)
treeab67ad798e40db68c9ed392afa0e0adc1ef758dc /httemplate/misc
parentb800a3e44db3b68e72933242dae6d95b6968fd52 (diff)
add billco respooling, not re-FTPing, RT#3971
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/spool_invoices.cgi9
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/misc/spool_invoices.cgi b/httemplate/misc/spool_invoices.cgi
new file mode 100644
index 000000000..bfe24e6ea
--- /dev/null
+++ b/httemplate/misc/spool_invoices.cgi
@@ -0,0 +1,9 @@
+<% $server->process %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Resend invoices');
+
+my $server = new FS::UI::Web::JSRPC 'FS::cust_bill::process_respool', $cgi;
+
+</%init>