mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-31 09:37:38 +00:00
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>