mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 10:46:28 +00:00
enhancement for cash in sales station
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user