[freeside-commits] branch master updated. 8b590098fbd78765f97d44f5500a967b4afdbbe1

Mark Wells mark at 420.am
Fri Feb 15 00:13:55 PST 2013


The branch, master has been updated
       via  8b590098fbd78765f97d44f5500a967b4afdbbe1 (commit)
      from  6a0458ad05422b664918b0c7a18b456c022909ba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8b590098fbd78765f97d44f5500a967b4afdbbe1
Author: Mark Wells <mark at freeside.biz>
Date:   Fri Feb 15 00:13:33 2013 -0800

    remember 477 report part 5 selection, #13057

diff --git a/httemplate/search/477.html b/httemplate/search/477.html
index 6f5fcdf..04764c1 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 f83a7a0..2106a44 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 f593a94..b842b1f 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>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/477.html        |    5 +++++
 httemplate/search/477partV.html   |    4 ++--
 httemplate/search/report_477.html |    4 +++-
 3 files changed, 10 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list