From 7a7a4471e1c188bcc593242b20212ce8f06fc00d Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Thu, 20 Jun 2013 22:07:20 +0200 Subject: [PATCH] Also bill new entries by default in the task_form view --- stoptime.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/stoptime.rb b/stoptime.rb index 4a93522..59fae40 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -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]