mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 11:50:31 +00:00
31 lines
1.5 KiB
TypeScript
31 lines
1.5 KiB
TypeScript
import { forwardRef, Module } from '@nestjs/common';
|
|
import { CreateRefundCreditNoteService } from './commands/CreateRefundCreditNote.service';
|
|
import { DeleteRefundCreditNoteService } from './commands/DeleteRefundCreditNote.service';
|
|
import { RefundCreditNoteService } from './commands/RefundCreditNote.service';
|
|
import { RefundSyncCreditNoteBalanceService } from './commands/RefundSyncCreditNoteBalance';
|
|
import { CreditNotesRefundsApplication } from './CreditNotesRefundsApplication.service';
|
|
import { CreditNoteRefundsController } from './CreditNoteRefunds.controller';
|
|
import { CreditNotesModule } from '../CreditNotes/CreditNotes.module';
|
|
import { GetCreditNoteRefundsService } from './queries/GetCreditNoteRefunds.service';
|
|
import { RefundCreditNoteGLEntries } from './commands/RefundCreditNoteGLEntries';
|
|
import { RefundCreditNoteGLEntriesSubscriber } from '../CreditNotes/subscribers/RefundCreditNoteGLEntriesSubscriber';
|
|
import { LedgerModule } from '../Ledger/Ledger.module';
|
|
import { AccountsModule } from '../Accounts/Accounts.module';
|
|
|
|
@Module({
|
|
imports: [forwardRef(() => CreditNotesModule), LedgerModule, AccountsModule],
|
|
providers: [
|
|
CreateRefundCreditNoteService,
|
|
DeleteRefundCreditNoteService,
|
|
RefundCreditNoteService,
|
|
RefundSyncCreditNoteBalanceService,
|
|
CreditNotesRefundsApplication,
|
|
GetCreditNoteRefundsService,
|
|
RefundCreditNoteGLEntries,
|
|
RefundCreditNoteGLEntriesSubscriber,
|
|
],
|
|
exports: [RefundSyncCreditNoteBalanceService],
|
|
controllers: [CreditNoteRefundsController],
|
|
})
|
|
export class CreditNoteRefundsModule { }
|