2 '/elements/header.html',
3 ( $cgi->param('failed') ? 'Failed billing events' : 'Billing events' ),
7 <FORM ACTION="cust_event.html" METHOD="GET">
8 <INPUT TYPE="hidden" NAME="failed" VALUE="<% $cgi->param('failed') ? 1 : 0 %>">
11 <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
14 <TD ALIGN="right">Customer type</TD>
15 <TD><SELECT MULTIPLE NAME="perhaps_payby">
16 <OPTION SELECTED VALUE="CARD">Credit card (automatic)
17 <OPTION SELECTED VALUE="CHEK">E-check (automatic)
18 <OPTION SELECTED VALUE="LECB">Phone bill billing
19 <OPTION SELECTED VALUE="BILL">Billing
20 <OPTION SELECTED VALUE="DCRD">Credit card (on-demand)
21 <OPTION SELECTED VALUE="DCHK">E-check (on-demand)
25 <% include( '/elements/tr-input-beginning_ending.html' ) %>
28 <TD ALIGN="right">Events: </TD>
30 <SELECT NAME="eventpart">
31 <OPTION SELECTED VALUE=""><% $cgi->param('failed') ? '(all failed events)' : '(all events)' %>
32 % #foreach my $part_bill_event ( qsearch( 'part_bill_event', {} ) ) {
40 <TD ALIGN="right">Events for payment type: </TD>
42 <SELECT NAME="part_bill_event.payby">
43 <OPTION SELECTED VALUE="">(all)
44 <OPTION VALUE="CARD">Credit card (automatic)
45 <OPTION VALUE="BILL">Billing
46 <OPTION VALUE="CHEK">Electronic check (automatic)
47 <OPTION VALUE="DCRD">Credit card (on-demand)
48 <OPTION VALUE="DCHK">Electronic check (on-demand)
49 <OPTION VALUE="LECB">Phone bill billing
50 <OPTION VALUE="COMP">Complimentary
56 <BR><INPUT TYPE="submit" VALUE="Get Report">
59 <% include('/elements/footer.html') %>
63 unless $FS::CurrentUser::CurrentUser->access_right('Billing event reports');