Merge branch 'development' into 'devops-staging'
fix: transaction for dashboard partner See merge request empatnusabangsa/ppob/ppob-backend!80
This commit is contained in:
commit
04d7e9f15c
|
@ -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