Merge branch 'development' into 'devops-staging'

fix: confirm deposit return

See merge request empatnusabangsa/ppob/ppob-backend!53
This commit is contained in:
ilham dwi pratama 2021-12-22 17:30:43 +00:00
commit 42f830814f

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,
); );