issues
search
OisinWrites
/
Byte
A Restaurant Booking Page
0
stars
2
forks
source link
E3, User Story 3: As a user, I want to cancel or delete my bookings.
#32
Open
OisinWrites
opened
1 year ago
OisinWrites
commented
1 year ago
Tasks:
Design and implement a user interface component to display the user's existing bookings.
Provide an option or button to cancel or delete each booking.
Implement logic to retrieve the booking details from the database for the selected booking.
Display the relevant details of the booking to confirm the cancellation or deletion.
Prompt the user to confirm their intention to cancel or delete the booking.
Implement the cancellation or deletion logic, removing the booking from the database or marking it as canceled.
Display a confirmation message or notification to inform the user that the booking has been successfully canceled or deleted.
Handle cases where the cancellation or deletion of a booking is not allowed based on business rules or time constraints.
Consider implementing a cancellation policy that defines any applicable fees or restrictions for canceling a booking.
Update the user's booking history or records to reflect the canceled or deleted status of the booking.
Implement error handling for cases where there are issues canceling or deleting the booking in the database or with the server.
Test the functionality thoroughly to ensure the accurate cancellation or deletion of the user's bookings.
Tasks: