[freeside-commits] branch master updated. b71d8ac92ca51e921fdf9b8ea621904d3d9b3597

Mark Wells mark at 420.am
Wed Sep 11 15:12:56 PDT 2013


The branch, master has been updated
       via  b71d8ac92ca51e921fdf9b8ea621904d3d9b3597 (commit)
      from  3dff65c08ed16024f5fd5f55d23551f485ced164 (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 b71d8ac92ca51e921fdf9b8ea621904d3d9b3597
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Sep 11 15:12:16 2013 -0700

    FCC 477 report: omit zero values in part 1A matrix, #24773

diff --git a/httemplate/search/477partIA.html b/httemplate/search/477partIA.html
index 5ee44da..6b4bffd 100755
--- a/httemplate/search/477partIA.html
+++ b/httemplate/search/477partIA.html
@@ -10,10 +10,12 @@
 %     my $row = 1;
 %     foreach my $cell ( @$col_data ) {
 %       my $el = $xml_prefix . $col . $row; # PartIA_Af1, PartIA_Af2...
+%       if ( $cell->[0] > 0 ) {
   <<% $el %>><% $cell->[0] %><<% "/$el" %>>
-%       if ( $percentages ) {
-%         $el = $xml_percent . $col . $row; # Part_p_IA_Af1, ...
+%         if ( $percentages ) {
+%           $el = $xml_percent . $col . $row; # Part_p_IA_Af1, ...
   <<% $el %>><% $cell->[1] %><<% "/$el" %>>
+%         }
 %       }
 %       $row++;
 %     } # foreach $cell
@@ -57,9 +59,11 @@
     </TD>
 %   for (my $col = 0; $col < scalar(@download_option); $col++) {
     <TD>
+%     if ( $data[$col][$row][0] > 0 ) {
       <% $data[$col][$row][0] %>
-%     if ( $percentages ) {
+%       if ( $percentages ) {
       <BR><% $data[$col][$row][1] %>
+%       }
 %     }
     </TD>
 %   } # for $col

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

Summary of changes:
 httemplate/search/477partIA.html |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list