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

Chandan Project

Uploaded by

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

Chandan Project

Uploaded by

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

A PROJECT REPORT

ON

RESTAURANT BILLING SYSTEM

Submitted to
Central Board of Secondary Education,
New Delhi

Submitted By:- Project Guide:-


Name:Abhimannu Giri Prakash Bhai Patel
Roll No: 01
Board Roll No:

VALLEY VIEW SCHOOL


JAMSHEDPUR
A PROJECT REPORT
ON
RESTAURANT BILLING
SYSTEM
TOOLS USED
Front End :-PYTHON
Back End :-CSV FILE

NAME : ABHIMANNU GIRI


CLASS- 12 SCIENCE , ADMISSION NO.- 3273

Developed at
VALLEY VIEW SCHOOL
CERTIFICATE

This to certify that the project report entitled “SOFTWARE FOR RESTAURANT
BILLING SYSTEM” submitted by Abhimannu of 12B Adm No: 3273 during the
academic year 2024-2025 is a bona-fide piece of work conducted under my
supervision and guidance. The data sources have been duly acknowledged.
I wish him/her success in all his/her future endeavours.

SUPERVISED BY

Mr. Alka Arvind Kumar Mr. Prakash Bhai Patel

(Principal (Project Guide)


PREFACE

The computers have gained a lot of importance in the past five


decades. Most of our day-to-day jobs are being influenced by the use of
computers. Now a day, computers are used for performing almost every
function, which were performed by humans in the past. In some areas such
as science and technology, targets can’t be achieved without the use of
computers. The characteristics that make the computer so important
include its extra ordinary speed, large storage capacity, accuracy and
consistency.

Today computers play a great role in various industries and a large


number of industries are using computers for various application such as
maintaining cashbook, sales book, purchase book and other books of
accounts. Computers can also be used for the designing of various
products. Computers provide many options for the designing of products.

The analysis of the project has been undertaken with utmost sincerity and
honesty and we will be extremely satisfied if the effort is appreciated.
INDEX

1. Acknowledgement

2. Requirements Analysis

3. Feasibility Study

4. Coding

5. Output Screen

6. System Specifications

7. Bibliography
ACKNOWLEDGMENT

I take this opportunity to express my profound sense of gratitude


and respect to all those who helped me throughout this venture.

I owe my regards to Mrs. Alka Arvind Kumar Principal of my School for


his/her cooperation and valuable support and for giving us the
opportunity to undertake this project work and providing the necessary
infrastructure.

I would like to express my heartfelt thanks to my revered teacher


Mrs. Prakash Bhai Patel for his/her valuable guidance, encouragement
and support throughout my project work. This project is his/her
visualization and owes a lot of its functionality to her.

Last but not the least, I owe my overwhelming gratitude to my family


and friends who gave me constant support and motivation to continue
with this endeavour.
Requirement Analysis

Proposed system

All the four activities of systems have been automated and efforts have been made to minimize
the manual working.

Benefits Of Purposed System:-


1. Less Paper Work

The paper work is reduced to minimal level. Computer prepares the lists of
customers.

2. No Manual Work.

There is no manual work. All the processes are done through computer.

3. Record of Libraries.
There is record of all the Libraries who got registered.

4. Register Maintenance is Easier

Register can now easily be maintained by producing a report with a format of adding
Librarys’ records .

5. Data Is Not Scattered

Data is now stored at one place. Any information regarding anything can be easily available
to the user.

6. User-friendly Software

The software is be menu-driven and is very easy to use.

7. Flexibility

The system is more flexible than the manual system being used presently.
FEASIBILITY STUDY

FEASIBILITY STUDY
During the course of completion of this project work, the complete analysis of proposed system
was done. In the analysis task, a complete care about the feasibility of the proposed system was
taken. The following feasibility analyses were carried out during the course of this project work on call
billing system for customer care:
1. Economical feasibility
2. Technical feasibility
3. Operational feasibility

Economical Feasibility:-

Economic analysis is the most frequently used method for evaluating the effectiveness of a
candidate system. The proposed system is economically feasible because the benefits and the
savings that are expected from a candidate system outweigh the cost incurred. In this case we are
getting the intangible benefits in terms of low cost of maintenance of data, less redundancy and
getting the quick results.
Technical Feasibility:-
The existing Hardware and Software facilities support the proposed system. Computer and storage
media are available and software can be developed.
Hardware configuration:
a) Processor : i3
b) Memory : 2 GB RAM
c) HD capacity : 1 TB
Software configuration:-
a) Operating system : Windows 10
b) Back end : csv files
c) Front end : Python
There is nothing which is not technically feasible.
Operational feasibility:-
As in the case of present system the entire work is being done manually. So the data being
scattered, information retrieval becomes difficult and maintaining database is also very tedious. In
case of proposed system, entire work will be done automatically.
CODING
import os

