Merge pull request #1055 from Tria-plc/freight_feature/usermanagement

enhance contract and train scheduling features
This commit is contained in:
marshal
2026-08-01 08:38:52 +03:00
committed by GitHub
12 changed files with 511 additions and 463 deletions

View File

@@ -7746,6 +7746,9 @@ export class TrainSchedulingService {
weightTons: sb.booking
? this.grossBookingWeightTons(sb.booking, tareDims)
: 0,
// Cargo only (VGM / bulk tons) — what the customer actually booked,
// without the wagons' tare. The legs tab shows this per booking.
cargoWeightTons: sb.booking ? bookingCargoTons(sb.booking) : 0,
status: sb.booking?.status ?? null,
schedulingStatus: sb.booking?.schedulingStatus ?? null,
freightType: sb.booking?.freightType ?? null,