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:

  1. Design and implement a user interface component to display the user's existing bookings.
  2. Provide an option or button to cancel or delete each booking.
  3. Implement logic to retrieve the booking details from the database for the selected booking.
  4. Display the relevant details of the booking to confirm the cancellation or deletion.
  5. Prompt the user to confirm their intention to cancel or delete the booking.
  6. Implement the cancellation or deletion logic, removing the booking from the database or marking it as canceled.
  7. Display a confirmation message or notification to inform the user that the booking has been successfully canceled or deleted.
  8. Handle cases where the cancellation or deletion of a booking is not allowed based on business rules or time constraints.
  9. Consider implementing a cancellation policy that defines any applicable fees or restrictions for canceling a booking.
  10. Update the user's booking history or records to reflect the canceled or deleted status of the booking.
  11. Implement error handling for cases where there are issues canceling or deleting the booking in the database or with the server.
  12. Test the functionality thoroughly to ensure the accurate cancellation or deletion of the user's bookings.