1 <% include('/elements/header.html', 'FCC Form 477 Report' ) %>
3 <FORM ACTION="477.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="active">
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
9 <TH CLASS="background" COLSPAN=2 ALIGN="left">
10 <FONT SIZE="+1">Search options</FONT>
14 <% include( '/elements/tr-select-agent.html',
15 'curr_value' => scalar( $cgi->param('agentnum') ),
20 <% include( '/elements/tr-select-pkg_class.html',
21 'pre_options' => [ '0' => 'all' ],
22 'empty_label' => '(empty class)',
26 <SCRIPT type="text/javascript">
27 function partchange(what) {
28 var id = 'part' + what.value;
29 var element = document.getElementById(id);
31 element.style.display = '';
33 element.style.display = 'none';
38 <% include( '/elements/tr-checkbox.html',
39 'label' => 'Enable part IA?',
42 'onchange' => 'partchange(this)',
46 <TR id='partIA' style="display:none"><TD>Part IA</TD><TD><TABLE>
47 <TR><TD>Download speeds</TD><TD>
49 % foreach my $speed ( @FS::Report::FCC_477::download ) {
53 <% include( '/elements/select-table.html',
54 'table' => 'part_pkg_report_option',
56 'hashref' => { 'disabled' => '' },
57 'element_name' => 'part1_column_option',
65 <TD>Upload speeds</TD><TD>
67 % foreach my $speed ( @FS::Report::FCC_477::upload ) {
71 <% include( '/elements/select-table.html',
72 'table' => 'part_pkg_report_option',
74 'hashref' => { 'disabled' => '' },
75 'element_name' => 'part1_row_option',
83 <TR><TD>Technologies</TD><TD>
86 % foreach my $tech ( @FS::Report::FCC_477::technology ) {
90 <% include( '/elements/select-table.html',
91 'table' => 'part_pkg_report_option',
93 'hashref' => { 'disabled' => '' },
94 'element_name' => "part1_technology_option_$i",
95 'empty_label' => '(omit)',
105 <% include( '/elements/tr-checkbox.html',
106 'label' => 'Enable part IIA?',
109 'onchange' => 'partchange(this)',
113 <TR id='partIIA' style="display:none"><TD>Part IIA</TD><TD><TABLE>
114 % foreach my $option ( @FS::Report::FCC_477::part2aoption ) {
116 <TH><% $option %></TH>
118 <% include( '/elements/select-table.html',
119 'table' => 'part_pkg_report_option',
120 'name_col' => 'name',
121 'hashref' => { 'disabled' => '' },
122 'element_name' => 'part2a_row_option',
130 <% include( '/elements/tr-checkbox.html',
131 'label' => 'Enable part IIB?',
134 'onchange' => 'partchange(this)',
138 <TR id='partIIB' style="display:none"><TD>Part IIB</TD><TD><TABLE>
139 % foreach my $option ( @FS::Report::FCC_477::part2boption ) {
141 <TH><% $option %></TH>
143 <% include( '/elements/select-table.html',
144 'table' => 'part_pkg_report_option',
145 'name_col' => 'name',
146 'hashref' => { 'disabled' => '' },
147 'element_name' => 'part2b_row_option',
155 <% include( '/elements/tr-checkbox.html',
156 'label' => 'Enable part IV?',
159 'onchange' => 'partchange(this)',
163 <TR id='partIV' style="display:none"><TD>Part IV</TD><TD><TABLE>
164 <% include( '/elements/tr-textarea.html',
165 'label' => 'Explanatory notes',
174 <% include( '/elements/tr-checkbox.html',
175 'label' => 'Enable part V?',
181 <% include( '/elements/tr-checkbox.html',
182 'label' => 'Enable part VI?',
191 <INPUT TYPE="submit" VALUE="Get Report">
195 <% include('/elements/footer.html') %>
199 unless $FS::CurrentUser::CurrentUser->access_right('List packages');