Handle empty time entry comments in the invoice form view

This commit is contained in:
Paul van Tilburg 2012-01-02 16:15:35 +01:00
parent f11ddbbd53
commit 80cead274b
1 changed files with 1 additions and 1 deletions

View File

@ -1633,7 +1633,7 @@ module StopTime::Views
subtotal += line[2]
task.time_entries.each do |entry|
tr do
td.indent { "• " + entry.comment }
td.indent { " #{entry.comment}" }
td.right { "%.2fh" % entry.hours_total }
td.right { "" }
td.right { "" }