mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 12:30:58 +00:00
enhance booking windows section with pagination and improved UI
This commit is contained in:
@@ -83,6 +83,16 @@ export class TrainSchedulingController {
|
||||
return this.trainSchedulingService.getBookingWindowsForContract(contractId);
|
||||
}
|
||||
|
||||
@Get("booking-windows")
|
||||
@TrainSchedulingView()
|
||||
@ApiOperation({
|
||||
summary:
|
||||
"All announced booking windows across lanes (import cycle + export FCFS), for staff dashboards",
|
||||
})
|
||||
listBookingWindows() {
|
||||
return this.trainSchedulingService.listAllBookingWindows();
|
||||
}
|
||||
|
||||
@Get("global-rules")
|
||||
@TrainSchedulingView()
|
||||
@ApiOperation({ summary: "Get global train scheduling rules (singleton)" })
|
||||
|
||||
Reference in New Issue
Block a user