enable CardFortress in test database, #71513
[freeside.git] / httemplate / search / report_employee_audit.html
1 <% include('/elements/header.html', 'Employee audit report' ) %>
2
3 <FORM ACTION="employee_audit.html" METHOD="GET">
4     <TABLE>
5         <% include( '/elements/tr-select-user.html' ) %>
6         <% include( '/elements/tr-input-beginning_ending.html', ) %>
7
8         <% include( '/elements/tr-td-label.html', label => 'Include:' ) %>
9         <TD>
10             <% map { include('/elements/checkbox.html', 
11                                 field => $_, id => $_, postfix => $tables{$_} )
12                         . "<BR>"
13                    } keys(%tables)
14             %>
15         </TD>
16         </TR>
17
18     </TABLE>
19 <INPUT TYPE="submit" VALUE="Get Report">
20 </FORM>
21
22 <% include('/elements/footer.html') %>
23 <%init>
24
25 die "access denied"
26   unless $FS::CurrentUser::CurrentUser->access_right('Employees: Audit Report');
27
28 my %tables = (
29     cust_pay        => 'Payments',
30     cust_refund     => 'Refunds',
31     cust_credit     => 'Credits',
32     cust_bill       => 'Invoices',
33     cust_main       => 'Customers',
34     cust_pkg        => 'Packages',
35     cust_main_invoice => 'Customer invoice destinations',
36     cust_pkg_discount => 'Discount applications',
37 );
38
39 </%init>