caktus / django-timepiece

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

add by-person itemization of hours on on invoice page #816

Open tobiasmcnulty opened 9 years ago

tobiasmcnulty commented 9 years ago

We received a request to itemize hours by person for one project . You can sort of get that from the project timesheet, but that doesn't show billable vs. non-billable (in sum). In the interim I am copy/pasting hour detail out of the invoice page and into a spreadsheet to sum them by person, which works okay for now but is not great long-term.

ghost commented 9 years ago

To clarify, how detailed would the per-person hours be? On the invoice page, we break down billable/non-billable hours into further detail. But for this feature request, it sounds like this level of detail would be sufficient:

Billable Non-billable Total
Sam Blue 9.5 2.7 12.2
Ryan Green 10.1 3.4 13.5
tobiasmcnulty commented 9 years ago

That looks good. As an alternative you could also list out people and hours under the existing Billable and Non-billable headers, side-by-side with the existing listings by activity. You'd lose the the total hours per person this way, but that's probably not needed for invoicing. Either one will work fine for our purposes, so I'd say whatever you think would look best on the page.

In either case it would be nice to have the people list(s) sorted alphabetically by last name rather than by total hours (the way they are on the project time sheet), to help avoid copy/paste errors on invoices when the order changes between months.

Thanks @rebecca-caktus for your help with this!