Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Errors in work-year...
 
Notifications
Clear all

Errors in work-yearly real work report

3 Posts
2 Users
0 Reactions
2,345 Views
(@louisc)
Posts: 58
Active Member
Topic starter
 
[#5654]

Hello,

When using work-yearly real work report, the amount of work reported on some projects for some resources are not coherent with the work-monthly real work report sum.
I checked also in the database, and I find the same numbers than the monthly reports.
Looking a little bit more on the datas, I found that when asking for the work-yearly real work report for 2018, starting on January, I get the sum of work for 2018 and also for (at least) the 1st week of 2019.

Maybe this bug is correlated to bugs #3645 and #3635.

I tried both with v7.2.5 and 7.3.3


 
Posted : 04 Jan 2019 12H45
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Issue recorded as Ticket #3763


 
Posted : 05 Jan 2019 0H35
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

Fix in report/work.php, replace line 140 from

          " or (year='" . ($periodValue + 1) . "' and month<='" . ($periodValue + 1) . ($paramMonth<11?'0':'') . $paramMonth . "'))";

to

          " or (year='" . ($periodValue + 1) . "' and month<'" . ($periodValue + 1) . ($paramMonth<11?'0':'') . $paramMonth . "'))";

 
Posted : 06 Jan 2019 15H29
Share:

Scroll to Top