mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Merge pull request #1149 from Tria-plc/freight_feature/usermanagement
fix wagon cncellation
This commit is contained in:
@@ -56,7 +56,11 @@ export class BookingTransitionService {
|
||||
private readonly bookingClearanceService: BookingClearanceService,
|
||||
@Inject(forwardRef(() => ClearanceWorkflowService))
|
||||
private readonly workflowService: ClearanceWorkflowService,
|
||||
private readonly invoiceService: BookingInvoiceService,
|
||||
// forwardRef: booking-invoice.service now pulls in the wagon-cancellation
|
||||
// service, whose cross-module imports close a require cycle through this
|
||||
// file — without it the class is undefined at decorator time.
|
||||
@Inject(forwardRef(() => BookingInvoiceService))
|
||||
private readonly invoiceService: BookingInvoiceService,
|
||||
private readonly containerValidationService: ContainerValidationService,
|
||||
private readonly notifier: BookingLifecycleNotifierService,
|
||||
private readonly events: EventEmitter2,
|
||||
|
||||
@@ -98,6 +98,9 @@ export class ContractBookingService {
|
||||
private readonly containerTypesService: ContainerTypesService,
|
||||
private readonly ruleEngineService: RuleEngineService,
|
||||
private readonly milestoneService: ClearanceMilestoneService,
|
||||
// forwardRef: part of the booking-invoice ⇄ wagon-cancellation ⇄ contracts
|
||||
// require cycle (see BookingTransitionService).
|
||||
@Inject(forwardRef(() => BookingInvoiceService))
|
||||
private readonly invoiceService: BookingInvoiceService,
|
||||
private readonly bookingNotifier: BookingLifecycleNotifierService,
|
||||
private readonly dataSource: DataSource,
|
||||
|
||||
Reference in New Issue
Block a user