summaryrefslogtreecommitdiff
path: root/httemplate/misc/bill.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/bill.cgi')
-rwxr-xr-xhttemplate/misc/bill.cgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/misc/bill.cgi b/httemplate/misc/bill.cgi
new file mode 100755
index 0000000..2bc43d7
--- /dev/null
+++ b/httemplate/misc/bill.cgi
@@ -0,0 +1,8 @@
+<% $server->process %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Bill customer now');
+my $server = FS::UI::Web::JSRPC->new('FS::cust_main::process_bill_and_collect', $cgi);
+</%init>
+