summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2006-04-15 13:25:33 +0000
committerivan <ivan>2006-04-15 13:25:33 +0000
commitf5713c205d51f0ad756f1b7bcd97130d7a4e1cb2 (patch)
tree5b9b1c6ed7fc378a65a52077821e4a33f5f0ec32
parent5457d73088f678416810417885d844d5e305c4bd (diff)
format & link the total column
-rw-r--r--httemplate/graph/money_time.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/graph/money_time.cgi b/httemplate/graph/money_time.cgi
index d458405ea..67b82125b 100644
--- a/httemplate/graph/money_time.cgi
+++ b/httemplate/graph/money_time.cgi
@@ -95,7 +95,9 @@ my @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
</TD>
<% $total += $column; %>
<% } %>
- <TD><%= sprintf("%.2f", $total) %></TD>
+ <TD ALIGN="right" BGCOLOR="#eeeeee">
+ <%= $link ? $link. 'begin='. @{$data->{speriod}}[0]. ';end='. @{$data->{speriod}}[0]. '">' : '' %><FONT COLOR="#<%= $color{$row} %>">$<%= sprintf("%.2f", $total) %></FONT><%= $link ? '</A>' : '' %>
+ </TD>
</TR>
<% } %>
</TABLE>