Invoice report criteria

<%= include( '/elements/tr-select-agent.html', $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