Check in only when expected time within 10 minutes
Some checks failed
build-and-deploy / build-deploy (push) Failing after 29s
Some checks failed
build-and-deploy / build-deploy (push) Failing after 29s
This commit is contained in:
@@ -76,7 +76,7 @@ class BookingFlow(
|
||||
}
|
||||
|
||||
val now = nowForProperty(property.timezone)
|
||||
val shouldCheckIn = !expectedCheckInAt.isBefore(now)
|
||||
val shouldCheckIn = !expectedCheckInAt.isAfter(now.plusMinutes(10))
|
||||
val phone = request.guestPhoneE164?.trim()?.takeIf { it.isNotBlank() }
|
||||
val guest = resolveGuestForBooking(propertyId, property, actor, now, phone)
|
||||
val hasGuestCounts = request.maleCount != null || request.femaleCount != null || request.childCount != null
|
||||
|
||||
Reference in New Issue
Block a user