Commit Graph

4 Commits

Author SHA1 Message Date
Trevor Vallender 3e04193d16 Auto-assign logged time to budgets
Now that users have a "budget category" assigned to them, we can show
time logged against the correct budget.

Refs #2165
2023-11-30 19:51:21 +00:00
Trevor Vallender 983e6a3b6a Time budgets use categories, not activities
Refs #2142
2023-11-30 17:38:09 +00:00
Trevor Vallender c8c7c195e8 Allow time budgets without an activity 2023-11-24 17:02:12 +00:00
Trevor Vallender 4b83753e71 Time budgets per activity
Add a TimeBudget model which allows a job to have a time budget for each
activity type. We’re allowing nil as a holder for a generic budget,
though there’s currently no way to use that.

We automatically delete any time budgets which are set to zero.
2023-11-24 15:05:38 +00:00