1 <& /elements/header.html, mt($title) &>
3 <FORM ACTION="sqlradius_usage.html" METHOD="GET">
5 <TABLE BGCOLOR="#cccccc" CELLSPACING=0
7 <& /elements/tr-select-agent.html,
8 'empty_label' => 'all',
11 % my @exporttypes = map { "'$_'" } qw(sqlradius broadband_sqlradius);
12 <& /elements/tr-select-table.html,
14 'table' => 'part_export',
15 'name_col' => 'label',
17 'extra_sql' => ' WHERE exporttype IN('.join(',', @exporttypes).')',
19 'order_by' => 'ORDER BY exportnum',
22 <& /elements/tr-input-beginning_ending.html &>
27 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
31 <& /elements/footer.html &>
35 unless $FS::CurrentUser::CurrentUser->access_right('Usage: RADIUS sessions');
38 my $title = 'Data Usage Report';