Forum

Errors in work-year...
 
Notifications
Retirer tout

Errors in work-yearly real work report

3 Posts
2 Utilisateurs
0 Reactions
2,330 Vu
(@louisc)
Posts: 58
Estimable Member
Début du sujet
 
[#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


 
Posté : 04/01/2019 12:45 pm
(@babynus)
Posts: 14952
Membre Admin
 

Issue recorded as Ticket #3763


 
Posté : 05/01/2019 12:35 am
(@babynus)
Posts: 14952
Membre 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 . "'))";

 
Posté : 06/01/2019 3:29 pm
Share:
Retour en haut