summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_event.html
blob: e0d6242b2f23983791363f2e745ddccad1295f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<% include(
      '/elements/header.html',
      ( $cgi->param('failed') ? 'Failed billing events' : 'Billing events' ),
   )
%>

    <FORM ACTION="cust_event.html" METHOD="GET">
    <INPUT TYPE="hidden" NAME="failed" VALUE="<% $cgi->param('failed') ? 1 : 0 %>">
    <TABLE BGCOLOR="#cccccc" CELLSPACING=0>

      <TR>
        <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
      </TR>

      <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>

      <% include( '/elements/tr-select-cust_main-status.html',
                    'label' => 'Status'
                )
      %>

      <% include( '/elements/tr-select-payby.html',
                    'label'        => 'Customer payment type',
                    'payby_type'   => 'cust',
                    'multiple'     => 1,
                    'all_selected' => 1,
                )
      %>

      <% include( '/elements/tr-select-part_event.html',
                    'label'        => 'Events',
                    'multiple'     => 1,
                    'all_selected' => 1,
                )
      %>

      <% include( '/elements/tr-input-beginning_ending.html' ) %>

    </TABLE>
    <BR><INPUT TYPE="submit" VALUE="Get Report">
    </FORM>

<% include('/elements/footer.html') %>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Billing event reports');

</%init>