MEGAINFRA-WEBAPP/scripts/migrations
DEls 4493bbc0db feat(clock): pay against the real work schedule
Mon-Thu 07:00-16:30, Friday 07:00-15:00, last Friday of the month
07:00-12:00 (weekends use the Mon-Thu bands). Each shift end has a
10-minute band either side; arrivals up to 07:10 pay from 07:00.
Lunch now phases in from 5h to 5h30 instead of a 30-minute cliff, so
a normal day pays 9 / 7.5 / 5 hours.

The worker calendar judges each day against that day's expected hours,
so a normal Friday is green, and the worker page shows the schedule.
The recalc script recognises rows already rewritten by the first rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 19:51:24 +02:00
..
2026-08-19-extend-data-import-batches.py
2026-08-24-data-import-batches-allow-xlsx.py
2026-08-24-fuel-logs-latest-consumption.py
2026-08-28-vehicles-attention-dismissed.py
2026-08-28-vehicles-unit-type-optional.py
2026-08-29-fixed-costs-recurring-backfill.py
2026-08-31-data-import-batches-allow-pdf-images.py
2026-09-11-add-document-fields.py
2026-09-11-add-site-work-month-field.py docs(project-calendar): add the project month/week plan; fix a stale doc reference 2026-09-11 22:35:41 +02:00
2026-09-11-backfill-entity-file-hashes.py
2026-09-11-backfill-fuel-log-sites.py
2026-09-11-backfill-timesheet-sites.py
2026-09-12-add-clock-events.py feat(clock): add clock_events PocketBase collection 2026-09-12 00:14:13 +02:00
2026-09-12-add-po-date-uploaded.py
2026-09-12-create-document-collections.py
2026-09-12-migrate-batches-to-documents.py
2026-09-12-rename-collections.py
2026-09-12-widen-sheet-mimetypes.py
2026-09-14-require-site.py
2026-09-15-add-indexes.py
2026-09-15-drop-legacy-columns.py
2026-09-16-add-suppliers-schema.py
2026-09-16-migrate-suppliers.py
2026-09-22-add-fuel-log-coordinates.py feat(clock): enhance vehicle scan API with GPS support 2026-09-22 19:59:44 +02:00
2026-09-22-add-vehicle-last-location.py feat(plant): fleet map page with GPS-denormalised vehicles, clustering, and tile switcher 2026-09-22 21:39:25 +02:00
2026-09-25-add-missed-clock-outs.py feat(clock): review missed scan-outs without changing phone flow 2026-09-25 07:27:12 +02:00
2026-09-28-fuel-logs-previous-reading.py feat: add employee search and save pending fleet updates 2026-09-30 00:42:38 +02:00
2026-09-28-users-login.py fix(auth): verify PocketBase backup key before migration 2026-09-29 07:01:15 +02:00
2026-09-30-add-supplier-reconciliation-rules.mjs Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
2026-09-30-add-supplier-reconciliation-rules.test.mjs Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
2026-10-01-add-dn-line-posting.mjs Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
2026-10-01-add-dn-line-posting.test.mjs Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
2026-10-01-add-dn-processing-preview.mjs Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
2026-10-05-add-mcp-operations.mjs feat: journal MCP operations and fence purchasing writes 2026-10-05 01:38:15 +02:00
2026-10-05-add-mcp-operations.test.mjs feat: journal MCP operations and fence purchasing writes 2026-10-05 01:38:15 +02:00
2026-10-07-office-access.py feat(auth): add Office access and restrict Clock users 2026-10-07 14:22:57 +02:00
2026-10-09-add-missed-out-actual-in.py feat(clock): fix a missing clock-in from Needs attention 2026-10-09 12:57:09 +02:00
2026-10-09-recalc-clock-paid-hours.py feat(clock): pay against the real work schedule 2026-10-09 19:51:24 +02:00
test_2026_09_25_add_missed_clock_outs.py feat(clock): review missed scan-outs without changing phone flow 2026-09-25 07:27:12 +02:00
test_2026_10_09_add_missed_out_actual_in.py feat(clock): fix a missing clock-in from Needs attention 2026-10-09 12:57:09 +02:00
test_2026_10_09_recalc_clock_paid_hours.py feat(clock): pay against the real work schedule 2026-10-09 19:51:24 +02:00
test_office_access.py feat(auth): add Office access and restrict Clock users 2026-10-07 14:22:57 +02:00