fix how unlock and lock entries are matched to the reservation
This commit is contained in:
@@ -368,7 +368,10 @@ const getIncidentData = (reservation) => {
|
||||
const { resourceId } = currentReservation;
|
||||
|
||||
// const reservationMoment = moment.tz(currentReservation.start, currentReservation.timezone);
|
||||
// if (currentReservation.memberId === '5ce785af422bdd00967fb781' && reservationMoment.isAfter('2019-11-23 00:00:16+00')) {
|
||||
// if (currentReservation.memberId === '5ce785af422bdd00967fb781' &&
|
||||
// reservationMoment.isAfter('2019-12-11 00:00:16+00') &&
|
||||
// reservationMoment.isBefore('2019-12-12 23:59:59')
|
||||
// ) {
|
||||
// console.log('\r\n\r\n==== ANALYSE RESERVATION [GET INCIDENT DATA] ==== ');
|
||||
// console.log('\tStart : ', reservationMoment.format('DD.MM, HH:mm'));
|
||||
// console.log('\tEnd : ', moment.tz(currentReservation.end, currentReservation.timezone).format('DD.MM, HH:mm'));
|
||||
|
||||
Reference in New Issue
Block a user