Files
sure/app/models
Juan Manuel Reyes f42b593b9e Show inflow/outflow totals for transfer filter (#1134)
* Show inflow/outflow totals when filtering by transfers

When filtering transactions by "Transfer" type, the summary bar previously
showed $0 for both Income and Expenses because transfers were excluded from
those sums. Now computes transfer inflow/outflow in the same SQL pass and
switches labels to "Inflow"/"Outflow" when transfer amounts are non-zero.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add mixed filter comment and transfer-only test coverage

Document the intentional mixed filter behavior where transfer amounts
are excluded from the summary bar when non-transfer types are present.
Add test exercising Inflow/Outflow label switching for transfer-only results.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 21:12:01 +01:00
..
2026-03-25 10:50:23 +01:00
2026-03-25 17:47:04 +01:00
2026-03-25 17:47:04 +01:00
2025-03-28 13:08:22 -04:00
2026-03-11 15:54:01 +01:00
2026-03-25 10:50:23 +01:00
2026-01-09 19:38:04 +01:00
2026-01-22 20:37:07 +01:00
2026-01-22 20:37:07 +01:00
2026-03-25 17:47:04 +01:00
2026-03-25 17:47:04 +01:00
2026-03-25 17:47:04 +01:00
2026-03-25 10:50:23 +01:00
2026-03-25 10:50:23 +01:00
2026-03-25 17:47:04 +01:00
2026-03-25 10:50:23 +01:00
2026-03-22 12:02:58 +01:00
2026-03-25 17:47:04 +01:00
2026-03-25 17:47:04 +01:00
2026-03-25 10:50:23 +01:00
2026-03-25 10:50:23 +01:00
2026-01-23 22:05:28 +01:00
2025-05-23 18:58:22 -04:00
2025-11-01 09:12:42 +01:00
2026-02-16 21:11:41 +01:00
2026-03-11 15:54:01 +01:00
2026-01-23 22:05:28 +01:00
2025-11-25 20:21:29 +01:00
2025-03-28 13:08:22 -04:00
2026-03-25 10:50:23 +01:00