summaryrefslogtreecommitdiff
path: root/httemplate/misc/print_invoice_events.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/print_invoice_events.cgi')
-rw-r--r--httemplate/misc/print_invoice_events.cgi8
1 files changed, 3 insertions, 5 deletions
diff --git a/httemplate/misc/print_invoice_events.cgi b/httemplate/misc/print_invoice_events.cgi
index c6a7885a4..913e2683f 100644
--- a/httemplate/misc/print_invoice_events.cgi
+++ b/httemplate/misc/print_invoice_events.cgi
@@ -1,6 +1,4 @@
-<%
+%
+%my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reprint', $cgi;
-my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reprint';
-$server->process;
-
-%>
+<% $server->process %>