Hours displayed using %.2f on time report.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@588 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-07-14 19:07:35 +00:00
parent 05c1888703
commit 4670426e4e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<% hours_for_value = select_hours(hours, criterias[level], value.id) %>
<% @periods.each do |period| %>
<% sum = sum_hours(select_hours(hours_for_value, @columns, period.to_s)) %>
<td align="center"><%= sum > 0 ? sum : "-" %></td>
<td align="center"><%= sum > 0 ? "%.2f" % sum : "-" %></td>
<% end %>
</tr>
<% if criterias.length > level+1 %>