Hello
I've found that at the hostel I'm working at it is much easier for our receptionists to enter reservation dates as 'start date' and 'number of nights'. For example, by default, in the reservation form php-residence has:
From <select date> to <select date>
How can I modify prenota.php to have the form like this?
Arrival <select date>
Number of nights <insert number>
Is there any way to do this?
Moderator: marco
In other words, which is the variable that gets passed as the end date and ends up inserted in the reservations table on the DB?
My idea, is to get the default end date (one day later than the start date) and after getting the number of nights on the form change the end date with the desired number of nights.
Please help
My idea, is to get the default end date (one day later than the start date) and after getting the number of nights on the form change the end date with the desired number of nights.
Please help
-
- Posts: 4
- Joined: Wed Dec 24, 2008 6:53 pm
- Location: Bucyrus, Ohio, USA