Files
Komediruzecki 312ae8046b fix(budgets): allow changing an allocation; fix cross-year forecast inflation
- /api/budgets/allocate is now an upsert across worker, backend, and the in-browser
  serverless handler: re-allocating a category for the same month updates the amount
  instead of returning 400 "Budget already exists". Users can freely change an allocation.
- Budgets UI: the per-category action stays available as a "Change" button (pre-filled
  with the current amount) once a budget is set, instead of disappearing after allocation.
- Forecast: the 6-month projection under-counted inflation for months in the next year
  (month-of-year-only diff went negative and zeroed the factor); it now accounts for the
  year. Worker + backend fixed; the serverless handler already did this.
- Adds a worker test asserting re-allocation updates (1000 -> 1500 -> 500) rather than 400.
2026-07-13 13:01:26 +02:00
..