Escolar Documentos
Profissional Documentos
Cultura Documentos
“Muddy’s Cafe”
Submitted in partial fulfillment of BCA 2nd Year
For the academic session 2016-19
To
UTTARANCHAL UNIVERSITY
STIT UTE OF
1
ACKNOWLEDGEMENT
The most awaited moment of any Endeavour is successful completion, but nothing can be done
successfully if done alone. Success is the outcome of contribution and consistent help of various persons
and we thank those ones who helped us in successful completion of this project.
We profusely thankful to the department‘s head of computer science and applications Dr. Sonal
Sharma and our guide Mr. Amarjeet Rawat. Both have been generous enough to provide us an
opportunity and accepting our candidature for the most valuable guidance and affordable treatment
given to us at every stage to boost our morale.
We express our sincere gratitude to our colleagues with whom we have fruitful discussions which have
helped us a lot in giving a final shape to the program.
Student Name
PARTH PANGTEY
BCA 4TH SEM (B)
2
DECLARATION
I hereby declare that the project work entitled “Muddy’s Cafe” submitted to the Uttaranchal Institute
of Management, is a record of an original work done by us under the guidance of MR AMARJEET
RAWAT and this project work has not performed the basis for the award of any Degree or diploma/
associate ship/fellowship and similar project if any.
3
CERTIFICATE
This is to certify that Parth Pangtey, student of 4th semester under doing BCA, have
completed the Project Entitled “Muddy’s Cafe” Using the VB.NET platform at
Uttaranchal Institute of Management Dehradun for the Batch (2016-2019).
(Assistant Professor)
4
TABLE OF CONTENTS
i. ACKNOWLEGMENT.......................................................................................................i
ii. DECLARATION...............................................................................................................ii
iii. CERTIFICATE OF ORIGINALITY......................................................................................iii
5
INTRODUCTION
The “Muddy’s Cafe” is a specific type of restaurant characterized both by its cuisine
and by minimal table service. The restaurant more effectively and efficiently by
computerizing meal ordering, billing and inventory control. We have always focussed on
quality, taste and perfection rather than earning profit. We believe in customers
satisfaction at priority. Muddy’s has discovered its own Variety of Spices which is used
in all our outlets. The most important part of this Cafe is it's Ingredients which is used to
make the delicious and tasty meal.
The system processes transaction and stores the resulting data. Reports will be generated
from these data which help the manager to make appropriate business decisions for the
restaurant. For example, knowing the number of customers for a particular time interval.
6
OBJECTIVES
The general objectives of the study is to develop a reliable, convenient and accurate
Application.
The study has the following specific objectives:
7
SYSTEM ANALYSIS
PROPOSED SYSTEM
Error reduction.
Improve reporting.
Flexibility.
Improve resource user.
Reduction in use of the paper.
Reduction in man power.
Administrator controls the entire system.
Identification of need:
Muddy’s Café is the system, which has developed to keep track of cash Information and
to maintain cash records easily, rapidly and accurately. It used to be quite difficult to
maintain all the records of cash operation held in a business effectively and accurately
and to maintain the paper files to store the details into it and to generate accurate detail of
each. In order to overcome this problem restaurant billing system is proposed, which help
us to generate customer information at any time on system. This system decreases time
taken to complete the task.
8
Preliminary Study:-
The current process of Cafes is slow. It take time to calculate the bill .
So, we need to develop software that can overcome all these problems. The proposed
system needs to provide a simple interface that should allow the customer to easily pay
their bills.
EXISTING SYSTEM
The existing system was a manual system. This manual system had piles of
the paper work to be maintained to track the record of cash. Due to this a lot of the time
and energy was been utilized and this lead to wastage of important resources.
Time consuming.
Processing speed of the software is not so much good to operate fast.
Sometimes the system hangs when work load is more.
Limited space for storing the information
Processing speed of the software is not so much good to operate fast.
9
FEASIBILITY STUDY
By the investigation, I have identified the need, problems and requirements. So my next
step was to determine exactly what the proposed system is to do by defining its expected
performance. This kind of work can be carried out in the Feasibility Study.
In the conduct of the feasibility study, I have gone through followings distinct, but inter-
related types of feasibility. These are:
1. Technical Feasibility
This system will be developed using VB .Net and SQL Server. As we require some
time to learn all these technologies, All these technologies are easy to learn and can
develop system very rapidly. After developing and deploying the system, student can
easily use it.
2. Economic Feasibility
As existing system is manual, where it is expensive to maintain, up to date, and
available on time. But proposed system will be computerized, so we can overcome all
limitations of existing system. Also with this new system insertion, deletion, and
modification of various data will be easier to handle.
This system will reduce the paperwork. And quality of data will be improved.
So keeping all above mentioned benefits and comparing with various expenditures of
resources, we conclude that proposed system is economical feasible.
10
3. OPERATIONAL FEASIBILITY
The new solution is feasible in all sense .student do not require to go search for different
social sites and can easily get the information regarding the specific persons. So it very
easy to handle no technical expertise are required.
11
Software Requirements Specification (SRS)
Introduction
The following subsections of the SRS document provide an overview of three tire SRS.
A. Purpose
The purpose of the project is to provide facility to the administrative staff as well as
member of the restaurant instead of managing all the task manually .This application will
help in managing tasks automatically.
B. Scope
The application will be used by administrative staff as well as member of the restaurant.
Member can view their bills record easily from the software.
C. Benefits
This application reduces the complexity, increase efficiency, increases accessibility and
saving time.
12
Functional Requirement
Login form that will allow the authorized user (admin, staff) to access the
software.
We need to provide the facility to update bills record using which customer can
submit their feedback and other customer can check them thereafter.
We need to provide the facility to the customer for checking their bills records and
then give review.
Non-Functional Requirement
The software needs to be user friendly and easy to access so that the end user
(users and admin staff) can easily use this software.
The software needs to be secure by implementing login using user ID and
Password.
The software needs to be portable so that it can be run on any system.
13
TOOLS/PLATFORM USED
RAM: 4 GB RAM
PROCESSOR: Intel Core i3
HARD DISK: 1TB Hard Disk
14
DATA FLOW DIAGRAM
0-Level DFD:-
0.0
LOGIN
ADMINISTRATOR RESTAURAN
T BILLING
SYSTEM
VIEW
DETAILS
0.0
LOGIN 1.1
Admin RESTAURANT CORRECT
BILLING SYSTEM MENU
PASSWORD
CHECK USER
OR PASSWRD
ERROR
15
1.1-LeveL DFD:-
1.1.1
PROCESS add
ADMINSTRATOR
1.1 Add item
LOGIN MENU
Generate 1.1.2
BILL
GENERATE
1.1.1-LEVEL
INSERT 1.1.1
DETAILS
FETCH
16
1.1.2-LEVEL DFD
1.1.2
Admin DATABASE
BILL GENERTAOR
BILL GENERATE
17
E-R Diagram
An entity-relationship model (ER model) describes inter-related things of interest in a
specific domain of knowledge. An ER model is composed of entity types (which classify
the things of interest) and specifies relationships that can exist between instances of those
entity types. In software engineering an ER model is commonly formed to represent things
that a business needs to remember in order to perform business processes. Consequently,
the ER model becomes an abstract data model that defines a data or information structure
that can be implemented in a database, typically a relational database.
USERNAME
MANAGES
ADMINISTRATOR Muddy’s Cafe
HAS BILL ID
PASSWORD GENERATE
BILL
BILL
DAY
BILL BILL
DATE AMOUNT
18
TESTING
1. Welcome screen:-
19
3. If the user choose Admin and input right
username/password:-
20
5.If the Admin wants to view the product:-
21
7.If the Admin wants to manage the product:-
22
10.If the user is staff person and apply wrong
username/password :-
23
12. After successfully logged in , the Staff person come to the
home page where he/she can view or order the product:-
24
14.If the user wants to search any of the product he can
simply write up the name of the product or id or category in
the search box:-
15.If the user wants to order any of the product for the
customer:-
25
16.In this the user can simply add the product to the
wishlist:-
26
18.Here the user can update the quantity of the product or
delete the product as per customers requirement:-
19.Here the user cannot come to the next page unless and un
till the user can fill the customer details:-
27
20.After filling the customer details the person came to
payment column:-
28
22.If the user input proper amount then :-
29
SYSTEM SECURITY MEASURES
30
APPENDICES
CODING:-
LOGIN
Public Class login
End Sub
End Sub
31
txtun.Enabled = False
txtpass.Enabled = False
txtpass.Clear()
txtun.Clear()
rbAdmin.Checked = False
rbStaff.Checked = False
End Sub
ADMIN HOME
Imports System.Windows.Forms
32
End Sub
End Class
STAFF HOME
Imports System.Windows.Forms
Me.Close()
login.Show()
End Sub
End Sub
End Sub
End Sub
End Class
33
PRODUCT MASTER
Imports System.Data.SqlClient
Imports System.Data
Public Class ProductMaster
End Sub
Public Sub comp()
For i As Integer = 0 To grdview.Rows.Count() - 1 Step +1
Dim cmpName As String
Dim cmpName1 As String
Dim cmpCate As String
Dim cmpCate1 As String
cmpName = grdview.Rows(i).Cells(1).Value
cmpCate = grdview.Rows(i).Cells(2).Value
cmpName1 = txtname.Text
cmpCate1 = cbcate.Text
If StrComp(cmpName, cmpName1) = 0 Then
MessageBox.Show("Already Availabe")
allclear()
Exit For
End If
Next
End Sub
comp()
If txtname.Text <> "" And txtbal.Text <> "" And txtpri.Text <> "" And cbcate.Text <> "" Then
Dim sql As String = "insert into product values('" + txtname.Text + "','" + cbcate.Text + "'," + txtpri.Text + "," +
txtbal.Text + ")"
du.executeMySQL(sql)
fillgrid()
MessageBox.Show("Record Saved")
cbcate.Text = ""
allclear()
End If
End Sub
txtname.Clear()
txtpri.Clear()
txtbal.Clear()
End Sub
34
fillgrid()
End Sub
Public Sub fillgrid()
Dim dt As New DataTable
dt = du.getDataTable("select * from Product")
grdview.DataSource = dt
End Sub
End Try
End Sub
sql = "update Product Set PrdName='" + txtname.Text + "',PrdCate='" + cbcate.Text + "',PrdPrice =" +
txtpri.Text + ",Quantity=" + txtbal.Text + " where id = " + idd.ToString() + ""
du.executeMySQL(sql)
fillgrid()
MessageBox.Show(sql)
MessageBox.Show("Update")
End If
Catch ex As Exception
End Try
allclear()
fillgrid()
End Sub
du.executeMySQL(sql)
MessageBox.Show("Deleted...")
allclear()
fillgrid()
End Sub
End Sub
35
Private Sub btnDelAll_Click(sender As Object, e As EventArgs)
Dim idel As DialogResult
idel = MessageBox.Show("Confirm if you want to delete", "Muddy's Cafe", MessageBoxButtons.YesNo,
MessageBoxIcon.Question)
If idel = DialogResult.Yes Then
grdview.DataSource.clear()
End If
End Sub
End Class
VIEW PRODUCT
Imports System.Data.SqlClient
Imports System.Data
ORDER MASTER
Imports System.Data.SqlClient
Imports System.Data.DataTable
Imports System.Data
36
Dim conn As New SqlConnection("Data
Source=(LocalDB)\v11.0;AttachDbFilename=E:\stepinrestaurent\StepIn\StepDB.mdf;Integrated
Security=True;Connect Timeout=30")
Dim du As New DataUtility
Dim cmd As SqlCommand
Dim idd As Integer
Dim table1 As New DataTable("Table1")
Dim index As Integer
Dim table As New DataTable()
Catch ex As Exception
End Try
End Sub
37
If iBack = DialogResult.Yes Then
Me.Close()
StaffHome.Show()
End If
End Sub
End Sub
38
If txtpn.Text <> "" And txtq.Text <> "" And txtPri.Text <> "" Then
If txtq.Text > 0 Then
Dim tprice As Integer
tprice = txtq.Text * txtPri.Text
table1.Rows.Add(txtid.Text, txtpn.Text, txtcate.Text, txtPri.Text, txtq.Text, tprice)
grdview1.DataSource = table1
subprice = subprice + tprice
btnBill.PerformClick()
txtq.Text = "1"
txtPri.Clear()
txtpn.Clear()
txtid.Clear()
Else
MessageBox.Show("Enter Quantity")
End If
End If
End If
Exit For
End If
Next
End Sub
39
cmpid = grdview1.Rows(i).Cells(0).Value
q = grdview1.Rows(i).Cells(4).Value
For j As Integer = 0 To grdview.Rows.Count() - 1 Step +1
cmpid1 = grdview.Rows(j).Cells(0).Value
End Try
End If
Next
Next
End Sub
End If
End Sub
40
Private Sub grdview1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles
grdview1.CellContentClick
index = e.RowIndex
End Sub
41
If cash >= total Then
change = cash - total
txtChange.Text = FormatNumber(change, 2)
Else
MessageBox.Show("Insufficient Money")
End If
Else
MessageBox.Show("Enter cash First")
End If
End Sub
End Sub
End Class
42
BIBLIOGRAPHY :-
Books
[1]A.Troelsen, The Complete Reference for Pro VB and the .NET 3.5 Platform
Websites
10:22pm
43