A restaurant website, including a menu that can be filtered by allergens, as well as a booking function. Portfolio Project 4 for Code Institute Full Stack Software Development course.
As a guest with a current reservation, I can edit this reservation easily online so that I can alter the time, date, number of guests or location of the table without having to make a new reservation.
Acceptance Criteria
[x] The Edit function is clearly visible in the My Reservations section.
[x] When a reservation is being altered, that reservation is excluded from the search in check_availability, allowing the previous and new reservation to overlap.
[x] When a reservation is edited, the original entry from the Reservations database is updated.
[x] A confirmation email is automatically generated and sent to both the user and the restaurant, informing them on the change to the reservation.
As a guest with a current reservation, I can edit this reservation easily online so that I can alter the time, date, number of guests or location of the table without having to make a new reservation.
Acceptance Criteria
check_availability
, allowing the previous and new reservation to overlap.