fix issue: user trade access

This commit is contained in:
Marshal
2026-08-03 13:06:43 +00:00
parent 106b07a02b
commit 9afc281d21
4 changed files with 88 additions and 7 deletions

View File

@@ -3020,6 +3020,7 @@ export class BookingBatchService implements OnModuleInit {
: booking.status;
await manager.getRepository(Booking).update(bookingId, {
trainScheduleId: newScheduleId,
scheduledDate: schedule.scheduledDepartureDate,
status: restoredStatus,
// A paid booking still hunting for a wagon keeps its flag through the
// move — it only clears when wagons are actually assigned.