mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 23:46:28 +00:00
update
This commit is contained in:
@@ -1255,24 +1255,10 @@ const loadingBalanceInsert = async (param) => {
|
||||
let detail = [];
|
||||
reservation_number = [];
|
||||
for (let index = 0; index < getReservationPending.length; index++) {
|
||||
// log debug
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} YYYY1 ${getReservationPending[index]}`
|
||||
);
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} YYYY2 ${getReservationPending[index].c_reservation_no}`
|
||||
);
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} YYYY3 ${getReservationPending[index]['c_reservation_no']}`
|
||||
);
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} YYYY4 ${getReservationPending[index][c_reservation_no]}`
|
||||
);
|
||||
|
||||
reservation_number.push(getReservationPending[index].c_reservation_no);
|
||||
|
||||
let reservation = await model.findReservation(
|
||||
getReservationPending[index].reservation_number
|
||||
getReservationPending[index].c_reservation_no
|
||||
);
|
||||
|
||||
if (!reservation) {
|
||||
|
||||
Reference in New Issue
Block a user