Files
edr-platform/apps/edr-freight-api/src/modules/train-scheduling
Hagernesh 7df96d3609 feat(train-scheduling): per-row Departure/Arrival Station on marshalling docs
buildExportLoadListHtml's wagon table (origin export doc, Marshalling
2/3, and the intercity fallback) had no station columns — only the
import doc did. Adds Departure Station / Arrival Station per row,
mirroring the import doc's existing pattern: a whole-route wagon reads
the schedule's own origin/destination, a leg-slot wagon reads its own
boardYardId/alightYardId instead (resolved via a new yardLabelById
opt, computed once per document from board+alight yard ids across the
trainSet).

Also fixes two pre-existing off-by-one colspans on the EMPTY row and
the 'No wagons on this train set' placeholder, now that the real
column count changed with the two new ones.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-29 10:02:46 +00:00
..
2026-08-28 10:34:02 +00:00
2026-08-28 10:34:02 +00:00
2026-08-22 06:26:43 +00:00
2026-07-30 11:30:34 +00:00
2026-08-22 01:23:50 +00:00
2026-08-22 01:23:50 +00:00
2026-08-28 10:34:02 +00:00
2026-08-08 14:22:38 +00:00
2026-08-08 14:22:38 +00:00