diff options
author | ivan <ivan> | 2006-04-15 13:25:33 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-04-15 13:25:33 +0000 |
commit | f5713c205d51f0ad756f1b7bcd97130d7a4e1cb2 (patch) | |
tree | 5b9b1c6ed7fc378a65a52077821e4a33f5f0ec32 /httemplate | |
parent | 5457d73088f678416810417885d844d5e305c4bd (diff) |
format & link the total column
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/graph/money_time.cgi | 4 |
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> |