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

Update class.timesheet_datasource.inc.php #74

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

Update class.timesheet_datasource.inc.php #74

wants to merge 1 commit into from

Conversation

neomorina
Copy link
Contributor

The duration of a time sheet could be 0, which would cause this conditional statement to be false.
This code was responsible for the fact that the sum of the timesheets in the Project Manager app did not match the sum of the timesheets in the Timesheet app.

If someone specified a value for a timesheet linked to a project, e.g. 1 hour, but changed it to 0 after a while.
The attribute "pe_used_time" in the table "egw_pm_elements" didn't get updated because of this code.

The duration of a time sheet could be 0, which would cause this conditional statement to be false.
This code was responsible for the fact that the sum of the timesheets in the Project Manager app did not match the sum of the timesheets in the Timesheet app.

If someone specified a value for a timesheet linked to a project, e.g. 1 hour, but changed it to 0 after a while.
The attribute "pe_used_time" in the table "egw_pm_elements" didn't get updated because of this code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant