Also bill new entries by default in the task_form view
This commit is contained in:
parent
07b655c8db
commit
7a7a4471e1
|
@ -925,6 +925,7 @@ module StopTime::Controllers
|
||||||
@time_entries.each do |te|
|
@time_entries.each do |te|
|
||||||
@input["bill_#{te.id}"] = true if te.bill?
|
@input["bill_#{te.id}"] = true if te.bill?
|
||||||
end
|
end
|
||||||
|
@input["bill"] = true # Bill new entries by default.
|
||||||
|
|
||||||
# FIXME: Check that task is of that customer.
|
# FIXME: Check that task is of that customer.
|
||||||
@target = [CustomersNTasksN, customer_id, task_id]
|
@target = [CustomersNTasksN, customer_id, task_id]
|
||||||
|
|
Loading…
Reference in New Issue