add customer status column to customer & most other reports. also put the C in ACL...
[freeside.git] / httemplate / search / sqlradius.html
1 <% include( '/elements/header.html', 'Search RADIUS sessions' ) %>
2
3 <FORM NAME="OneTrueForm" ACTION="sqlradius.cgi" METHOD="GET">
4 % #include( '/elements/table.html' ) 
5
6 <% ntable('#cccccc') %>
7 <TR>
8   <TD ALIGN="right">Username: </TD>
9   <TD><INPUT TYPE="text" NAME="username"></TD>
10 </TR>
11 <TR>
12   <TD></TD>
13   <TD><FONT SIZE="-1"><I>(leave blank to show all users)</I></FONT></TD>
14 </TR>
15 % my @part_export = qsearch( 'part_export', { 'exporttype' => 'sqlradius' } );
16 %   push @part_export,
17 %     qsearch( 'part_export', { 'exporttype' => 'sqlradius_withdomain' } );
18 %
19 % if ( grep { ! $_->option('hide_ip') } @part_export ) { 
20
21   <TR>
22     <TD ALIGN="right">IP address: </TD>
23     <TD><INPUT TYPE="text" NAME="ip"></TD>
24   </TR>
25   <TR>
26     <TD></TD>
27     <TD><FONT SIZE="-1"><I>(leave blank to show all IPs)</I></FONT></TD>
28   </TR>
29 % } 
30 % if ( grep { $_->option('show_called_station') } @part_export ) { 
31
32   <TR>
33     <TD ALIGN="right">Destination prefix:</TD>
34     <TD><INPUT TYPE="text" NAME="prefix"></TD>
35   </TR>
36   <TR>
37     <TD></TD>
38     <TD><FONT SIZE="-1"><I>(country code or country code and prefix)</I></FONT></TD>
39   </TR>
40   <TR>
41     <TD></TD>
42     <TD><FONT SIZE="-1"><I>(leave blank to show all destinations)</I></FONT></TD>
43   </TR>
44 % } 
45
46
47 <% include( '/elements/tr-input-beginning_ending.html', 'input_time'=>1 ) %>
48
49 </TABLE>
50 <BR><INPUT TYPE="submit" VALUE="View sessions">
51 </FORM>
52
53 <% include('/elements/footer.html') %>
54 <%init>
55
56 die "access denied"
57   unless $FS::CurrentUser::CurrentUser->access_right('List rating data');
58
59 </%init>