allow first time segment length for unscheduled use to be configurable

This commit is contained in:
Bilal Catic
2019-11-22 20:22:44 +01:00
parent 1436f0fdab
commit 93d46c231e
4 changed files with 83 additions and 3 deletions

View File

@@ -205,6 +205,14 @@ const getUnlockEntryForReservation = (reservation, previousReservation) => {
const toTimestamp = reservation.end;
// if (reservation.memberId === '5ce785af422bdd00967fb781') {
// console.log('=======================');
// console.log('\tStart : ', moment.tz(reservation.start, reservation.timezone).format('DD.MM, HH:mm'));
// console.log('\tEnd : ', moment.tz(reservation.end, reservation.timezone).format('DD.MM, HH:mm'));
// console.log('\t----------------------------------');
// console.log('\tFrom time : ', fromTimestamp);
// console.log('\tTo time : ', toTimestamp);
// }
const filters = {
memberId,