mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 11:06:28 +00:00
Merge branch 'develop_v1.4.8'
This commit is contained in:
@@ -421,10 +421,8 @@ const getPartnerRecon = async (trx) => {
|
||||
'tdi.i_company',
|
||||
'i_holding',
|
||||
])
|
||||
.having(
|
||||
'coalesce(SUM(tdrb.i_reservation_amount),0)',
|
||||
'>',
|
||||
'coalesce(SUM(tdcid.m_amount),0)'
|
||||
.havingRaw(
|
||||
'coalesce(SUM(tdrb.i_reservation_amount),0) > coalesce(SUM(tdcid.m_amount),0)'
|
||||
);
|
||||
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user