add a useful debugging tool
[freeside.git] / httemplate / search / report_cust_event.html
1 <% include(
2       '/elements/header.html',
3       ( $cgi->param('failed') ? 'Failed billing events' : 'Billing events' ),
4    )
5 %>
6
7     <FORM ACTION="cust_event.html" METHOD="GET">
8     <INPUT TYPE="hidden" NAME="failed" VALUE="<% $cgi->param('failed') ? 1 : 0 %>">
9     <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
10
11       <TR>
12         <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
13       </TR>
14
15       <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
16
17       <% include( '/elements/tr-select-cust_main-status.html',
18                     'label' => 'Status'
19                 )
20       %>
21
22       <% include( '/elements/tr-select-part_event.html',
23                     'label'        => 'Events',
24                     'multiple'     => 1,
25                     'all_selected' => 1,
26                 )
27       %>
28
29       <% include( '/elements/tr-input-beginning_ending.html' ) %>
30
31     </TABLE>
32     <BR><INPUT TYPE="submit" VALUE="Get Report">
33     </FORM>
34
35 <% include('/elements/footer.html') %>
36 <%init>
37
38 die "access denied"
39   unless $FS::CurrentUser::CurrentUser->access_right('Billing event reports');
40
41 </%init>