Show the list of contained time entries for tasks with an hourly rate

This commit is contained in:
Paul van Tilburg 2012-01-02 14:04:43 +01:00
parent 57943f913e
commit 0abad65328
1 changed files with 8 additions and 0 deletions

View File

@ -1636,6 +1636,14 @@ module StopTime::Views
td.right { "€ %.2f" % line[2] }
end
subtotal += line[2]
task.time_entries.each do |entry|
tr do
td.indent { "• " + entry.comment }
td.right { "%.2fh" % entry.hours_total }
td.right { "" }
td.right { "" }
end
end unless task.fixed_cost?
end
if @company.vatno.blank?
vat = 0