projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f596579
)
bug fix: all Excel reports using bottom_total option had total row off by one, RT10911
author
levinse
<levinse>
Fri, 21 Jan 2011 01:11:05 +0000
(
01:11
+0000)
committer
levinse
<levinse>
Fri, 21 Jan 2011 01:11:05 +0000
(
01:11
+0000)
httemplate/graph/elements/report.html
patch
|
blob
|
history
diff --git
a/httemplate/graph/elements/report.html
b/httemplate/graph/elements/report.html
index
2a5a142
..
2be511a
100644
(file)
--- a/
httemplate/graph/elements/report.html
+++ b/
httemplate/graph/elements/report.html
@@
-105,11
+105,11
@@
any delimiter and linked from the elements in @data.
% $worksheet->write( $r, $c++, shift( @row_labels ) );
% foreach ( @{ shift( @data ) } ) {
% $total += $_;
-% $bottom_total[$c] += $_;
+% $bottom_total[$c
-1
] += $_;
% $worksheet->write($r, $c++, sprintf($sprintf, $_) );
% }
% unless ( $opt{'nototal'} ) {
-% $bottom_total[$c] += $total;
+% $bottom_total[$c
-1
] += $total;
% $worksheet->write($r, $c++, sprintf($sprintf, $total) );
% }
% }