jameskokoska / Cashew

💸 An app created to help users manage a budget and purchases
https://cashewapp.web.app/
GNU General Public License v3.0
1.56k stars 221 forks source link

[Bug] All Spendings page shows Wrong type and selects wrong dates when Long Term Loans are being paid #358

Closed Radwan-Albahrani closed 1 month ago

Radwan-Albahrani commented 1 month ago

Describe the bug In the All Spendings page, in the card that separates expenses from income, when there is “borrowed” or “lent” money through a long term loan, it selects the wrong type.

Also, when clicking on it, it shows the wrong transaction and selects the wrong date range.

and because it’s the wrong transaction type, it shows the wrong transaction. That caused the change.

How to reproduce

Screenshots/videos image

other issue: image

When clicking on the “borrowed” section of the card Actual result: image

Expected Result: image

Details

Radwan-Albahrani commented 1 month ago

I guess technically the type makes sense cuz I’m “paying off what I borrowed” but then clicking on it is the issue. Shows the wrong transactions cuz it uses the wrong dates and the wrong filter type

jameskokoska commented 1 month ago

Unfortunately, I am unable to replicate the issue. When tapping on the Lent or Borrowed section of the All Spending page card, it always opens the loans page, not the transactions list. As shown in brackets, lent and borrowed totals are only shown for All Time on the All Spending page.