new ACL name in 1.9 right away
[freeside.git] / httemplate / search / cust_bill_event.html
1 <% include(
2       '/elements/header.html',
3       ( $cgi->param('failed') ? 'Failed invoice events' : 'Invoice events' ),
4    )
5 %>
6
7     <FONT SIZE="+1">Invoice events are the deprecated, old-style actions taken
8     on open invoices.  See Reports-&gt;Billing events-&gt;Billing events for current event reports.</FONT><BR><BR>
9
10     <FORM ACTION="cust_bill_event.cgi" METHOD="GET">
11     <INPUT TYPE="hidden" NAME="failed" VALUE="<% $cgi->param('failed') ? 1 : 0 %>">
12     <TABLE>
13
14       <% include( '/elements/tr-select-agent.html' ) %>
15
16       <!--<TR>
17         <TD ALIGN="right">Customer type</TD>
18         <TD><SELECT MULTIPLE NAME="perhaps_payby">
19           <OPTION SELECTED VALUE="CARD">Credit card (automatic)
20           <OPTION SELECTED VALUE="CHEK">E-check (automatic)
21           <OPTION SELECTED VALUE="LECB">Phone bill billing
22           <OPTION SELECTED VALUE="BILL">Billing
23           <OPTION SELECTED VALUE="DCRD">Credit card (on-demand)
24           <OPTION SELECTED VALUE="DCHK">E-check (on-demand)
25         </TD>
26       </TR>
27       -->
28       <% include( '/elements/tr-input-beginning_ending.html' ) %>
29       <!--
30       <TR>
31         <TD ALIGN="right">Events: </TD>
32         <TD>
33           <SELECT NAME="eventpart">
34             <OPTION SELECTED VALUE=""><% $cgi->param('failed') ? '(all failed events)' : '(all events)' %>
35 % #foreach my $part_bill_event ( qsearch( 'part_bill_event', {} ) ) { 
36 % #} 
37
38           </SELECT>
39         </TD>
40       </TR>
41       -->
42       <TR>
43         <TD ALIGN="right">Events for payment type: </TD>
44         <TD>
45           <SELECT NAME="part_bill_event.payby">
46             <OPTION SELECTED VALUE="">(all)
47             <OPTION VALUE="CARD">Credit card (automatic)
48             <OPTION VALUE="BILL">Billing
49             <OPTION VALUE="CHEK">Electronic check (automatic)
50             <OPTION VALUE="DCRD">Credit card (on-demand)
51             <OPTION VALUE="DCHK">Electronic check (on-demand)
52             <OPTION VALUE="LECB">Phone bill billing
53             <OPTION VALUE="COMP">Complimentary
54           </SELECT>
55         </TD>
56       </TR>
57     </TABLE>
58     <BR><INPUT TYPE="submit" VALUE="Get Report">
59     </FORM>
60
61 <% include('/elements/footer.html') %>
62 <%init>
63
64 die "access denied"
65   unless $FS::CurrentUser::CurrentUser->access_right('Billing event reports');
66
67 </%init>