projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3dff65c
)
FCC 477 report: omit zero values in part 1A matrix, #24773
author
Mark Wells
<mark@freeside.biz>
Wed, 11 Sep 2013 22:12:16 +0000
(15:12 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 11 Sep 2013 22:12:16 +0000
(15:12 -0700)
httemplate/search/477partIA.html
patch
|
blob
|
history
diff --git
a/httemplate/search/477partIA.html
b/httemplate/search/477partIA.html
index
5ee44da
..
6b4bffd
100755
(executable)
--- 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...
% 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" %>>
<<% $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" %>>
<<% $el %>><% $cell->[1] %><<% "/$el" %>>
+% }
% }
% $row++;
% } # foreach $cell
% }
% $row++;
% } # foreach $cell
@@
-57,9
+59,11
@@
</TD>
% for (my $col = 0; $col < scalar(@download_option); $col++) {
<TD>
</TD>
% for (my $col = 0; $col < scalar(@download_option); $col++) {
<TD>
+% if ( $data[$col][$row][0] > 0 ) {
<% $data[$col][$row][0] %>
<% $data[$col][$row][0] %>
-% if ( $percentages ) {
+%
if ( $percentages ) {
<BR><% $data[$col][$row][1] %>
<BR><% $data[$col][$row][1] %>
+% }
% }
</TD>
% } # for $col
% }
</TD>
% } # for $col