-<% include( '/elements/header.html', 'Package Summary Report' ) %>
+<& /elements/header.html, 'Package Summary Report' &>
<FORM ACTION="cust_pkg_summary.cgi" METHOD="GET">
</TH>
</TR>
- <% include ('/elements/tr-input-beginning_ending.html') %>
+ <& /elements/tr-input-beginning_ending.html &>
+
+ <& /elements/tr-select-pkg_class.html,
+ 'pre_options' => [ '0' => 'all' ],
+ 'empty_label' => '(empty class)',
+ &>
</TABLE>
</FORM>
-<% include('/elements/footer.html') %>
+<& /elements/footer.html &>
<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Summarize packages');
+
</%init>