fix: transaction for dashboard partner
This commit is contained in:
		| @@ -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, | ||||
|       }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user