mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix(server): rename term to
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { Service, Inject } from 'typedi';
|
||||
import events from '@/subscribers/events';
|
||||
import { EventSubscriber } from '@/lib/EventPublisher/EventPublisher';
|
||||
import { PaymentReceiveIncrement } from '@/services/Sales/PaymentReceives/PaymentReceiveIncrement';
|
||||
import { PaymentReceivedIncrement } from '@/services/Sales/PaymentReceived/PaymentReceivedIncrement';
|
||||
import { IPaymentReceiveCreatedPayload } from '@/interfaces';
|
||||
|
||||
@Service()
|
||||
export default class PaymentReceiveAutoSerialSubscriber extends EventSubscriber {
|
||||
@Inject()
|
||||
private paymentIncrement: PaymentReceiveIncrement;
|
||||
private paymentIncrement: PaymentReceivedIncrement;
|
||||
|
||||
/**
|
||||
* Attaches the events with handles.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Inject, Service } from 'typedi';
|
||||
import events from '@/subscribers/events';
|
||||
import { PaymentReceiveInvoiceSync } from '@/services/Sales/PaymentReceives/PaymentReceiveInvoiceSync';
|
||||
import { PaymentReceivedInvoiceSync } from '@/services/Sales/PaymentReceived/PaymentReceivedInvoiceSync';
|
||||
import {
|
||||
IPaymentReceiveCreatedPayload,
|
||||
IPaymentReceiveDeletedPayload,
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
@Service()
|
||||
export default class PaymentReceiveSyncInvoicesSubscriber {
|
||||
@Inject()
|
||||
private paymentSyncInvoice: PaymentReceiveInvoiceSync;
|
||||
private paymentSyncInvoice: PaymentReceivedInvoiceSync;
|
||||
|
||||
/**
|
||||
* Attaches the events to handles.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Service, Inject } from 'typedi';
|
||||
import events from '@/subscribers/events';
|
||||
import { PaymentReceiveNotifyBySms } from '@/services/Sales/PaymentReceives/PaymentReceiveSmsNotify';
|
||||
import { PaymentReceiveNotifyBySms } from '@/services/Sales/PaymentReceived/PaymentReceivedSmsNotify';
|
||||
import { IPaymentReceiveCreatedPayload } from '@/interfaces';
|
||||
import { runAfterTransaction } from '@/services/UnitOfWork/TransactionsHooks';
|
||||
|
||||
@@ -34,7 +34,7 @@ export default class SendSmsNotificationPaymentReceive {
|
||||
tenantId,
|
||||
paymentReceiveId
|
||||
);
|
||||
} catch (error) {}
|
||||
} catch (error) { }
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,12 +5,12 @@ import {
|
||||
IPaymentReceiveEditedPayload,
|
||||
} from '@/interfaces';
|
||||
import events from '@/subscribers/events';
|
||||
import { PaymentReceiveGLEntries } from '@/services/Sales/PaymentReceives/PaymentReceiveGLEntries';
|
||||
import { PaymentReceivedGLEntries } from '@/services/Sales/PaymentReceived/PaymentReceivedGLEntries';
|
||||
|
||||
@Service()
|
||||
export default class PaymentReceivesWriteGLEntriesSubscriber {
|
||||
@Inject()
|
||||
private paymentReceiveGLEntries: PaymentReceiveGLEntries;
|
||||
private paymentReceiveGLEntries: PaymentReceivedGLEntries;
|
||||
|
||||
/**
|
||||
* Attaches events with handlers.
|
||||
|
||||
Reference in New Issue
Block a user