enhancement for cash in sales station

This commit is contained in:
Mohamad Ihsan
2026-01-08 19:58:57 +07:00
parent 1cf06d1fdd
commit 1dd7860c0b
+1 -1
View File
@@ -583,7 +583,7 @@ const getPartnerReconSalesInternal = async (trx) => {
'tmp.c_account_sales_revenue',
'tmp.c_account_code_sales_ar',
trx.raw(`CASE WHEN to_char(tdpr.d_payment, 'YYYYMM') >= to_char(tdsi.d_invoice_date, 'YYYYMM')
THEN 'IP' ELSE 'OP'
THEN 'IP' ELSE 'IP'
END c_in_period`),
])
.from('trx.t_d_sales_internal AS tdskm')