From: ivan Date: Sat, 15 Apr 2006 13:32:27 +0000 (+0000) Subject: REALLY correct the period for the total column this time X-Git-Tag: BEFORE_RT_3_4_5^2~157 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9d2a3fb618badbef4abf472dc9bc68b8590f04b6;p=freeside.git REALLY correct the period for the total column this time --- 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 ? '' : '' %> <% } %>