wages/frontend
jtricerolph d04cd1e82c Monthly view: rota boundary, EOM PY card, % Budget headline; backfill 25 months
Rota forecasting: only trust Workforce rota for the current Mon–Sun week —
beyond that use prior-week actuals to avoid incomplete next-week rotas
deflating the EOM forecast.

% vs Budget cards (Weekly + Monthly): show as coloured headline number
(green/amber/red) instead of small pct-badge chip, matching other cards.

Forecast EOM: PY sub-label shows full prior-year month total + % delta,
replacing the static "rota + prior-week actual" note once PY data exists.
Achieves this by fetching the full PY month rather than MTD-capped range,
then deriving both MTD (for Actual MTD card) and full-month (for EOM card).

Backfill depth: 13 → 25 months so past months in Rolling 12 have PY wage
data available (viewing Dec 2024 needs Dec 2023 = 19 months ago).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-23 12:08:13 +00:00
..
src Monthly view: rota boundary, EOM PY card, % Budget headline; backfill 25 months 2026-07-23 12:08:13 +00:00
Dockerfile Initial scaffold: wages app 2026-07-23 09:03:52 +00:00
index.html Initial scaffold: wages app 2026-07-23 09:03:52 +00:00
nginx.conf Initial scaffold: wages app 2026-07-23 09:03:52 +00:00
package.json Initial scaffold: wages app 2026-07-23 09:03:52 +00:00
tsconfig.json Fix TS errors: vite/client types + recharts Tooltip formatter signature 2026-07-23 09:07:34 +00:00
vite.config.ts Initial scaffold: wages app 2026-07-23 09:03:52 +00:00