- fix total modal in dashboard admin filter by partner id
This commit is contained in:
parent
67e79280b2
commit
43cd745d5e
|
@ -1890,8 +1890,9 @@ export class TransactionService {
|
|||
|
||||
const dataCoa = this.coaRepository
|
||||
.createQueryBuilder('coa')
|
||||
.innerJoin('user', 'user', 'coa.user = user.id')
|
||||
.where(
|
||||
`coa.type = '0'`
|
||||
`coa.type = '0' and user.partner_id is not NULL and user.is_active = true and is_rejected = false`
|
||||
);
|
||||
|
||||
const coa = await dataCoa
|
||||
|
|
Loading…
Reference in New Issue
Block a user