invoiceninja / admin-portal

Invoice Ninja: Desktop/mobile admin portal built with Flutter
https://demo.invoiceninja.com
Other
1.56k stars 521 forks source link

Reporting of tasks is over time periods is incorrect. #651

Closed jasonkrasavage closed 1 month ago

jasonkrasavage commented 1 month ago

Let’s say that I have been working on a task over the past 7 days including today, at $100/hour. Each day I log 10 hours to that task, so today the total amount logged to that task is 70 hours. If I do a custom view of Logged Tasks (on the dashboard) over the last 2 days including today, it will show me $7000, instead of $2000.

It is just taking any tasks that have been touched/updated over the custom time period, and then summing the TOTAL duration of the entirety of all those tasks. It should only be summing the entries to those tasks on they days of the custom time period.