Restaurant MIS (Management System)
Restaurant MIS (Management System)
Restaurant MIS (Management System)
COMPUTER SCIENCE
ON
RESTAURANT MIS
(MANAGEMENT SYSTEM)
SUBMITTED BY:
Spandan pattanaik
Class:XII
Signature(Supervisor):-
Declaration
This is to certify that the project entitled
“BOOK STORE MIS( Management System)” is
an original piece of work done by
spandan of Class-XII, Sec-B in
accordance with the topic allotted to
her/him.
This project is submitted towards the
partial fulfilment of the conditions laid
down for AISSCE Practical Examination
2023-2024 and embodies the work done
by her under my guidance and
supervision.
Signature:-
Acknowledgement
I feel great pleasure in expressing my
gratitude to my principal and Computer
teacher Geetanjali Hota for this project
activity
02 Certificate
03 Content
04 Introduction
05 Sourcecode
06 Output
07 Bibligraphy
Introduction
This paper presents a b o o k s t o r e
management system (SMS) that is
implemented in Python using the pickle
module to store books records in a
binary file. The SMS is designed to be
simple and efficient to use, and can
handle a large number of books records.
It is also designed to be extensible, so
that new feature s can be easily added
in the future.
Objective
Automate and Simplify Restaurant Operations:
Streamline order processing and reduce
manual data entry to minimize errors and
enhance efficiency.
Automate inventory tracking and alerts to
optimize stock levels, prevent shortages, and
reduce waste.
Facilitate data-driven decision-making
through comprehensive sales reports and
analytics.
Enhance Customer Experience:
Expedite order taking and ensure accurate
fulfillment to reduce customer wait times and
improve satisfaction.
Enable staff to manage customer preferences
and special requests effectively.
Provide real-time inventory visibility to ensure
menu items are available, avoiding customer
disappointment.
Optimize Cost Management and Profitability:
Track ingredient usage and food costs to
optimize menu pricing and minimize expenses.
Implement inventory management strategies
to reduce waste and ensure optimal stock
levels.
Identify popular menu items and adjust
offerings to maximize profitability.
Source code
:
import mysql.connector
mydb=mysql.connector.connect (host="localhost", user="root", password="admin")
while True:
print("""1:Signup
2:Login""")
ch=int(input("SIGNUP/LOGIN(1,2):"))
#SIGNUP
if ch==1:
username=input("USERNAME:")
pw=input("PASSWORD:")
#LOGIN
elif ch==2:
username=input("USERNAME:")
pw=input("PASSWORD:")
if a is not None:
print("""+++++++++++++++++++++++
+++LOGIN SUCCESSFULL+++
+++++++++++++++++++++++""")
print("""==================================================
====================
++++++++++++++++++++++++++ MY BOOK STORE ++++++++++++++++
+++++++++
=======================================================
===================""")
while(True):
print("""1:Add Books
2:Delete Books
3:Search Books
4:Staff Details
5:Sell Record
6:Available Books
7:Total Income after the Latest Reset
8:Exit""")
#ADD BOOKS
if a==1:
print("""++++++++++++++++++++++
++SUCCESSFULLY ADDED++
++++++++++++++++++++++""")
else:
mycursor.execute("insert into
Available_Books(bookname,genre,quantity,author,publication,price)
values('"+book+"','"+genre+"','"+str(quantity)
+"','"+author+"','"+publication+"','"+str(price)+"')")
mydb.commit()
print("""++++++++++++++++++++++
++SUCCESSFULLY ADDED++
++++++++++++++++++++++""")
#DELETE BOOKS
elif a==2:
print("AVAILABLE BOOKS...")
if max(lk)<n:
print(n,"Books are not available!!!!")
else:
mycursor.execute("select bookname from available_books where
bookname='"+book+"'")
log=mycursor.fetchone()
print("""++++++++++++++++++++++
++BOOK HAS BEEN SOLD++
++++++++++++++++++++++""")
else:
print("BOOK IS NOT AVAILABLE!!!!!!!")
mycursor.execute("insert into
Staff_details(name,gender,age,phonenumber,address)
values('"+fname+"','"+gender+"','"+str(age)+"','"+str(phno)+"','"+add+"')")
print("""+++++++++++++++++++++++++++++
+STAFF IS SUCCESSFULLY ADDED+
+++++++++++++++++++++++++++++""")
mydb.commit()
#REMOVE STAFF
elif ch==2:
nm=str(input("Enter staff name to remove:"))
mycursor.execute("select name from staff_details where
name='"+nm+"'")
toy=mycursor.fetchone()
if toy is not None:
mycursor.execute("delete from staff_details where name='"+nm+"'")
print("""+++++++++++++++++++++++++++++++++
++STAFF IS SUCCESSFULLY REMOVED++
+++++++++++++++++++++++++++++++++""")
mydb.commit()
else:
print("STAFF DOESNOT EXIST!!!!!!")
else:
print("NO STAFF EXISTS!!!!!!!")
mydb.commit()
#SELL HISTORY
elif a==5:
print("1:Sell history details")
print("2:Reset Sell history")
if ty==1:
mycursor.execute("select * from sell_rec")
for u in mycursor:
print(u)
if ty==2:
bb=input("Are you sure(Y/N):")
if bb=="Y":
mycursor.execute("delete from sell_rec")
mydb.commit()
elif bb=="N":
pass
#AVAILABLE BOOKS
elif a==6:
mycursor.execute("select * from available_books order by bookname")
for v in mycursor:
print(v)