summaryrefslogtreecommitdiff
path: root/httemplate/search/report_access_user_log.html
blob: 209adfa8a9a9d6a0a21b2f4563c96aa687129dde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<& /elements/header.html, 'Access log' &>

<FORM ACTION="access_user_log.html" METHOD="GET">

<INPUT TYPE="hidden" NAME="group_by" VALUE="<% $group_by %>">

  <FONT CLASS="fsinnerbox-title"><% emt('Search options') %></FONT>
  <TABLE CLASS="fsinnerbox">

  <& /elements/tr-input-beginning_ending.html &>

  <& /elements/tr-select-user.html &>

  <& /elements/tr-checkbox.html,
       label => 'Omit components',
       field => 'skip_components',
       value => 'Y',
  &>

</TABLE>

<BR>
<INPUT TYPE="submit" VALUE="Get Report">

</FORM>

<& /elements/footer.html &>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Employee Reports');

my $group_by = '';
if ( $cgi->param('group_by') =~ /^(\w+)$/ ) {
  $group_by = $1;
}

</%init>