wages/backend
jtricerolph 158d8f1676 Fix stale employee rows in wage breakdown after shift edits/reassignment
syncActuals() recomputes the full date range from Workforce on every run
but only ever upserted rows, so a shift that moved department or was
edited/deleted since the last sync left its old wage_actuals_detail row
in place — showing a "ghost" employee in the dept breakdown whose cost
no longer matched the (correctly overwritten) department total.

Now deletes existing wage_actuals/wage_actuals_detail rows for the
synced date range before reinserting, so removed/reassigned shifts
don't linger.
2026-07-24 12:23:58 +00:00
..
src Fix stale employee rows in wage breakdown after shift edits/reassignment 2026-07-24 12:23:58 +00:00
Dockerfile 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