diff --git a/application/modules/auth/auth.controller.js b/application/modules/auth/auth.controller.js index d81d0ea..422d734 100644 --- a/application/modules/auth/auth.controller.js +++ b/application/modules/auth/auth.controller.js @@ -75,10 +75,14 @@ const loginPartnerUser = async (req, res, next) => { let { email, password } = req.body; // log info - winston.logger.info( - `${uniqueCode} [ REQUEST LOGIN-PARTNER-USER ]: ${JSON.stringify({ - email: email, - })}` + // winston.logger.info( + // `${uniqueCode} [ REQUEST LOGIN-PARTNER-USER ]: ${JSON.stringify({ + // email: email, + // })}` + // ); + + console.log( + `${uniqueCode} [ REQUEST LOGIN-PARTNER-USER ]: ${JSON.stringify(result)}` ); // validate @@ -201,9 +205,9 @@ const loginPartnerUser = async (req, res, next) => { }; // log info - winston.logger.info( - `${uniqueCode} [ RESPONSE LOGIN-PARTNER-USER ]: ${JSON.stringify(result)}` - ); + // winston.logger.info( + // `${uniqueCode} [ RESPONSE LOGIN-PARTNER-USER ]: ${JSON.stringify(result)}` + // ); return res.status(200).json(result); } catch (error) { @@ -705,11 +709,11 @@ const refreshTokenPartnerUser = async (req, res) => { let refresh_token = req.header('refresh_token'); // log info - winston.logger.info( - `${uniqueCode} [ REQUEST REFRESH-TOKEN-PARTNER-USER ]: ${JSON.stringify( - req.body - )}` - ); + // winston.logger.info( + // `${uniqueCode} [ REQUEST REFRESH-TOKEN-PARTNER-USER ]: ${JSON.stringify( + // req.body + // )}` + // ); // validate let err = validationResult(req); @@ -837,11 +841,11 @@ const refreshTokenPartnerUser = async (req, res) => { }; // log info - winston.logger.info( - `${uniqueCode} [ RESPONSE REFRESH-TOKEN-PARTNER-USER ]: ${JSON.stringify( - result - )}` - ); + // winston.logger.info( + // `${uniqueCode} [ RESPONSE REFRESH-TOKEN-PARTNER-USER ]: ${JSON.stringify( + // result + // )}` + // ); return res.status(200).json(result); } catch (error) { 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',