fix: confirm deposit return
This commit is contained in:
parent
518c330ff9
commit
43b998c836
|
@ -446,23 +446,23 @@ export class TransactionService {
|
||||||
const transactionData = await this.findApprovalDepositReturn(id);
|
const transactionData = await this.findApprovalDepositReturn(id);
|
||||||
|
|
||||||
const coaSenderWallet = await this.coaService.findByUser(
|
const coaSenderWallet = await this.coaService.findByUser(
|
||||||
transactionData.user_destination,
|
transactionData.user,
|
||||||
coaType.WALLET,
|
coaType.WALLET,
|
||||||
);
|
);
|
||||||
|
|
||||||
const coaAP = await this.coaService.findByUserWithRelated(
|
const coaAP = await this.coaService.findByUserWithRelated(
|
||||||
transactionData.user_destination,
|
transactionData.user,
|
||||||
userData.userId,
|
userData.userId,
|
||||||
coaType.ACCOUNT_PAYABLE,
|
coaType.ACCOUNT_PAYABLE,
|
||||||
);
|
);
|
||||||
|
|
||||||
const coaReceiverWallet = await this.coaService.findByUser(
|
const coaReceiverWallet = await this.coaService.findByUser(
|
||||||
transactionData.user_destination,
|
transactionData.user,
|
||||||
coaType.WALLET,
|
coaType.WALLET,
|
||||||
);
|
);
|
||||||
|
|
||||||
const coaAR = await this.coaService.findByUserWithRelated(
|
const coaAR = await this.coaService.findByUserWithRelated(
|
||||||
transactionData.user_destination,
|
transactionData.user,
|
||||||
userData.userId,
|
userData.userId,
|
||||||
coaType.ACCOUNT_RECEIVABLE,
|
coaType.ACCOUNT_RECEIVABLE,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user