do not create booking reservation for non existing reservation in ORD
This commit is contained in:
@@ -111,7 +111,7 @@ const fetchAllBookings = () => {
|
|||||||
// console.log('End : ', endMoment.clone().tz(fullBookingEntry.timezone).format('DD.MM. HH:mm'), '[', endMoment.toISOString(), ']');
|
// console.log('End : ', endMoment.clone().tz(fullBookingEntry.timezone).format('DD.MM. HH:mm'), '[', endMoment.toISOString(), ']');
|
||||||
// console.log('Fees : ');
|
// console.log('Fees : ');
|
||||||
|
|
||||||
if (startMoment && endMoment){
|
if (firstFee && startMoment && endMoment){
|
||||||
cleanedBookingReservations.push({
|
cleanedBookingReservations.push({
|
||||||
reservationId: fullBookingEntry['_id'],
|
reservationId: fullBookingEntry['_id'],
|
||||||
memberId: fullBookingEntry.member,
|
memberId: fullBookingEntry.member,
|
||||||
|
|||||||
Reference in New Issue
Block a user