RT#38217: Send email when logging conditions are met [removed unwanted log levels...
[freeside.git] / httemplate / search / report_cust_credit_void.html
1 <& /elements/header.html, mt($title) &>
2
3 <FORM ACTION="cust_credit_void.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
5
6 <TABLE>
7
8   <& /elements/tr-select-user.html,
9                 'label'       => emt('Credit voids by employee: '),
10                 'access_user' => $access_user,
11   &>
12
13   <& /elements/tr-select-agent.html,
14                  'curr_value'    => scalar( $cgi->param('agentnum') ),
15                  'label'         => emt('for agent: '),
16                  'disable_empty' => 0,
17   &>
18
19   <& /elements/tr-input-beginning_ending.html &>
20
21   <& /elements/tr-input-lessthan_greaterthan.html,
22                 'label' => emt('Amount'),
23                 'field' => 'amount',
24   &>
25
26 </TABLE>
27
28 <BR>
29 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
30
31 </FORM>
32
33 <& /elements/footer.html &>
34
35 <%init>
36
37 die "access denied"
38   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
39
40 my $access_user = $FS::CurrentUser::CurrentUser->access_users_hashref('table' => 'cust_credit_void', 'disabled' => 1);
41
42 my $title = 'Voided credit report';
43
44 </%init>