Merge branch 'develop_v1.4.8'

This commit is contained in:
2023-11-25 17:25:30 +07:00
+2 -4
View File
@@ -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;