tuttle-dev / tuttle

🪰 Tuttle - time and money management for freelancers
GNU General Public License v3.0
62 stars 12 forks source link

Bug: Generated invoice total hours are incorrect #164

Closed vlad-ed-git closed 1 year ago

vlad-ed-git commented 1 year ago

The total hours on a generated invoice exceed that of the time tracking dataframe

clstaudt commented 1 year ago

@vlad-ed-git ... in some cases. Working on narrowing down the error case.

clstaudt commented 1 year ago

@vlad-ed-git Is the total correct for you if you do not enter whole-day events into the calendar?

vlad-ed-git commented 1 year ago

@clstaudt no. still having this issue. If I delete an invoice and create a new one. it seems to add the information from the previous one!

2023-01-23-01-dr.rer.nat..pdf

clstaudt commented 1 year ago

@vlad-ed-git Can you send me the calendar file? Will try and debug.

vlad-ed-git commented 1 year ago

@clstaudt I don't know if you still need the file, but I emailed it to you.

clstaudt commented 1 year ago

@vlad-ed-git Thanks. I think it's an issue with the SQLModel integrity, not with your data, but test data always helps. I'm on the problem.

clstaudt commented 1 year ago

@vlad-ed-git This should be fixed in the dev branch now if you want to try again.