mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
Merge branch 'dev' of github.com:Tria-plc/edr-platform into freight_feature/usermanagement
This commit is contained in:
@@ -39,7 +39,11 @@ export class TrainSchedulesRepository extends BaseRepository<TrainSchedule> {
|
||||
physicalWagon: true,
|
||||
allocations: {
|
||||
booking: { company: true, bookingContainers: { containerType: true } },
|
||||
containerItems: true,
|
||||
// Both size sources loaded: the item's own container_type_id FK
|
||||
// (always set for a manually-entered item) and the booking-line
|
||||
// fallback via bookingContainer.containerType — the marshalling
|
||||
// document's 40ft/20ft tally reads whichever is present.
|
||||
containerItems: { containerType: true, bookingContainer: { containerType: true } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user