Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working Contract: Overlapping project bookings not calculated more than once in WC #186

Open
PentaPaetzold opened this issue Aug 16, 2024 · 3 comments
Labels
working times Contract / Working times plugin

Comments

@PentaPaetzold
Copy link

PentaPaetzold commented Aug 16, 2024

Our Employees are Working on different Projects, sometime for two Customers at the same time.
While the Project- Time should be billed for each Customer as the Time is Booked, the Times with overlapping bookings should not be calculated more than once for the Working- Contract times.

e.g. One Employee works from 8:00 to 16:00 o'clock.
While the "Customer A"s Project is from 8:00 - 12:00 = 4 h, the "Customer B" is from 11:00 - 16:00 = 5 h
The Time from 11:00 - 12:00 was a meeting, where all three Parties joined. So while Customer A will be charged 4h and B will be charged 5h, the Working hours were only 8h on that day.

My Suggestion would be to have the choice for each Employee whether to have hours only calculated once, or not (by Lead)

@PentaPaetzold PentaPaetzold changed the title Working Contract: Overlapping Projekt Bookings not Calculated more than once in WC Working Contract: Overlapping project bookings not calculated more than once in WC Aug 16, 2024
@kevinpapst
Copy link
Member

kevinpapst commented Aug 16, 2024

Thanks for the suggestion!

I will add a settings to choose an explicit project which will be calculated as working time exclusively.

Then you can have three parallel times.

  • Two for billable hours
  • One for working time calculation

Fiddling around with overlapping bookings will not be added, that is too expensive to calculate on runtime.

@PentaPaetzold
Copy link
Author

Thank you for the proposal.
Can this project automagically be started and stopped among the real project when using the two buttons on the top?
And will the time be changed when a booking time is changed later on, so that times are matching?

@kevinpapst
Copy link
Member

No and No, at least for the first version.

@kevinpapst kevinpapst added the working times Contract / Working times plugin label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
working times Contract / Working times plugin
Projects
None yet
Development

No branches or pull requests

2 participants