mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 15:18:11 +00:00
feat(freight): offer built-train wagons per boarding yard on multi-yard consists
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { Global, Module } from "@nestjs/common";
|
||||
import { TypeOrmModule } from "@nestjs/typeorm";
|
||||
|
||||
import { ManualPaymentSetting } from "./entities/manual-payment-setting.entity";
|
||||
import { ManualPaymentSettingsController } from "./manual-payment-settings.controller";
|
||||
import { ManualPaymentSettingsService } from "./manual-payment-settings.service";
|
||||
|
||||
/**
|
||||
* Global so billing can inject {@link ManualPaymentSettingsService} to gate
|
||||
* the manual-settlement worklist and confirmation endpoint without importing
|
||||
* this module (and without a cycle, since this module needs nothing back).
|
||||
*/
|
||||
@Global()
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([ManualPaymentSetting])],
|
||||
controllers: [ManualPaymentSettingsController],
|
||||
providers: [ManualPaymentSettingsService],
|
||||
exports: [ManualPaymentSettingsService],
|
||||
})
|
||||
export class PaymentSettingsModule {}
|
||||
Reference in New Issue
Block a user