dhanasingh / redmine_wktime

ERPmine is an open source free ERP for Service Industries. It runs within Redmine
https://erpmine.org/
Other
120 stars 79 forks source link

Payroll: Allow all pays and reimbursements to be filtered by time activity type -> result in payroll picking up only time of selected activity type #279

Open dixalex opened 1 year ago

dixalex commented 1 year ago

Right now when you generate a payroll with multiple pays in (ex. base, overtime, weekend) -- all of them pick up ALL time entries while they should be filtered by activity type instead. Same with reimbursements.

cdhana17 commented 1 year ago

We can add a filter for activities in generate payroll page

We will put that in next release

dixalex commented 1 year ago

I don't understand how that will work in Generate payroll page... The goal is to have separate calculation for each rate based on the activity type. It needs to go to Payroll Settings, no?

cdhana17 commented 1 year ago

Yes the filter will not work if you are trying to apply different rate for different activities.

How about setting up a rule like this (please see screenshot) ? Will this work ? Basic pay

dixalex commented 1 year ago

Yes! That's what I was thinking. The only addition to that is it will affect the Payrol User Settings as well, because it will have to be overriden by activity type as well per user. That UI needs to be added as well.

kikill95 commented 1 year ago

Yes the filter will not work if you are trying to apply different rate for different activities.

How about setting up a rule like this (please see screenshot) ? Will this work ? Basic pay

Looks good! How can I do this for myself? would be very useful for me :)

cdhana17 commented 1 year ago

This will be available in next release

kikill95 commented 1 year ago

This will be available in next release

Sounds good, do you have a schedule for this? Or maybe a separate branch where I can pull this earlier?