This commit is contained in:
2023-02-20 22:53:16 +07:00
parent 7c6ab450be
commit f0bbf54afc
@@ -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) {