Commit graph

5 commits

Author SHA1 Message Date
juancwu
89c5d76e5e
Merge branch 'fix/calculation-accuracy' into main
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m37s
Combines the decimal migration (int cents → decimal.Decimal via
shopspring/decimal) with main's handler refactor (split space.go into
domain handlers, WithTx/Paginate helpers, recurring deposit removal).

- Repository layer: WithTx pattern + decimal column names/types
- Handler layer: decimal arithmetic (.Sub/.Add) instead of int operators
- Models: deprecated amount_cents fields kept for SELECT * compatibility
- INSERT statements: old columns set to literal 0 for NOT NULL constraints

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 16:48:40 -04:00
juancwu
c8a1eb5b7a
chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
juancwu
45fcecdc04 chore: refactor
All checks were successful
Deploy / build-and-deploy (push) Successful in 3m45s
2026-03-14 16:39:07 +00:00
juancwu
55e04c9b94 feat: allow multi tags for budgets 2026-02-17 15:20:49 +00:00
juancwu
9e6ff67a87 feat: recurring expenses and reports 2026-02-14 17:00:29 +00:00