mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 10:46:28 +00:00
bug fixed field
This commit is contained in:
@@ -392,7 +392,7 @@ const getTopUpCashlessInternal = async (trx, code, date, invoice) => {
|
||||
.where('tdpr.d_payment', '=', date)
|
||||
.where('tdsi.c_invoice_no', '=', invoice)
|
||||
.where('tdpr.c_status', '=', 'S')
|
||||
.whereNotNull('tdsi.c_return_cash_in_sap')
|
||||
.whereNotNull('tdsi.c_return_sap')
|
||||
.whereRaw(
|
||||
`tdskm.c_topup_no NOT IN (SELECT c_reservation_no FROM payment.t_d_cash_in_detail WHERE b_reversal IS NOT TRUE)`
|
||||
);
|
||||
@@ -643,7 +643,7 @@ const getPartnerReconTopUpCashlessInternal = async (trx) => {
|
||||
})
|
||||
.where('tdsi.c_status', '!=', 'X')
|
||||
.where('tdpr.c_status', '=', 'S')
|
||||
.whereNotNull('tdsi.c_return_cash_in_sap')
|
||||
.whereNotNull('tdsi.c_return_sap')
|
||||
.whereNull('tdskm.i_cash_in')
|
||||
.groupBy([
|
||||
'tmp.c_code',
|
||||
|
||||
Reference in New Issue
Block a user