Merge branch 'develop_v1.4.8' of https://github.com/mohamadihsan/topuponline into develop_v1.4.9

This commit is contained in:
2024-01-24 19:11:39 +07:00
+1 -1
View File
@@ -378,7 +378,7 @@ const getPartnerRecon = async (trx) => {
'i_company',
'i_holding',
trx.raw(`CASE
WHEN to_char(tdpr.d_payment, 'MM') >= to_char(tdi.d_invoice_date, 'MM')
WHEN to_char(tdpr.d_payment, 'YYYYMM') >= to_char(tdi.d_invoice_date, 'YYYYMM')
THEN 'IP'
ELSE
'OP'