0% found this document useful (0 votes)
42 views16 pages

RESTAURANT Project 12 FINAL

class 12 project

Uploaded by

akshy11102006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views16 pages

RESTAURANT Project 12 FINAL

class 12 project

Uploaded by

akshy11102006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

RESTAURANT

MANAGEMENT
SYSTEM!

COMPUTER PROJECT 2023-24

MADE BY-AKSHITA SACHDEVA

CLASS-12TH A
INDEX
 Acknowledgment
 Certificate
 What is our project
 How does it work
 Program
 Output
 Bibliography
A
C
K I would like to thank my
N computer science teacher, Ms.
Prajjya Dutta for guiding me
O throughout this project work. I
would also thank our lab
W assistant Mr. Praveen Kumar
who helped me to line up the
L project and helped me with
practical work.
E A special acknowledgement goes
to my principal Ms. Inderpreet
D Bhumra who gave me the
opportunity of this wonderful
G project, which also helped me in
doing a lot of research and i
E came to know about so many
new things.
M I wish to thank my parents as
well for their support and
E encouragement without which i
would not have completed this
N project in the limited time frame.
In the end i would like to thank
T my friends who
motivated me to continue this
CERTIFICAT
E
This is to certify that Akshita Sachdeva of class XII-A has
completed her project to my total satisfaction. I certify that
this project is up to my expectation and as per the issued
CBSE guidelines.

____________
Signature
Ms. Prajjya Dutta
(Computer Science Teacher)
WHAT IS MY
PROJECT?

My project is about restaurant management system. It


helps you to manage a restaurant and hold a record for
all the bills. The program also lets you view every
aspect of menu. I have provided various options to the
cashier for managing the total bill of the customers. The
purpose behind making this project is for making the
work of the customer as well as the cashier easy and
thus encouraging them to visit the store more
frequently.
HOW DOES IT WORK
This program takes the order of the food customer wants to have
along with it’s quantity as an input then on clicking the total
button a function is called which tells the total amount customer
needs to pay ,on clicking the receipt button a bill is generated
along with the bill number and date. This could be saved by
clicking save button for restaurant’s future use.
We can also see the menu on clicking the menu button
It also contains calculator in case the customer just wants to see
the price of items before purchasing.
We can reset it after payment by reset button.

We have used several modules like:


 Tkinter
 Filedialog
 Messagebox
 Time
It also uses text file to save the bill and to generate bill number
line wise.
PROGRA
M
from tkinter import*
from tkinter import filedialog,messagebox
import random
import time

#Funtions

def reset()

buttonsave=Button(Buttonframe,text='Save',font=('arial',
18,'bold'),bg='light grey',command=save)
buttonsave.grid(row=0,column=2)

buttonmenu=Button(Buttonframe,text='Menu',font=('arial',
18,'bold'),bg='light grey',command=menu)
buttonmenu.grid(row=0,column=3)

buttonreset=Button(Buttonframe,text='Reset',font=('arial',
18,'bold'),bg='light grey',command=reset)
buttonreset.grid(row=0,column=4)

#text receipt

textreceipt=Text(Receiptframe,font=('arial',12,'bold'),bd=3,
width=46,height=12)
textreceipt.grid(row=0,column=0)

#calculator
operator=' '
def buttonclick(numbers):
global operator
operator=operator+numbers
calculatorfield.delete(0,END)
calculatorfield.insert(END,operator)

def clear():
global operator
operator=' '
calculatorfield.delete(0,END)

def answer():
global operator
result=str(eval(operator))#eval operates
calculatorfield.delete(0,END)
calculatorfield.insert(0,result)
operator=''

calculatorfield=Entry(calculatorframe,font=('arial',16,
'bold'),width=35,bd=6)
calculatorfield.grid(row=0,column=0,columnspan=4)

button7=Button(calculatorframe,text='7',font=('arial',12,
'bold'),fg='yellow',bg='Slate Gray4',
bd=6,width=9,command=lambda:buttonclick('7'))
button7.grid(row=1,column=0)

button8=Button(calculatorframe,text='8',font=('arial',12,
'bold'),fg='yellow',bg='Slate Gray4',
bd=6,width=9,command=lambda:buttonclick('8'))
button8.grid(row=1,column=1)

button9=Button(calculatorframe,text='9',font=('arial',12,
'bold'),fg='yellow',bg='Slate Gray4',
bd=6,width=9,command=lambda:buttonclick('9'))
button9.grid(row=1,column=2)

buttonplus=Button(calculatorframe,text='+',font=('arial',12
,'bold'),fg='yellow',bg='SlateGray4',
bd=6,width=9,command=
lambda:buttonclick('+'))
buttonplus.grid(row=1,column=3)

button4=Button(calculatorframe,text='4',font=('arial',12,
'bold'),fg='yellow',bg='SlateGray4',bd=6,width=9,
command=lambda:buttonclick('4'))
button4.grid(row=2,column=0)
button5=Button(calculatorframe,text='5',font=('arial',12,
'bold'),fg='red4',bg='white',bd=6,width=9,
command=lambda:buttonclick('5'))
button5.grid(row=2,column=1)

button6=Button(calculatorframe,text='6',font=('arial',12,
'bold'),fg='red4',bg='white',bd=6,width=9,
command=lambda:buttonclick('6'))
button6.grid(row=2,column=2)

buttonMinus=Button(calculatorframe,text=
'-',font=('arial',12,'bold'),fg='yellow',bg='Slate
Gray4',bd=6,width=9,
command=lambda:buttonclick('-'))
buttonMinus.grid(row=2,column=3)

button1=Button(calculatorframe,text='1',font=('arial',12,
'bold'),fg='yellow',bg='Slate Gray4',bd=6,width=9,
command=lambda:buttonclick('1'))
button1.grid(row=3,column=0)

button2=Button(calculatorframe,text='2',font=('arial',12,
'bold'),fg='red4',bg='white',bd=6,width=9,
command=lambda:buttonclick('2'))
button2.grid(row=3,column=1)

button3=Button(calculatorframe,text='3',font=('arial',12,
'bold'

buttonDiv=Button(calculatorframe,text='/',font=('arial',12,'
bold'),fg='yellow',bg='SlateGray4',
bd=6,width=9,
command=lambda:buttonclick('/'))
buttonDiv.grid(row=4,column=3)

root.mainloop()
OUTPUT

On running the program a window like this will appear.


Calculator can be used to know the price separately example
price of 4 bowls of soup:
Bibliography
 Computer science-Sumita Arora
 https://docs.python.org/3/library/tkinter.html
 https://www.geeksforgeeks.org/python-gui-tkinter/
 https://www.youtube.com/@proprogramming
 https://www.youtube.com/@codinglifestyle4u

You might also like