summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_event.html
blob: e63b6375d139e4a1c4382c31e93a918f782d7fd9 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<% 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>

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

      <!--<TR>
        <TD ALIGN="right">Customer type</TD>
        <TD><SELECT MULTIPLE NAME="perhaps_payby">
          <OPTION SELECTED VALUE="CARD">Credit card (automatic)
          <OPTION SELECTED VALUE="CHEK">E-check (automatic)
          <OPTION SELECTED VALUE="LECB">Phone bill billing
          <OPTION SELECTED VALUE="BILL">Billing
          <OPTION SELECTED VALUE="DCRD">Credit card (on-demand)
          <OPTION SELECTED VALUE="DCHK">E-check (on-demand)
        </TD>
      </TR>
      -->
      <% include( '/elements/tr-input-beginning_ending.html' ) %>
      <!--
      <TR>
        <TD ALIGN="right">Events: </TD>
        <TD>
          <SELECT NAME="eventpart">
            <OPTION SELECTED VALUE=""><% $cgi->param('failed') ? '(all failed events)' : '(all events)' %>
% #foreach my $part_bill_event ( qsearch( 'part_bill_event', {} ) ) { 
% #} 

          </SELECT>
        </TD>
      </TR>
      -->
<!--      <TR>
        <TD ALIGN="right">Events for payment type: </TD>
        <TD>
          <SELECT NAME="part_bill_event.payby">
            <OPTION SELECTED VALUE="">(all)
            <OPTION VALUE="CARD">Credit card (automatic)
            <OPTION VALUE="BILL">Billing
            <OPTION VALUE="CHEK">Electronic check (automatic)
            <OPTION VALUE="DCRD">Credit card (on-demand)
            <OPTION VALUE="DCHK">Electronic check (on-demand)
            <OPTION VALUE="LECB">Phone bill billing
            <OPTION VALUE="COMP">Complimentary
          </SELECT>
        </TD>
      </TR>
-->
    </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>