Also bill new entries by default in the task_form view

This commit is contained in:
Paul van Tilburg 2013-06-20 22:07:20 +02:00
parent 07b655c8db
commit 7a7a4471e1
1 changed files with 1 additions and 0 deletions

View File

@ -925,6 +925,7 @@ module StopTime::Controllers
@time_entries.each do |te|
@input["bill_#{te.id}"] = true if te.bill?
end
@input["bill"] = true # Bill new entries by default.
# FIXME: Check that task is of that customer.
@target = [CustomersNTasksN, customer_id, task_id]