mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 12:00:59 +00:00
- Updated OverviewContractsTabPanel to include a new donut chart for freight type distribution. - Modified OverviewOperationsTabPanel to improve data visualization with additional charts and refactored data handling. - Introduced CreateScheduleWindowFields component for configuring booking windows in train scheduling. - Added new API endpoints for allocation candidates and booking allocation in trainScheduling.service. - Enhanced BookingRequestsPage to support allocation of paid bookings with a modal for selecting alternative dates. - Updated QUERY_KEYS and URLS constants to accommodate new operations and features. - Improved type definitions for overview and train scheduling to support new functionalities.
41 lines
1.4 KiB
TypeScript
41 lines
1.4 KiB
TypeScript
import { Module } from "@nestjs/common";
|
|
import { TypeOrmModule } from "@nestjs/typeorm";
|
|
import { Employee } from "@tria-plc/iamapi-common";
|
|
import { User } from "@tria-plc/iamapi-common/entities/iam/user/user.entity";
|
|
|
|
import { Booking } from "../bookings/entities/booking.entity";
|
|
import { Cargo } from "../cargoes/entities/cargoes.entity";
|
|
import { Container } from "../container-management/entities/container.entity";
|
|
import { Company } from "../companies/entities/company.entity";
|
|
import { Contract } from "../contracts/entities/contract.entity";
|
|
import { PaymentEntity } from "../payment/entities/payment.entity";
|
|
import { TrainSchedule } from "../train-schedules/entities/train-schedule.entity";
|
|
import { Train } from "../trains/entities/train.entity";
|
|
import { Wagon } from "../wagons/entities/wagon.entity";
|
|
import { UserTradeAccessModule } from "../user-trade-access/user-trade-access.module";
|
|
import { OverviewController } from "./overview.controller";
|
|
import { OverviewRepository } from "./overview.repository";
|
|
import { OverviewService } from "./overview.service";
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([
|
|
Booking,
|
|
PaymentEntity,
|
|
Company,
|
|
Train,
|
|
TrainSchedule,
|
|
Wagon,
|
|
Container,
|
|
Cargo,
|
|
Contract,
|
|
Employee,
|
|
User,
|
|
]),
|
|
UserTradeAccessModule,
|
|
],
|
|
controllers: [OverviewController],
|
|
providers: [OverviewService, OverviewRepository],
|
|
})
|
|
export class OverviewModule { }
|