summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-09-11 15:11:45 -0700
committerMark Wells <mark@freeside.biz>2013-09-11 15:11:45 -0700
commit65528be08856f34d74b09e3448fbb2eb756c9a13 (patch)
tree1c4e7398a888c65a4d6a438101a458694cb6f105
parent6ebb1fc69db49b6aaafd28b15db3a5aab07b1ac0 (diff)
FCC 477 report: omit zero values in part 1A matrix, #24773
-rwxr-xr-xhttemplate/search/477partIA.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/httemplate/search/477partIA.html b/httemplate/search/477partIA.html
index 5ee44dad5..6b4bffd41 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