Restaurant Management System
Restaurant Management System
INTRODUCTION
1.1 Introduction
Online Restaurant Management System is a process of ordering food from a restaurant or food
corporative through a web page or app. Much like ordering consumer goods online, many of these allow
customer to keep accounts with them in order to make frequent ordering convenient. A customer will
search for favorite restaurant, usually filtered via type of cuisine and choose from available items, and
choose delivery or pick-up. Customer can choose one or more items to place an order which will land in
the Cart. Customer can view all the order details in the cart before checking out. At the end, customer
gets order confirmation details.
Today, restaurant waiter takes the customer ordering by manual system with using paper.
Restaurant management system puts the order in a queue with specific priority according to time and
quantity. Initial problem is that the customer has to get connected over the phone; it would be harder if
the restaurant is very popular and busy. Sometimes, waiter information and customer information is
important to restaurant administrator for reference in the future. The chances of committing mistakes at
the restaurant side in providing a menu list for a specific time would be more.
Online Restaurant management system is the system to manage the restaurant business. The main point
of developing this system is to help restaurant administrator manage the restaurant business.
1.4 Objectives
REQUIREMENT ANALYSIS
Since their emergence, restaurants have used the same methods to interact with customers. Pen and
paper is the established method for taking customer’s orders and communicating them to people and
processes.
Restaurant management software is designed specifically to help users manage their food service
establishment. Some platforms have functionality related to customer interactions, such as that found in
a point of sale (POS) system, but more often restaurant management software focuses on behind-the-
scenes processes such as restaurant employee scheduling, inventory management and accounting.
The project is developing because; many restaurants have a lot difficult to manage the business
such as customer ordering and reservation table. If the customer book an order and later wants to cancel
the order, he is permitted to do this only within a specific time period. By using manual customer
ordering it is difficult for the waiter to keep the correct customer information and may lose the customer
information. Online Restaurant management system is the system for manage the restaurant business.
After successful login the customer can access the menu page with the items listed according to the
desired time. The main point of developing this system is to help restaurant administrator manage the
restaurant business and help customer for online ordering.
Platform independent.
The Restaurant database Management system provides following functionality for effective
usage and maintenance of restaurant information.
Administrator:
User:
There are several user levels in Restaurant Management System. Access to the various
subsystems will be protected by a user login, which requires a username and password. This gives
different views and accessible functions of user levels through the system. Maintaining backups ensure
the system database security.
SYSTEM DESIGN
Users
User can get the details of all the items available and the items been ordered. He can't modify the
database but just view the details.
4.1.3 Restaurant module:
It has the data of all the items, items ordered by the customer and payment details.
4.1.4 Database:
Data are known facts that can be recorded and that have implicit meaning. A database is a collection of
related data. Database management system is a collection of programs that enables users to create and
maintain the database. It is a general-purpose software system that facilitates the processes of defining,
constructing, manipulating, and sharing database among various users and applications.
4.2: ER-DIAGRAM
4.3 Schema Diagram
IMPLEMENTATION
Tools used:
Browser (Chrome/Firefox)
Notepad.
Languages used:
5.2: Modules:
The items in the menu are categorized to make it easier for the user to make a choice. This also
makes the system user friendly.
Code:
if(isset($_SESSION['cart']) & !empty($_SESSION['cart'])){
$items = $_SESSION['cart'];
$cartitems = explode(",", $items);
$items .= "," . $_GET['id'];
$_SESSION['cart'] = $items;
//header('location: index.php?status=success');
}else{
$total=0;
$query = mysqli_query($connection, "select * from food_items where item_id=$ss");
The user can add items that they want to order into the cart after viewing them.
Code:
$usvi = mysqli_query($connection, "select * from user_reg where email ='$user' ");
foreach($usvi as $viusr):
if(isset($_POST['delete'])){ $id = $_POST['delete']; mysqli_query($connection, "update checkout
set deliver='delivered' where chk_id='$id'");
print '<script>alert("Successfully Order Delivered..");</script>';
print '<script>window.location.assign("View_user_orders.php");</script>'; }
$vusrs = mysqli_query($connection, "select * from checkout where deliver='food is not delivered'
AND fk_user ='$user'");
After adding the desired items to the cart the user can view all the orders i.e, a summary of their
order. It also displays the total amount that they will have to pay.
Code:
foreach($usvi as $viusr):
mysqli_query($connection,"
fk_category='$fk_category',item_image='$new_name',item_name='$item_name',item_price='$ite
m_price',cre_date='$cre_date' WHERE item_id='$id'");
print '<script>window.location.assign("add_fooditems.php");</script>';
The admin can add new categories of Cuisines or meals. The admin can also remove the existing
items.
Code:
$result = mysqli_query($connection,"SELECT * FROM products where Product like '%$filter%'
or Description like '%$filter%' or Category like '%$filter%'");
if($result){
while($row=mysqli_fetch_array($result)){
$prodID = $row["ID"];
<div class="single-products">
<ahref="product-details.php?prodid='.$prodID.'"rel="bookmark"
title="'.$row['Product'].'"><imgsrc="reservation/img/products/'.$row['imgUrl'].'"
alt="'.$row['Product'].'" title="'.$row['Product'].'" width="150" height="150" />
SNAPSHOTS
2.1 Module1-login
8.1 Conclusion: