You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when I select a month in which no transactions have been made, the "Bills Paid" amount in the dashboard can be > 0.
This happens because BillRepository::getBillsPaidInRange takes into account all bills whose periods intersect the current date range.
For example, lets say I have a yearly bill, starting in 2016-01-01.
I pay that bill in March. Now, the amount of the bill will be added to the "Bills Paid"-sum for every month between March and December.
Is this intended behavior?
The text was updated successfully, but these errors were encountered:
It is, because technically the bill has been paid in the period the bill is valid: the year. But no, it should not register for March because there is no transaction relevant for the current view.
I never noticed this because I'm currently not using yearly bills. These things can pop up every now and then.
I'll look into it and see if I can get it fixed. I believe getBillsPaidInRange isn't used often, so it should not be difficult to fix.
I've changed some of of my personal insurance policies to be paid yearly and I've created a bill to match this. I will run into this problem soon so I should be able to fix it soon as well.
I noticed that when I select a month in which no transactions have been made, the "Bills Paid" amount in the dashboard can be > 0.
This happens because BillRepository::getBillsPaidInRange takes into account all bills whose periods intersect the current date range.
For example, lets say I have a yearly bill, starting in 2016-01-01.
I pay that bill in March. Now, the amount of the bill will be added to the "Bills Paid"-sum for every month between March and December.
Is this intended behavior?
The text was updated successfully, but these errors were encountered: