From: ivan Date: Sat, 15 Apr 2006 13:25:33 +0000 (+0000) Subject: format & link the total column X-Git-Tag: BEFORE_FINAL_MASONIZE~169 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f5713c205d51f0ad756f1b7bcd97130d7a4e1cb2 format & link the total column --- 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); <% $total += $column; %> <% } %> - <%= sprintf("%.2f", $total) %> + + <%= $link ? $link. 'begin='. @{$data->{speriod}}[0]. ';end='. @{$data->{speriod}}[0]. '">' : '' %>$<%= sprintf("%.2f", $total) %><%= $link ? '' : '' %> + <% } %>