Fix incorrect totals calculation when family has loan payments #1984

Merged
zachgoll merged 2 commits from 1963-bug-wrong-income-and-spends-calculation into main 2025-03-12 00:37:59 +08:00
zachgoll commented 2025-03-12 00:26:54 +08:00 (Migrated from github.com)

This fixes a list of related issues when a family has loan payments (which are included as expenses, while other transfers are not):

  • Total transactions count is wrong on transactions page
  • Total income/expense sum is wrong on transactions page
  • Total budget for category where loan payment was made is wrong

https://github.com/user-attachments/assets/451c5f98-558a-423e-953d-ec022e06f79e

This fixes a list of related issues _when a family has loan payments_ (which are included as expenses, while other transfers are not): - Total transactions count is wrong on transactions page - Total income/expense sum is wrong on transactions page - Total budget for category where loan payment was made is wrong https://github.com/user-attachments/assets/451c5f98-558a-423e-953d-ec022e06f79e
Sign in to join this conversation.