mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 01:48:12 +00:00
fix issue
This commit is contained in:
@@ -8821,6 +8821,13 @@ export class TrainSchedulingService {
|
||||
allocatedWeightTons: roundTons(Number(allocation.allocatedWeightTons)),
|
||||
loadType: allocation.loadType ?? null,
|
||||
status: allocation.status,
|
||||
// THIS load's own corridor, not the wagon's union span.
|
||||
// A wagon reused across disjoint legs carries two loads
|
||||
// with different yards; without these the leg board can
|
||||
// only draw one merged bar and cannot say which load
|
||||
// rides which leg.
|
||||
originYardId: allocation.booking?.originYardId ?? null,
|
||||
destinationYardId: allocation.booking?.destinationYardId ?? null,
|
||||
containerItems: (containerItemsByAllocation.get(allocation.id) ?? []).map(
|
||||
(item) => ({
|
||||
id: item.id,
|
||||
|
||||
Reference in New Issue
Block a user