Files
edr-platform/apps/edr-freight-api/src/modules
Hagernesh 9cd29a21ed feat(train-scheduling): log leg-slot board/alight events at checkpoints
Leg slots (stampSlotLegs — bookings boarding/alighting mid-corridor)
reaching their board/alight yard produced no ScheduleWagonAdjustmentLog
row, unlike planned couples/cuts. Without it the marshalling document
has no way to show a wagon coupling in already loaded, or uncoupling
with cargo, at a mid-corridor stop.

recordCheckpoint now logs ADD at the board yard and REMOVE at the
alight yard for these slots, deduped against existing rows since
passedYardIds re-includes earlier stops on every checkpoint call.
Purely observational — the physical wagon was already pinned to the
slot at schedule-build time, so no wagon/consist state changes.

Stage 3 of the multi-stop marshalling plan (per-event numbered docs);
stages 4-6 (generalized doc builder, endpoints, UI) still open.
2026-08-28 11:16:46 +00:00
..
2026-08-27 20:58:44 +00:00
2026-08-12 07:12:04 +00:00
2026-08-20 10:29:58 +00:00
fix
2026-07-03 15:21:23 +00:00
2026-07-16 00:33:31 +00:00
2026-08-13 18:56:52 +00:00
2026-08-15 08:10:47 +00:00
2026-08-15 08:10:47 +00:00
2026-07-16 00:33:31 +00:00
2026-08-24 12:24:23 +00:00
2026-08-02 20:29:09 +00:00
2026-08-09 13:27:05 +00:00
2026-07-16 00:33:31 +00:00
2026-08-28 10:34:02 +00:00
2026-07-25 06:05:20 +00:00