<% include('/elements/header.html', 'Daily Sales, Credits and Receipts Summary' ) %>
<& /elements/tr-input-beginning_ending.html, 'datesrequired' => 1, 'from' => $from, 'to' => time, &> <% include('/elements/tr-select-agent.html', 'label' => 'For agent: ', 'disable_empty' => 0, ) %> <& /elements/tr-select-cust_class.html, 'field' => 'cust_classnum', 'multiple' => 1, &>
<& /elements/checkbox.html, field => 'exclude_discount', value => 1, curr_value => 0, &> <% emt('Exclude discounts from total sales') %>

<% include('/elements/footer.html') %> <%init> my $from = time - 30*86400; die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');