Alan-Bushell / la-cocina-del-diablo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USER STORY: Make a Reservation

Alan-Bushell opened this issue · comments

As a Customer I can make a reservation so that I can dine at the venue

Acceptance Criteria

  • User must have an account to make a booking
  • User must have all required information on their profile(name, email, phone number)
  • Admin must be able to see the reservation on the backend to approve
  • User must be able to see reservation status from their profile

Tasks

  • Create booking Model (create backend)
  • Create booking form ( create functionality with HTML and CSS)
  • Add booking details to users profile
  • Add notification for user once booking is accepted
    • Add notification if not accepted

Booking form now works and submits data to the database.

initial issue in pulling data from DB and displaying to user. could not prevent all users have access to all bookings.

This seems to be down to how I created my models.

I have for now at least linked the booking by email address.

Current issue I am encountering is when the booking has been confirmed that it is not updating on the front end.

Will look into this at a later time as the notification side of things is not mandatory for right now.

I have implemented a status change for the users profile page to let them know that a booking has been accepted or declined.

User can edit reservation before it has been accepted.

User can also delete reservation at any stage

While the fundamentals are completed I have not added a notification system once a booking is confirmed.

Will investigate Django signal emails to see if this can fulfill my goals.