Keleo / DeductionTimeBundle

Configure certain activities as deduction time, resulting in negative durations for timesheets.
MIT License
6 stars 4 forks source link

Reporting for all users shows only total amount of deducted time #13

Closed Bibz87 closed 5 months ago

Bibz87 commented 5 months ago

Much like #8, the time displayed in the Reporting -> Weekly view for all users page doesn't show negative time.

After reading this comment I've looked at Kimai's code and it seems that user_list_period_data.html.twig still has a > 0 check but I'm not sure if this is the right file for that specific reporting page.

I'm currently running Kimai's and the plugin's latest versions: 2.13.0 and 2.0.1, respectively.

Any help would be appreciated.

Thanks!

kevinpapst commented 5 months ago

I am not using that feature... but you could try to adjust the template and in case it fixes the issues: send a PR!?

😄

Bibz87 commented 5 months ago

Sure!