This commit is contained in:
Ahmed Bouhuolia
2025-01-15 15:52:18 +02:00
parent 7bcd578c11
commit 271c46ea3b
24 changed files with 115 additions and 28 deletions

View File

@@ -18,13 +18,20 @@ import { InventoryAdjustmentInventoryTransactions } from './inventory/InventoryA
import { DynamicListModule } from '../DynamicListing/DynamicList.module';
import { LedgerModule } from '../Ledger/Ledger.module';
import { TenancyContext } from '../Tenancy/TenancyContext.service';
import { InventoryCostModule } from '../InventoryCost/InventoryCost.module';
const models = [
RegisterTenancyModel(InventoryAdjustment),
RegisterTenancyModel(InventoryAdjustmentEntry),
];
@Module({
imports: [BranchesModule, WarehousesModule, LedgerModule, DynamicListModule],
imports: [
BranchesModule,
WarehousesModule,
LedgerModule,
DynamicListModule,
InventoryCostModule,
],
controllers: [InventoryAdjustmentsController],
providers: [
...models,
@@ -38,7 +45,7 @@ const models = [
InventoryAdjustmentsGLEntries,
TenancyContext,
InventoryAdjustmentInventoryTransactionsSubscriber,
InventoryAdjustmentInventoryTransactions
InventoryAdjustmentInventoryTransactions,
],
exports: [...models],
})