From 9d2a3fb618badbef4abf472dc9bc68b8590f04b6 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 15 Apr 2006 13:32:27 +0000 Subject: [PATCH] REALLY correct the period for the total column this time --- httemplate/graph/money_time.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/graph/money_time.cgi b/httemplate/graph/money_time.cgi index bc393835b..bc789cb7e 100644 --- a/httemplate/graph/money_time.cgi +++ b/httemplate/graph/money_time.cgi @@ -96,7 +96,7 @@ my @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec); <% $total += $column; %> <% } %> - <%= $link ? $link. 'begin='. @{$data->{speriod}}[0]. ';end='. @{$data->{eperiod}}[0]. '">' : '' %>$<%= sprintf("%.2f", $total) %><%= $link ? '' : '' %> + <%= $link ? $link. 'begin='. @{$data->{speriod}}[0]. ';end='. @{$data->{eperiod}}[-1]. '">' : '' %>$<%= sprintf("%.2f", $total) %><%= $link ? '' : '' %> <% } %> -- 2.11.0