mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 10:10:57 +00:00
Muluhabt ERP modules
This commit is contained in:
17
apps/finance-api/src/modules/reports/reports.module.ts
Normal file
17
apps/finance-api/src/modules/reports/reports.module.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
|
||||
import { ReportsService } from "./reports.service";
|
||||
import { ReportsController } from "./reports.controller";
|
||||
|
||||
/**
|
||||
* No `TypeOrmModule.forFeature` — every report is raw SQL over the DataSource,
|
||||
* the sanctioned approach for cross-table aggregates and the one HR's 3.7
|
||||
* reports use. There are no entities to register because there is nothing to
|
||||
* write: this module is read-only end to end.
|
||||
*/
|
||||
@Module({
|
||||
controllers: [ReportsController],
|
||||
providers: [ReportsService],
|
||||
exports: [ReportsService],
|
||||
})
|
||||
export class ReportsModule {}
|
||||
Reference in New Issue
Block a user