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

Fixed bad calculation of total consumed time on contract day from child entities on parent contract #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TuX1sPuNk
Copy link

In the function that calculate total consumed time on a contract day, the informations gathered are limited to the entity owning the contract day, but it's possible to link child entities to parent contract so that they can access contract days of parent entity.

So I just removed entity restriction in SQL query, where it's not needed as conditions are made on multiple ID which are unique so it does causes any problem to remove the entity condition.

It fixes issue #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant