Skip to content

Update class.timesheet_datasource.inc.php#74

Open
neomorina wants to merge 1 commit intoEGroupware:masterfrom
neomorina:patch-6
Open

Update class.timesheet_datasource.inc.php#74
neomorina wants to merge 1 commit intoEGroupware:masterfrom
neomorina:patch-6

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

Development

Successfully merging this pull request may close these issues.

1 participant