mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 20:46:28 +00:00
update
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user