Files
psp_api/src/modules/bank-accounts/bank-accounts.module.ts
T
ahasani fda190f902 refactor: restructure purchase receipts module and related workflows
- Removed old DTOs for creating and updating purchase receipts.
- Updated purchase receipts controller and service to use new DTOs and workflows.
- Introduced transaction helper for managing database transactions.
- Added new workflows for handling purchase receipt payments and supplier ledgers.
- Implemented new logic for managing purchase receipt items and payments.
- Enhanced error handling for payment processing in workflows.
- Updated supplier ledger management to reflect changes in purchase receipts.
2026-01-05 10:07:23 +03:30

14 lines
502 B
TypeScript

import { Module } from '@nestjs/common'
import { PrismaModule } from '../../prisma/prisma.module'
import { BankAccountsController } from './bank-accounts.controller'
import { BankAccountsService } from './bank-accounts.service'
import { BankAccountsWorkflow } from './bank-accounts.workflow'
@Module({
imports: [PrismaModule],
controllers: [BankAccountsController],
providers: [BankAccountsService, BankAccountsWorkflow],
exports: [BankAccountsWorkflow],
})
export class BankAccountsModule {}