fix: confirm deposit return

This commit is contained in:
ilham 2021-12-23 00:29:59 +07:00
parent 2e3c56bb21
commit 518c330ff9

View File

@ -451,8 +451,8 @@ export class TransactionService {
); );
const coaAP = await this.coaService.findByUserWithRelated( const coaAP = await this.coaService.findByUserWithRelated(
userData.userId,
transactionData.user_destination, transactionData.user_destination,
userData.userId,
coaType.ACCOUNT_PAYABLE, coaType.ACCOUNT_PAYABLE,
); );
@ -462,8 +462,8 @@ export class TransactionService {
); );
const coaAR = await this.coaService.findByUserWithRelated( const coaAR = await this.coaService.findByUserWithRelated(
userData.userId,
transactionData.user_destination, transactionData.user_destination,
userData.userId,
coaType.ACCOUNT_RECEIVABLE, coaType.ACCOUNT_RECEIVABLE,
); );