Revert "RT# 39340 - configured the minimal selfservice to get mac address from radius...
[freeside.git] / httemplate / search / report_cust_pkg_discount.html
1 <& /elements/header.html, 'Package discount report' &>
2
3 <FORM ACTION="cust_pkg_discount.html" METHOD="GET">
4
5
6 <TABLE>
7
8   <TR>
9     <TD ALIGN="right">Discount status</TD>
10     <TD>
11       <SELECT NAME="status">
12         <OPTION VALUE="active">Active
13         <OPTION VALUE="expired">Expired
14         <OPTION VALUE="">(all)
15       </SELECT>
16     </TD>
17   </TR>
18
19   <& /elements/tr-select-discount_class.html,
20        'pre_options' => [ '0' => 'all' ],
21        'empty_label' => '(none)'
22   &>
23
24   <& /elements/tr-select-user.html,
25        'label'       => 'Discounts by employee: ',
26        'access_user' => $access_user,
27   &>
28
29   <& /elements/tr-select-agent.html,
30        'curr_value'    => scalar( $cgi->param('agentnum') ),
31        'label'         => 'for agent: ',
32        'disable_empty' => 0,
33   &>
34
35 </TABLE>
36
37 <BR>
38 <INPUT TYPE="submit" VALUE="Get Report">
39
40 </FORM>
41
42 <& /elements/footer.html &>
43 <%init>
44
45 die "access denied"
46   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
47
48 my $access_user = $FS::CurrentUser::CurrentUser->access_users_hashref('table' => 'cust_pkg_discount');
49
50 </%init>