1 <% include('/elements/header.html', 'Invoice Report' ) %>
3 <FORM ACTION="cust_bill.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0
8 <% include( '/elements/tr-select-agent.html',
9 'curr_value' => scalar( $cgi->param('agentnum') ),
10 'label' => 'Invoices for agent: ',
13 <% include( '/elements/tr-input-beginning_ending.html' ) %>
15 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD>
16 <TD>Show only open invoices</TD>
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>
25 <INPUT TYPE="submit" VALUE="Get Report">
29 <% include('/elements/footer.html') %>
33 unless $FS::CurrentUser::CurrentUser->access_right('List invoices');