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('Fees : ');
|
||||
|
||||
if (startMoment && endMoment){
|
||||
if (firstFee && startMoment && endMoment){
|
||||
cleanedBookingReservations.push({
|
||||
reservationId: fullBookingEntry['_id'],
|
||||
memberId: fullBookingEntry.member,
|
||||
|
||||
Reference in New Issue
Block a user