Show the list of contained time entries for tasks with an hourly rate
This commit is contained in:
parent
57943f913e
commit
0abad65328
|
@ -1636,6 +1636,14 @@ module StopTime::Views
|
||||||
td.right { "€ %.2f" % line[2] }
|
td.right { "€ %.2f" % line[2] }
|
||||||
end
|
end
|
||||||
subtotal += line[2]
|
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
|
end
|
||||||
if @company.vatno.blank?
|
if @company.vatno.blank?
|
||||||
vat = 0
|
vat = 0
|
||||||
|
|
Loading…
Reference in New Issue