Hi,
my assignemt says (URLyBird 1.1.2:
They take bookings only within 48 hours of the start of room occupancy.
What does this "only within 48 hours" imply?
Doesn't this mean, that if the equation
now + 48 hours < available date
ist true, that I have to avoid booking because of the stated rule?
And since most booking dates in the given database are in the past, booking wouldn't be possible anyways?
This is why I implemented the update-functionality for all fields as well, because if you want to book, you have to make sure:
1. there is an available room with a date in future (because booking rooms in the past just doesn't make sense2. enable booking only, if it takes place within 48 hours up to the availbility date
Kind regards,
Andy