You are on page 1of 1

Table reservation

Hall scheme - tables, each of which has the following properties:


● Number
● number of seats
● shape (rectangular, oval)
● coordinates (horizontally, vertically)
● dimensions (width, length)

We simply indicate the coordinates and dimensions and store them as a percentage (of the
length/width of the hall). Filling in the scheme of the hall is performed in the admin panel.

A table is reserved by indicating its number and the desired date if this table is not occupied on
that date.

Visually it looks like this:


● the date selection form is displayed on the page, below is the layout of the hall. In the
form, select the date - on the hall scheme, occupied tables are marked for the selected
date (if any)
● links are displayed next to the form for a quick transition to the next, previous, and
current day
● we can click on an unoccupied table, after which it becomes selected. Clicking again
removes the selection.
● if there is at least one selected table, we see a form where you must specify your name
and email address.
● after the form is confirmed, an email is sent to the specified email with a message about
the successful order of the table(s) for a specific date

You might also like