No description
Find a file
jtricerolph c19460ecb3 Fix timesheet sync overwriting future rota dates with empty data
Pull timesheets was writing source='timesheet' rows for future dates
(no clock-in data yet), giving ? / 0.00h and preventing rota sync
from ever healing those dates.

Three-part fix:
- Backend runTimesheetSync: cap end date to today before looping
- Frontend syncTimesheetData: cap end date to today before calling API
- Backend runRotaSync: only skip timesheet-sourced dates that are <= today,
  so any future dates accidentally marked as timesheet are self-healed
  next time rota sync runs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-23 12:08:36 +00:00
backend Fix timesheet sync overwriting future rota dates with empty data 2026-07-23 12:08:36 +00:00
frontend Fix timesheet sync overwriting future rota dates with empty data 2026-07-23 12:08:36 +00:00
.env.example Initial commit: HK Planner app 2026-07-02 09:24:14 +00:00
.gitignore Add .gitignore and remove accidentally committed node_modules 2026-07-22 14:19:59 +00:00
docker-compose.yml Fix compose: use default bridge network, match cashup service names 2026-07-02 14:03:33 +00:00
seed-app.js Rename app to Rota Check 2026-07-04 13:19:40 +00:00
workforce-api-docs.md Add sync error logging, extend error flash, fix unload saves 2026-07-22 14:19:38 +00:00