I needed to have the billable checkbox default to checked when a new time tracking is created, My contractors/staff kept forgetting to check that box, it was making me nuts.

This patch allows admins to set a default value for the billable checkbox, on the admin/settings/storm/timetrackings admin page, when a timetracking is created by a user. It defaults to unchecked, so it does not change the default behavior.

I will submit a patch to the storm_quicktt project to make sure that project and dashboard are also able to handle this change.

CommentFileSizeAuthor
storm.billable.default.patch1.65 KBbigjim

Comments

bigjim’s picture

sorry about the title, I was rushing,

FYI, here's the quicktt patch http://drupal.org/node/643452

Magnity’s picture

Title: Allow setting default for billabl ceckbox » Allow setting default for billable checkbox

Yes, I'm fine with this in principle, and I'll test the patch properly in the next few days.

Will probably change the variable name from '_billing_' to '_billable_' for clarity.

Magnity’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.