Commit graph

7 commits

Author SHA1 Message Date
3e1851fa6d Add department budget % allocation
- Budgets page: new dept split section with % inputs, equal-split button, save
- Weekly/Monthly: per-dept budget column using dept pcts from actuals response
- Backend: dept_budget_pcts in ALLOWED_KEYS; actuals returns dept_pcts map;
  budgets route adds GET /dept-config + PUT /dept-pcts endpoints

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-23 09:43:39 +00:00
f97772cb72 Fix Monthly net sales range + chart data; Budgets year nav + CSV upload 2026-07-23 09:25:51 +00:00
4d6e53a1f8 Fix rolling sync: batch actuals in 7-day chunks (API limit 31 days) 2026-07-23 09:18:15 +00:00
46201c6592 Fix Weekly: store week as string to prevent useCallback infinite loop 2026-07-23 09:15:11 +00:00
fc92bcd897 Fix POST without body: only set Content-Type when body present 2026-07-23 09:10:55 +00:00
32318aa63f Fix TS errors: vite/client types + recharts Tooltip formatter signature 2026-07-23 09:07:34 +00:00
2e0592eb90 Initial scaffold: wages app
Full wage cost reporting app — weekly/monthly views, rolling 12-week/12-month
history, budget management, Workforce API sync with SSE backfill, net sales
via forecasting public API, department filter, CSV export.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-23 09:03:52 +00:00