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: ',
14 <% include( '/elements/tr-input-beginning_ending.html' ) %>
16 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD>
17 <TD>Show only open invoices</TD>
20 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="newest_percust" VALUE="1"></TD>
21 <TD>Show only the single most recent invoice per-customer</TD>
26 <INPUT TYPE="submit" VALUE="Get Report">
30 <% include('/elements/footer.html') %>
34 unless $FS::CurrentUser::CurrentUser->access_right('List invoices');