summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-02-15 00:13:33 -0800
committerMark Wells <mark@freeside.biz>2013-02-15 00:13:33 -0800
commit8b590098fbd78765f97d44f5500a967b4afdbbe1 (patch)
tree4874df0b4f61e9b92c2b128bafb08d78380cc947 /httemplate/search
parent6a0458ad05422b664918b0c7a18b456c022909ba (diff)
remember 477 report part 5 selection, #13057
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/477.html5
-rwxr-xr-xhttemplate/search/477partV.html4
-rwxr-xr-xhttemplate/search/report_477.html4
3 files changed, 10 insertions, 3 deletions
diff --git a/httemplate/search/477.html b/httemplate/search/477.html
index 6f5fcdf3b..04764c1da 100755
--- a/httemplate/search/477.html
+++ b/httemplate/search/477.html
@@ -97,6 +97,11 @@ for(my $i=0; $i < scalar(@part2b_row_option); $i++) {
&FS::Report::FCC_477::save_fcc477map("part2b_row_option_$i",$part2b_row_option[$i]);
}
+my $part5_report_option = $cgi->param('part5_report_option');
+if ( $part5_report_option ) {
+ FS::Report::FCC_477::save_fcc477map('part5_report_option', $part5_report_option);
+}
+
my $url_mangler = sub {
my $part = shift;
my $url = $cgi->url('-path_info' => 1, '-full' => 1);
diff --git a/httemplate/search/477partV.html b/httemplate/search/477partV.html
index f83a7a0cb..2106a44d6 100755
--- a/httemplate/search/477partV.html
+++ b/httemplate/search/477partV.html
@@ -32,8 +32,8 @@ for ( qw(agentnum magic state) ) {
}
$search_hash{'country'} = 'US';
$search_hash{'classnum'} = [ $cgi->param('classnum') ];
-$search_hash{report_option} = $cgi->param('partv_report_option')
- if $cgi->param('partv_report_option');
+$search_hash{report_option} = $cgi->param('part5_report_option')
+ if $cgi->param('part5_report_option');
my $sql_query = FS::cust_pkg->search( { %search_hash,
'fcc_line' => 1,
diff --git a/httemplate/search/report_477.html b/httemplate/search/report_477.html
index f593a94d8..b842b1f3f 100755
--- a/httemplate/search/report_477.html
+++ b/httemplate/search/report_477.html
@@ -231,7 +231,9 @@
'table' => 'part_pkg_report_option',
'name_col' => 'name',
'hashref' => { 'disabled' => '' },
- 'element_name' => 'partv_report_option',
+ 'element_name' => 'part5_report_option',
+ 'curr_value' =>
+ FS::Report::FCC_477::restore_fcc477map("part5_report_option"),
)
%>
</TD>