<% include('/elements/header.html', 'Invoice report criteria' ) %>
<% include( '/elements/tr-select-agent.html', 'curr_value' => scalar( $cgi->param('agentnum') ), 'label' => 'Invoices for agent: ', ) %> <% include( '/elements/tr-input-beginning_ending.html' ) %>
Show only open invoices
Show only the single most recent invoice per-customer

<% include('/elements/footer.html') %> <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('List invoices');