summaryrefslogtreecommitdiff
path: root/httemplate/search/report_477.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-04-25 04:00:03 +0000
committerlevinse <levinse>2011-04-25 04:00:03 +0000
commit1d15c6930650f2cceb13f7ae9da4acea5213643f (patch)
treedbd34e86992b610d658eb336f7b84195bac66853 /httemplate/search/report_477.html
parent6dcdca7cc0f9bcda9b8f1217114c28c2894386a5 (diff)
FCC form 477 report improvements, RT12089
Diffstat (limited to 'httemplate/search/report_477.html')
-rwxr-xr-xhttemplate/search/report_477.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/httemplate/search/report_477.html b/httemplate/search/report_477.html
index 7ac497a11..d34fb8f96 100755
--- a/httemplate/search/report_477.html
+++ b/httemplate/search/report_477.html
@@ -18,7 +18,7 @@
%>
<% include( '/elements/tr-select-pkg_class.html',
- 'pre_options' => [ '0' => 'all' ],
+ 'multiple' => 1,
'empty_label' => '(empty class)',
)
%>
@@ -46,6 +46,7 @@
<TR id='partIA' style="display:none"><TD>Part IA</TD><TD><TABLE>
<TR><TD>Download speeds</TD><TD>
<TABLE>
+% my $i = 0;
% foreach my $speed ( @FS::Report::FCC_477::download ) {
<TR>
<TH><% $speed %></TH>
@@ -56,14 +57,18 @@
'hashref' => { 'disabled' => '' },
'element_name' => 'part1_column_option',
'disable_empty' => 1,
+ 'curr_value' =>
+ FS::Report::FCC_477::restore_fcc477map("part1_column_option_$i"),
)
%>
</TD>
</TR>
+% $i++
% }
</TABLE></TD>
<TD>Upload speeds</TD><TD>
<TABLE>
+% $i = 0;
% foreach my $speed ( @FS::Report::FCC_477::upload ) {
<TR>
<TH><% $speed %></TH>
@@ -74,15 +79,18 @@
'hashref' => { 'disabled' => '' },
'element_name' => 'part1_row_option',
'disable_empty' => 1,
+ 'curr_value' =>
+ FS::Report::FCC_477::restore_fcc477map("part1_row_option_$i"),
)
%>
</TD>
</TR>
+% $i++
% }
</TABLE></TD></TR>
<TR><TD>Technologies</TD><TD>
<TABLE>
-% my $i = 0;
+% $i = 0;
% foreach my $tech ( @FS::Report::FCC_477::technology ) {
<TR>
<TH><% $tech %></TH>
@@ -93,6 +101,8 @@
'hashref' => { 'disabled' => '' },
'element_name' => "part1_technology_option_$i",
'empty_label' => '(omit)',
+ 'curr_value' =>
+ FS::Report::FCC_477::restore_fcc477map("part1_technology_option_$i"),
)
%>
</TD>