Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
commit
50c1c08c51
|
@ -2109,6 +2109,7 @@ export class TransactionService {
|
|||
const { total_expense } = await baseQuery
|
||||
.select('SUM(transaction_journal.amount) as total_expense')
|
||||
.innerJoin('transactions.transactionJournal', 'transaction_journal')
|
||||
.innerJoin('transactions', 'transactions')
|
||||
.where(
|
||||
`transaction_journal.type = '0' and transaction_journal.amount < product_price.price and transactions.status = 1 and partner_trx_id is NULL`,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user