1 <% include('/elements/header.html', 'Invoice report criteria' ) %>
3 <FORM ACTION="cust_bill.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
7 <% include( '/elements/tr-select-agent.html',
8 'curr_value' => scalar( $cgi->param('agentnum') ),
9 'label' => 'Invoices for agent: ',
12 <% include( '/elements/tr-input-beginning_ending.html' ) %>
14 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD>
15 <TD>Show only open invoices</TD>
18 <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="newest_percust" VALUE="1"></TD>
19 <TD>Show only the single most recent invoice per-customer</TD>
24 <INPUT TYPE="submit" VALUE="Get Report">
28 <% include('/elements/footer.html') %>
32 unless $FS::CurrentUser::CurrentUser->access_right('List invoices');