From 469cf3724e69ecbe0adfc65ff8fa92d25a22041a Mon Sep 17 00:00:00 2001 From: Mohamad Ihsan Date: Tue, 26 Jul 2022 18:38:55 +0700 Subject: [PATCH] update --- application/modules/paymentrecon/paymentrecon.model.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/modules/paymentrecon/paymentrecon.model.js b/application/modules/paymentrecon/paymentrecon.model.js index 8c05caf..5c11cf4 100644 --- a/application/modules/paymentrecon/paymentrecon.model.js +++ b/application/modules/paymentrecon/paymentrecon.model.js @@ -52,7 +52,7 @@ const checkReservationNumberAndAmount = (reservationNumber) => { .sum("i_reservation_amount as total_amount") .groupBy("c_ref_no") .where("c_reservation_no", reservationNumber) - .where("c_status", "A") + // .where("c_status", "A") .whereNull("c_payment_recon_no") .first(); return result; @@ -62,7 +62,7 @@ const checkReservationNumberAndAmountAlreadyRecon = (reservationNumber) => { let result = knex("trx.t_d_reservation_balance") .select("c_payment_recon_no", "d_payment_recon") .where("c_reservation_no", reservationNumber) - .where("c_status", "A") + // .where("c_status", "A") .whereNotNull("c_payment_recon_no") .first(); return result;