diff --git a/application/modules/cashin/cahsin.model.js b/application/modules/cashin/cahsin.model.js index 439b4d2..491e612 100644 --- a/application/modules/cashin/cahsin.model.js +++ b/application/modules/cashin/cahsin.model.js @@ -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',