mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 10:46:28 +00:00
bug fixed
This commit is contained in:
@@ -132,7 +132,7 @@ const getReservationPendingWithFlagCounter = (cardNumber, time, flag) => {
|
||||
)
|
||||
.where('c_card_number', cardNumber)
|
||||
.whereIn('c_status', ['P', 'I'])
|
||||
.whereRaw('??::INT < ??', ['c_flag', parseInt(255)])
|
||||
.whereRaw('??::INT <= ??', ['c_flag', parseInt(255)])
|
||||
// .where("d_expired", ">=", time)
|
||||
.where('c_flag', '!=', '-1');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user