projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r10640,
[freeside.git]
/
httemplate
/
graph
/
elements
/
report.html
diff --git
a/httemplate/graph/elements/report.html
b/httemplate/graph/elements/report.html
index
e24c663
..
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 += $_;
% $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'} ) {
% $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) );
% }
% }
% $worksheet->write($r, $c++, sprintf($sprintf, $total) );
% }
% }
@@
-163,9
+163,11
@@
any delimiter and linked from the elements in @data.
% } else {
%
<% include('/elements/header.html', $opt{'title'} ) %>
% } else {
%
<% include('/elements/header.html', $opt{'title'} ) %>
+% unless ( $opt{'graph_type'} eq 'none' ) {
% $cgi->param('_type', 'png');
<IMG SRC="<% $cgi->self_url %>" WIDTH="976" HEIGHT="384">
% $cgi->param('_type', 'png');
<IMG SRC="<% $cgi->self_url %>" WIDTH="976" HEIGHT="384">
+% }
<P ALIGN="right">
% unless ( $opt{'disable_download'} ) {
<P ALIGN="right">
% unless ( $opt{'disable_download'} ) {
@@
-178,7
+180,7
@@
any delimiter and linked from the elements in @data.
% }
%
</P>
% }
%
</P>
-<% include('/elements/table.html', '
e8e8e
8') %>
+<% include('/elements/table.html', '
f8f8f
8') %>
<TR>
<TR>