1 <& /elements/header.html, 'Package discount report' &>
3 <FORM ACTION="cust_pkg_discount.html" METHOD="GET">
9 <TD ALIGN="right">Discount status</TD>
11 <SELECT NAME="status">
12 <OPTION VALUE="active">Active
13 <OPTION VALUE="expired">Expired
14 <OPTION VALUE="">(all)
19 <& /elements/tr-select-discount_class.html,
20 'pre_options' => [ '0' => 'all' ],
21 'empty_label' => '(none)'
24 <& /elements/tr-select-user.html,
25 'label' => 'Discounts by employee: ',
26 'access_user' => $access_user,
29 <& /elements/tr-select-agent.html,
30 'curr_value' => scalar( $cgi->param('agentnum') ),
31 'label' => 'for agent: ',
38 <INPUT TYPE="submit" VALUE="Get Report">
42 <& /elements/footer.html &>
46 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
48 my $access_user = $FS::CurrentUser::CurrentUser->access_users_hashref('table' => 'cust_pkg_discount');