Project

General

Profile

Incorporating non-billable hours in weekly timesheet plugin

Added by Arun M V almost 13 years ago

Hello All,

I have created a custom field called "Non-Billable Hours" for time entries.The users are expected to enter the billable hours in the "Hours" field and the non-billable hours in the "Non-Billable hours" field of the time logging page in redmine core.I want to incorporate this functionality in weekly time sheet plugin.

The idea is this : A checkbox should be provided to the extreme right end of each row in the time logging page.This checkbox indicates whether the logged time is billable or non-billable.But since the custom field goes to another table Iam not getting any idea on how to save the logged time.Please share your thoughts on this.I want this to be done with minimum change in code.

Regards,
Arun.M.V


Replies (3)

RE: Incorporating non-billable hours in weekly timesheet plugin - Added by Dhanasingh Krishnapandian almost 13 years ago

Arun,
The way we do non billable hours is by having a separate project called "Non Billable" and have all the non billable issues within it. Not sure if this will work for you or not.

Dhanasingh

RE: Incorporating non-billable hours in weekly timesheet plugin - Added by Arun M V almost 13 years ago

Dhanasingh,
We may log time in "Non-Billable Hours" field(custom field) and also "Hours" field for the same issue.I want a solution in this scenario.

Regards,
Arun

RE: Incorporating non-billable hours in weekly timesheet plugin - Added by Vladimir Dzalbo almost 13 years ago

Arun, you can achieve this by creating a Custom field for the Spent time of Boolean format.
This way every time somebody logs time he will select checkbox if it's billable or not.

You can later easily filter on this boolean value in your reports.

    (1-3/3)