Transaction amounts are already signed in the DB (expenses negative, income positive). Remove Math.abs() normalization and stop multiplying by sign at display time to avoid double negation. Extract buildPrevYearTotalMap as a testable exported function and rewrite tests to import the real function instead of reimplementing it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adjustments | ||
| budget | ||
| categories | ||
| dashboard | ||
| import | ||
| layout | ||
| profile | ||
| reports | ||
| settings | ||
| shared | ||
| transactions | ||