missed file for 477 reporting
[freeside.git] / httemplate / search / report_477.html
1 <% include('/elements/header.html', 'FCC Form 477 Report' ) %>
2
3 <FORM ACTION="477.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="bill">
5 <INPUT TYPE="hidden" NAME="status" VALUE="active">
6
7   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
8
9     <TR>
10       <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
11         <FONT SIZE="+1">Search options</FONT>
12       </TH>
13     </TR>
14
15     <% include( '/elements/tr-select-agent.html',
16                    'curr_value'    => scalar( $cgi->param('agentnum') ),
17                    'disable_empty' => 0,
18                )
19     %>
20
21     <% include( '/elements/tr-select-pkg_class.html',
22                    'pre_options' => [ '0' => 'all' ],
23                    'empty_label' => '(empty class)',
24                )
25     %>
26
27 %   if ( scalar( qsearch( 'part_pkg_report_option', { 'disabled' => '' } ) ) ) {
28
29     <% include( '/elements/tr-select-table.html',
30                    'label'        => 'Report classes',
31                    'table'        => 'part_pkg_report_option',
32                    'name_col'     => 'name',
33                    'hashref'      => { 'disabled' => '' },
34                    'element_name' => 'report_option',
35                    'multiple'     => 'multiple',
36                )
37     %>
38
39 %   }
40
41   </TABLE>
42
43 <BR>
44 <INPUT TYPE="submit" VALUE="Get Report">
45
46 </FORM>
47
48 <% include('/elements/footer.html') %>
49 <%init>
50
51 die "access denied"
52   unless $FS::CurrentUser::CurrentUser->access_right('List packages');
53
54 </%init>