DATA_FILE = 'order_data.txt'

menu = {

1: ("Paneer Butter Masala", 250),

2: ("Naan", 40),

3: ("Butter Naan", 50),

4: ("Mushroom", 200),

5: ("Malai Kofta", 220),

6: ("Veg Biryani", 180),

7: ("Chicken Biryani", 250)

CGST_RATE = 0.025 # 2.5%

SGST_RATE = 0.025 # 2.5%

SERVICE_CHARGE_RATE = 0.05 # 5%

def load_data():

if os.path.exists(DATA_FILE):

with open(DATA_FILE, 'r') as file:

lines = file.readlines()

orders = []

for line in lines:

if line.strip(): # Skip empty lines

order_id, items, total = line.strip().split(';')

items = items.split(',')

orders.append({

"order_id": order_id,

"items": items,

"total": float(total)

})

return orders

else:

return []
def save_data(orders):

with open(DATA_FILE, 'w') as file:

for order in orders:

items = ','.join(order['items'])

file.write(f"{order['order_id']};{items};{order['total']}\n")

def display_menu():

print("\nRestaurant Menu")

for number, (item, price) in menu.items():

print(f"{number}. {item}: ₹{price}")

def calculate_bill(total):

cgst = total * CGST_RATE

sgst = total * SGST_RATE

service_charge = total * SERVICE_CHARGE_RATE

grand_total = total + cgst + sgst + service_charge

return cgst, sgst, service_charge, grand_total

def create_order(orders):

order_id = str(len(orders) + 1)

order_items = []

total = 0

while True:

display_menu()

choice = input("Enter the item number to add (or type 'done' to finish ordering): ").strip()

if choice.lower() == 'done':

break

elif choice.isdigit() and int(choice) in menu:

item_name, item_price = menu[int(choice)]

quantity = input(f"Enter quantity for {item_name}: ").strip()

if quantity.isdigit() and int(quantity) > 0:

quantity = int(quantity)

item_total = item_price * quantity

order_items.append((item_name, quantity, item_total))

total += item_total
print(f"{quantity} x {item_name} added to order. Current total: ₹{total}")

else:

print("Invalid quantity. Please try again.")

else:

print("Invalid choice. Please try again.")

if order_items:

cgst, sgst, service_charge, grand_total = calculate_bill(total)

orders.append({

"order_id": order_id,

"items": [f"{quantity} x {item_name}" for item_name, quantity, item_total in order_items],

"total": grand_total

})

save_data(orders)

print(f"\nBill for Order {order_id}")

print("----------------------------")

for item_name, quantity, item_total in order_items:

print(f"{quantity} x {item_name}: ₹{item_total:.2f}")

print(f"Subtotal: ₹{total:.2f}")

print(f"CGST @ 2.5%: ₹{cgst:.2f}")

print(f"SGST @ 2.5%: ₹{sgst:.2f}")

print(f"Service Charge @ 5%: ₹{service_charge:.2f}")

print(f"Grand Total: ₹{grand_total:.2f}")

print("----------------------------")

print(f"Order {order_id} created successfully!")

def view_orders(orders):

if not orders:

print("No orders found.")

return

print("\nOrders:")

for order in orders:

items = ', '.join(order['items'])

print(f"Order ID: {order['order_id']}, Items: {items}, Total: ₹{order['total']}")

def delete_order(orders):
order_id = input("Enter Order ID to delete: ")

for order in orders:

if order['order_id'] == order_id:

orders.remove(order)

save_data(orders)

print(f"Order {order_id} deleted successfully!")

return

print("Order not found.")

def main():

orders = load_data()

while True:

print("\nBaskin Robbins")

print("1. Place Order")

print("2. View Orders")

print("3. Delete Order")

print("4. Exit")

choice = input("Enter your choice: ")

if choice == '1':

create_order(orders)

elif choice == '2':

view_orders(orders)

elif choice == '3':

delete_order(orders)

elif choice == '4':

break

else:

print("Invalid choice. Please try again.")

if _name_ == "_main_":

main()
OUTPUT SCREENS
SYSTEM
SPECIFICATIONS

HARDWARE SPECIFICATIONS

The following is the hardware specification of the system on which the software has
been developed:-

Operating System : Windows 11 pro

Machine Used : i9 14th 14900k Processor 6 GHz, 32 GB RAM,512GB SSD

SOFTWARE SPECIFICATIONS

Front End Used :

Python

Backend Used :

Data Files
BIBLIOGRAPHY

1.IDLE Python (3.10)


2.www.google.com
3.www.youtube.com
4.Computer Science By Sumita Arora

You might also like