<% include('/elements/header.html', 'Employee audit report' ) %>
<% include( '/elements/tr-select-user.html' ) %> <% include( '/elements/tr-input-beginning_ending.html', ) %> <% include( '/elements/tr-td-label.html', label => 'Include:' ) %>
<% map { include('/elements/checkbox.html', field => $_, id => $_, postfix => $tables{$_} ) . "
" } keys(%tables) %>
<% include('/elements/footer.html') %> <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Employee Reports'); my %tables = ( cust_pay => 'Payments', cust_refund => 'Refunds', cust_credit => 'Credits', cust_bill => 'Invoices', cust_main => 'Customers', cust_pkg => 'Packages', cust_main_invoice => 'Customer invoice destinations', cust_pkg_discount => 'Discount applications', );