caktus / django-timepiece

A multi-user Django application for tracking people's time on projects.
MIT License
361 stars 115 forks source link

Hours expected is always 40? #792

Closed caktus-philip closed 10 years ago

caktus-philip commented 10 years ago

Minor kvetch - I am only assigned 35 hours a week at present, but my total always says that 40 hours are expected, e.g. -- Total: 25:17 worked of 40:00 expected

I would prefer to see "expected" be the sum of all hours assigned to me -- Total: 25:17 worked of 35:00 expected

ghost commented 10 years ago

I created a UserProfile for your user, and set the hours per week (which defaults to 40) to 35. We use an absolute number rather than the sum of all hours assigned to you because flex time means that assignments won't always add up to the number of hours we're expected to work.

Hope that helps :smile_cat:

caktus-philip commented 10 years ago

Thanks! Was creating a user profile something I could do, or is that an admin thing?

On Fri, May 30, 2014 at 7:40 AM, Rebecca notifications@github.com wrote:

I created a UserProfile for your user, and set the hours per week (which defaults to 40) to 35. We use an absolute number rather than the sum of all hours assigned to you because flex time means that assignments won't always add up to the number of hours we're expected to work.

— Reply to this email directly or view it on GitHub https://github.com/caktus/django-timepiece/issues/792#issuecomment-44641859 .

ghost commented 10 years ago

No, it has to be done through the admin (which, in the general case at least for us, requires that you be a superuser). Just wanted to document the steps here in case anyone else was curious!