[feat] Adoption filtres — Compare + Budget (temporel inchange + filtre compte) #276
Labels
No labels
autopilot:pending-human
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
status:needs-clarification
status:needs-fix
status:ready
status:review
status:triage
type:bug
type:feature
type:infra
type:refactor
type:schema
type:security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: maximus/Simpl-Resultat#276
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Brancher le multi-select comptes dans Compare et Budget via
<FilterPanel>avec leur controle temporel injecte (temporel inchange), et passeraccountIdsaux services. Epic #260.Fichiers concernes
src/pages/ReportsComparePage.tsxsrc/components/reports/CompareBudgetView.tsx(@:20 — appellegetBudgetVsActualDatasans compte)src/hooks/useCompare.tssrc/pages/BudgetPage.tsxsrc/hooks/useBudget.tsDepends on
Criteres d'acceptation
<FilterPanel temporalControl={<CompareReferenceMonthPicker/>}>,accountIdspasse agetCompareMonthOverMonth/getCompareYearOverYear(viauseCompare) et au sous-onglet budgetCompareBudgetView→getBudgetVsActualData<FilterPanel temporalControl={<YearNavigator/>}>,accountIdspasse agetBudgetVsActualData(viauseBudget)npm testvertsReview caveats
CompareBudgetView.tsx:20appellegetBudgetVsActualData(year, month)sans compte → threaderaccountIdsen prop sinon ce sous-onglet ignore le filtre pendant que le reste de la page le respecte.Decisions prises
CompareReferenceMonthPicker+ reducer local, budget gardeYearNavigator— seul le compte est ajoute.Spec source
spec-plan-rapports-uniformes-suite.md