Invoice report criteria
for agent:
all
<% foreach my $agent ( qsearch('agent', { disabled=>'' } ) ) { %>
param('agentnum') == $agent->agentnum ? ' SELECTED' : '' %>><%= $agent->agent %> <% } %>
From:
m/d/y
To:
m/d/y
Show only open invoices
Show only the single most recent invoice per-customer