Giter VIP home page Giter VIP logo

codeinstituteportfolio4's People

Contributors

alerebal avatar

Stargazers

 avatar

Watchers

 avatar

codeinstituteportfolio4's Issues

Task: Fix duplicated reservations

When the user is updating a reservation, they can update that reservation to the same day and time that another previous reservation that they already have.
If the user has more than one reservation for the same day, and they try to add another one at same time and day that one of those reservations, sometimes they can do it.

I need to find a way to sove these problems

Task: Fix date picker in past time

Currently the user can choose a date in the past.
Another feature I would like to add is displaying the current day in the datepicker

USER STORY: Users reservations list

As an User I can enter my email so that I can see a list of my reservations

Acceptance Criteria:

  • In the home page the user must be able to enter they email
  • If any, the list of resevations must be shown to the user
  • If the user has no reservation, a message must be displayed

Tasks

  • Create a function to display the list of the user's reservations if any or a message if not
  • The list or message can be displayed at the home page
  • Create an input on the home page so the user will be able to enter they email

STORY USER: Menu management

In order to keep the restaurant menus updated as an Admin, I can create , modify or delete a menu and create, modify and delete any item on them

Acceptance Criteria:

  • Only the admin or any other user that they ask for us to create can be able to create or modify the menus.
  • The menus can be read for any user who wants to see them on the screen.
  • There will be a general menu
  • There may be different short menus(daily menu or offer menu)

Tasks

Task: General cheking

General checking of the project, last time I left it, it was almost done.
I did not submit it because I left time to see if I wanted to add some feature, probably I won't change to much if I change something

USER STORY: Reserve a meal

As a User I can select a day and time so that I can reserve a meal for me and guests(if is anyone)

Acceptance Criteria:

  • The user must not have another reservation at the same time
  • If the user has another reservation the same day but at a different time, let them know about this to avoid a confusion.
  • The reservation can be for one person or for several people.
  • The restaurant must not be full to accept the reservation.
  • There must to be a way to contact with the user, email, telephone or mobile.

Tasks

USER STORY: User must confirm they want to cancel a reservation

As a User I can be warned if I going to cancel a reservation so that I do not cancel a reservation by mistake

Acceptance Criteria:

  • An aleret must be displayed
  • The user must confirm they want to cancel the reservation

Tasks

  • Create a function that show a button that is going to be linked to the delete_reservation funtion when users press the delete or cancel button, and a confirm message.

USER STORY: Contact form

As a User I can fill the contact form to communicate with the restaurant and ask anything I want

Acceptance Criteria:

  • The contact form must be accessible on all pages.
  • The form must contain fields for name, email and message

Tasks

  • Create a message model
  • Create a form contact
  • Add the contact link to the nabvar(just add the url, contact link already exists in the navbar)

USER STORY: Modify a reservation

As an User I can be able to modify my reservation so I can change the number of guests, the date or cancel the reservation

Acceptance Criteria:

  • The user must be able to cancel the reservation.
  • The user must be able to change the number of guests.
  • The user must be able to change the date of the reservation.

Tasks

  • Create a function to remove a reservation.
  • Create a function to update a reservation(change the date or change the number of guests)

STORY USER: Daily managment

In order to organize the work of the day as an Admin, I can obtain the list of different reservations and people that are coming to the restaurant

Acceptance Criteria:

  • The admin must be able to get all the reservations and the number of people that are coming.
  • If the restaurant is 75% or more full, the admin must be informed.

Tasks

  • Create a function that make a list of all the reservations.
  • Create a function that count the number of people and sends an alert if the restaurant is 75% full.

STORY USER: Admin can see future reservation

In order to organize next months work as an Admin, I can see reservations on future months

Acceptance Criteria:

  • The admin can see future date reservations on the panel admin

Tasks

  • Add future month and week date on the panel admin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.