Show the spent time for fixed cost tasks in the invoice

This commit is contained in:
Paul van Tilburg 2012-01-02 12:46:47 +01:00
parent c0c3d9773a
commit 6b05536d91
1 changed files with 2 additions and 2 deletions

View File

@ -1532,10 +1532,10 @@ module StopTime::Views
@tasks.each do |task, line|
tr do
td { task.comment_or_name }
if line[1].nil?
if line[1].blank?
# FIXME: information of time spent is available in the summary
# but show it?
td.right ""
td.right { "%.2fh" % line[0] }
td.right ""
else
td.right { "%.2fh" % line[0] }