- logs in find all coa by user

This commit is contained in:
Fadli
2022-09-06 22:29:26 +07:00
parent 42403184b1
commit e11c6a285b
3 changed files with 14 additions and 1 deletions

View File

@@ -443,6 +443,7 @@ export class UsersService {
])
.getOne();
console.log('coamsk11', 'coa')
const coa = await this.coaService.findByUser(id, coaType.WALLET);
let coaProfit;
@@ -450,6 +451,7 @@ export class UsersService {
userData.roles.id != 'e4dfb6a3-2338-464a-8fb8-5cbc089d4209' &&
userData.roles.id != '21dceea2-416e-4b55-b74c-12605e1f8d1b'
) {
console.log('coamsk12', 'coa')
coaProfit = await this.coaService.findByUser(id, coaType.PROFIT);
}