lost bits of reason
[freeside.git] / httemplate / search / report_cust_bill.html
1 <% include('/elements/header.html', 'Invoice Report' ) %>
2
3 <FORM ACTION="cust_bill.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
5
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0
7
8   <% include( '/elements/tr-select-agent.html',
9                  'curr_value' => scalar( $cgi->param('agentnum') ),
10                  'label'      => 'Invoices for agent: ',
11              )
12   %>
13   <% include( '/elements/tr-input-beginning_ending.html' ) %>
14   <TR>
15     <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD>
16     <TD>Show only open invoices</TD>
17   </TR>
18   <TR>
19     <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="newest_percust" VALUE="1"></TD>
20     <TD>Show only the single most recent invoice per-customer</TD>
21   </TR>
22 </TABLE>
23
24 <BR>
25 <INPUT TYPE="submit" VALUE="Get Report">
26
27 </FORM>
28
29 <% include('/elements/footer.html') %>
30 <%init>
31
32 die "access denied"
33   unless $FS::CurrentUser::CurrentUser->access_right('List invoices');
34
35 </%init>