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
Describe the bug
When you have a long term loan with an offset, the offset is displayed in periods outside the loan start and end. In the summary on top, "Lent" is display with the quantifier "x 0", and the value of the offset is shown.
How to reproduce
Create a long term loan of 100
Add an offset of 5
Go to the All spendings screen
Go to previous months, when the loan was not yet started
See "Lent x 0 ------ 5 €" in the period summary
Screenshots/videos
Details
Device: Android 14
App Version: 5.4.4+420
Additional notes
I see the offset as a return on the loan, so it makes sense to me to see it only in the period of the loan. It should not be displayed before the loan or after the loan end date.
It can be bigger than the loan, so it shouldn't end when the loan is collected, but when it ends on the set date.
There is also the case when the loan date is not defined, so it seems ok for the offset to be displayed in the future indefinitely.
filip-savic
changed the title
[Bug] Loan with offset displays offset in past periods
[Bug] Loan with offset displays offset in periods outside of loan duration
Nov 16, 2024
Describe the bug
When you have a long term loan with an offset, the offset is displayed in periods outside the loan start and end. In the summary on top, "Lent" is display with the quantifier "x 0", and the value of the offset is shown.
How to reproduce
Screenshots/videos
Details
Additional notes
I see the offset as a return on the loan, so it makes sense to me to see it only in the period of the loan. It should not be displayed before the loan or after the loan end date.
It can be bigger than the loan, so it shouldn't end when the loan is collected, but when it ends on the set date.
There is also the case when the loan date is not defined, so it seems ok for the offset to be displayed in the future indefinitely.
Btw, the app is great, keep up the good work :)
Here's a minimal sql for reproduction:
cashew-2024-11-16-10-20-42-834.zip
The text was updated successfully, but these errors were encountered: