mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 22:46:26 +00:00
update
This commit is contained in:
@@ -126,7 +126,7 @@ const insertPaymentReconNumber = (paymentReconNumber) => {
|
||||
const getLastCounterPaymentReconNo = (partnerCode, reconDate) => {
|
||||
let result = knex("trx.t_d_reservation_balance")
|
||||
.select("c_payment_recon_no", "d_payment_recon")
|
||||
.where("d_payment_recon", reconDate)
|
||||
.whereRaw("?::date = ?", ['d_payment_recon', reconDate])
|
||||
.where("c_partner_code", partnerCode)
|
||||
.where("c_status", "A")
|
||||
.whereNotNull("c_payment_recon_no")
|
||||
|
||||
Reference in New Issue
Block a user