The task form should also list billed tasks

This commit is contained in:
Paul van Tilburg 2012-01-02 14:58:36 +01:00
parent 768d2d55f6
commit 4d2e2bb217
1 changed files with 1 additions and 1 deletions

View File

@ -1101,7 +1101,7 @@ module StopTime::Controllers
@input["start"] = @time_entry.start.to_formatted_s(:time_only)
@input["end"] = @time_entry.end.to_formatted_s(:time_only)
@customer_list = Customer.all.map { |c| [c.id, c.shortest_name] }
@task_list = Task.all.reject { |t| t.billed? }.map { |t| [t.id, t.name] }
@task_list = Task.all.map { |t| [t.id, t.name] }
@target = [TimelineN, entry_id]
@button = "update"