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> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| package.json | ||