fix: transaction for dashboard partner
This commit is contained in:
parent
15a886eac0
commit
9b2d4ba516
|
@ -1117,7 +1117,7 @@ export class TransactionService {
|
|||
const baseQuery = this.transactionRepository
|
||||
.createQueryBuilder('transactions')
|
||||
.innerJoin('transactions.product_price', 'product_price')
|
||||
.where('transactions.type = 1')
|
||||
.where('transactions.type = 1 and transactions.status = 1')
|
||||
.andWhere('transactions.user = :id', {
|
||||
id: userData.id,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user