feat: add previous year annual total column to budget table (#16) #22

Closed
medic-bot wants to merge 1 commit from fix/simpl-resultat-16-prev-year-budget into main
Collaborator

Summary

  • Add a Prev. Year (An. préc.) column to the budget table, displayed as the first data column after Category
  • Fetches previous year's budget entries in parallel alongside current year data
  • Computes per-category annual totals for the previous year, including parent/subtotal aggregation
  • Column is read-only and styled in muted color to distinguish it from editable current-year values
  • Section totals and grand total include the previous year column
  • Updated i18n (FR/EN), user guide tips, and CHANGELOG

Files changed: types/index.ts, useBudget.ts, BudgetTable.tsx, fr.json, en.json, CHANGELOG.md, CHANGELOG.fr.md

Fixes #16

🤖 Generated with Claude Code

## Summary - Add a **Prev. Year** (An. préc.) column to the budget table, displayed as the first data column after Category - Fetches previous year's budget entries in parallel alongside current year data - Computes per-category annual totals for the previous year, including parent/subtotal aggregation - Column is read-only and styled in muted color to distinguish it from editable current-year values - Section totals and grand total include the previous year column - Updated i18n (FR/EN), user guide tips, and CHANGELOG **Files changed:** `types/index.ts`, `useBudget.ts`, `BudgetTable.tsx`, `fr.json`, `en.json`, `CHANGELOG.md`, `CHANGELOG.fr.md` Fixes #16 🤖 Generated with [Claude Code](https://claude.com/claude-code)
medic-bot added 1 commit 2026-03-08 16:10:41 +00:00
Fetch previous year budget entries in parallel and display as a
read-only reference column between Category and Annual columns.
Parent/subtotal rows aggregate children's previous year values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
maximus closed this pull request 2026-03-08 16:40:43 +00:00
Owner

Fermée — doublon de PR #18 qui a été mergée.

Fermée — doublon de PR #18 qui a été mergée.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: maximus/Simpl-Resultat#22
No description provided.