whisper-money/tests/Unit
Víctor Falcón 722c7d1bef Consolidate savings-rate math into CashflowSummaryService
The net and savings-rate derivation was byte-identical in
DashboardController::calculateCashflowSummary and
CashflowAnalyticsController::cashflowSummaryFromTransactions, so the two
screens could silently diverge if one formula were ever edited.

Extract a single CashflowSummaryService::summarize(income, expense) that
owns the net and savings-rate math, and have both call sites consume it.
Behaviour-preserving: each controller still computes income/expense its
own way (single-currency SQL on the dashboard, multi-currency in-memory
on the analytics endpoint) and only the shared derivation moves.
2026-07-04 20:48:18 +02:00
..
Enums feat(banking): let Wise credentials be updated (#588) 2026-06-23 09:54:31 +00:00
Services Consolidate savings-rate math into CashflowSummaryService 2026-07-04 20:48:18 +02:00
.gitkeep Execute browser tests on CI (#10) 2025-12-03 16:26:30 +01:00