From 3c26dd6e23be38417e86edca6da35c6c286933ec Mon Sep 17 00:00:00 2001 From: lutfi Date: Wed, 20 Dec 2023 14:27:11 +0700 Subject: [PATCH] update generate cash-in --- application/modules/cashin/cahsin.model.js | 1 + 1 file changed, 1 insertion(+) diff --git a/application/modules/cashin/cahsin.model.js b/application/modules/cashin/cahsin.model.js index 0023df9..55dde8a 100644 --- a/application/modules/cashin/cahsin.model.js +++ b/application/modules/cashin/cahsin.model.js @@ -410,6 +410,7 @@ const getPartnerRecon = async (trx) => { .where('tdpr.c_status', '=', 'S') .whereNotNull('tdi.c_return_sap') .whereNotNull('tdrb.c_load_balance_no') + .whereNull('tdrb.c_cash_in_no') .groupBy([ 'tdpr.c_partner_code', 'tdrb.c_partner_name',