REALLY correct the period for the total column this time
authorivan <ivan>
Sat, 15 Apr 2006 13:32:27 +0000 (13:32 +0000)
committerivan <ivan>
Sat, 15 Apr 2006 13:32:27 +0000 (13:32 +0000)
httemplate/graph/money_time.cgi

index bc39383..bc789cb 100644 (file)
@@ -96,7 +96,7 @@ my @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
     <% $total += $column; %>
   <% } %>
   <TD ALIGN="right" BGCOLOR="#f5f6be">
-    <%= $link ? $link. 'begin='. @{$data->{speriod}}[0]. ';end='. @{$data->{eperiod}}[0]. '">' : '' %><FONT COLOR="#<%= $color{$row} %>">$<%= sprintf("%.2f", $total) %></FONT><%= $link ? '</A>' : '' %>
+    <%= $link ? $link. 'begin='. @{$data->{speriod}}[0]. ';end='. @{$data->{eperiod}}[-1]. '">' : '' %><FONT COLOR="#<%= $color{$row} %>">$<%= sprintf("%.2f", $total) %></FONT><%= $link ? '</A>' : '' %>
   </TD>
   </TR>
 <% } %>