You are on page 1of 99

PROJECT REPORT

ON

Restaurant Management System


SUBMITED BY BY

AASHISH K. DHIVAR
Under the Guidance of

Prof. Sumathi Rajkumar


SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR QUALIFYING EXAMINATION (B.Sc. INFORMATION TECHNOLOGY, SEMESTER-VI EXAMINATION)

Seat no:

BATCH 2011 - 2012

UNIVERSITY OF MUMBAI Nirmala Memorial Foundation College of Commerce and Science


90 Feet Road,Thakur Complex,Kandivali(E),Mumbai-400 101

Restaurant Management System

PREFACE

omputer systems have become the heart of daily activities and a major factor in various

aspects of our life. Just as knowledge of computers and computer programming has become a basic necessity in todays information oriented society, so has the design of automated business systems. This is a report for first stage of our project. This stage was aimed at meeting all the preliminary requirements of the Restaurant, RESTAURANT MANAGEMENT SYSTEM. The material provided in this report is the framework for the system, which includes PERT chart, Use case Diagram and flow chart. It includes introductory material and related topics.

The Material provided in this report is the frame work for the system, which includes There is no Restaurant with the name Magic. This name has been used only for the purpose of project work. Any suggestions and constructive comments that will help the project to improve are heartily welcome.

AASHISH K. DHIVAR

4|Page

Restaurant Management System

ACKNOWLEDGEMENT
Success of an individual is possible only when others are supporting him or her. The completion of this study would not have been possible without the help of teachers, wellwishers and others. First of all, we praise and thank the Lord Almighty for his abundant grace and blessings he had showered throughout the study and our life. With great pleasure we express our deep sense of gratitude to Dr. T. P. Mathu Nair, Principal Nirmala Memorial Foundation College of Commerce and Science, Ms.Manasvi Shah, Bsc (I.T) coordinator for the valuable guidance, suggestions and support for completing the project work. I would like to extend our sincere thanks to our beloved guide Prof. Sumathi Rajkumar for providing facilities, valuable suggestions and constant supervision for the successful completion of the project. Last but not least, we extend our sincere thanks to all other faculty members of IT & COMPUTER SCIENCE DEPARTMENT and our friends for their support and encouragement.

AASHISH K. DHIVAR

5|Page

Restaurant Management System

INDEX
Sr. No. Topic Page No. 7 8 8 9 10 11 20 23 24 26 27 29 31 33 36 38 40 43 48 54 57 59 61 63 65-68 69 73 74 78 85 81 83 107 109 111

1.
1.1 1.2 1.3 1.4 1.5 1.5 1.6 1.7 1.8

Preliminary Investigation
Organizational Overview Description of System Limitation of present System Proposed System & Advantages Feasibility Study Technology and Tools SDLC Stakeholders Gantt Chart

2.
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10

System Analysis
Fact Finding Technique Event Table Use Case Diagram Entity Relationship Diagram Activity Diagram Class Diagram Object Diagram Sequence Diagram Collaboration Diagram State Diagram

3.
3.1 3.2 3.3 3.4 3.5 3.6 3.7

System Design
Converting ERD to Tables Design Class Diagram(with UI & Persistent Classes) Component Diagram Package Diagram Deployment Diagram Program Flow Charts & System Flow Charts Structure Charts

4.
4.1 4.2 4.3 4.4 4.5 4.6

System Coding
Menu Tree List Of Tables with Attributes Program Description Validation Test Cases, Test Data and Test Results Screen Layouts & Report Layouts

5. 6. 7.

Future Enhancements Reference and Bibliography Conclusion

6|Page

Restaurant Management System

PRELIMINARY INVESTIGATION

7|Page

Restaurant Management System

Preliminary Investigation

Organization Overview

Name of Company: Name of Proprietor: Address: History: Contact No. :

MAGIC RESTAURANT Mr xyz

abc
The Restaurant was established in the year 1993. 0222xxxxxx

8|Page

Restaurant Management System

Description of the System LIMITATION OF PRESENT SYSTEM

The present System of MAGIC RESTAURANT possesses lots of limitations in their system. The Orders placed by the customer and the delivery details for delivery is accepted manually due to which details can be misplaced or misinterpreted. There is no security anyone can access the database and view records and Customers details

Since the records are saved manually it is difficult to arrange those for a longer time The present System is a lot time consuming. There is no provision for report generation which help to maintain companys record monthly. Since the system is manual risk of losing or misplacement of order is possible. The Current System is not at all user friendly. Since he has to search for records and items and their estimated prices for developing bills which should be automated.

9|Page

Restaurant Management System

Proposed System
The proposed System is user Friendly and does not require much knowledge of Computers. Various Validations are included for determining of correct informations. Annual reports and bill generation are implemented. The calculations for generating bills and other services of adding automated rates various products including the V.A.T are available. The System will be developed taking users time; effort as well as user authorization to security is implemented.

Advantages of Proposed System


It is more efficient and accurate in compare to the current System. The Calculations of bills will be more accurate and error-free. No un-authorized access to the system would be allowed. Validations would led to the correctness of informations. The system would be more users friendly and easy to operate on.

10 | P a g e

Restaurant Management System

Feasibility Study
Feasibility Study is the measure and the study of how beneficial the developed system would be to the organization. The project feasibility is concern with expected benefits .An important outcome of the preliminary investigation is the destination that the proposed system is feasible. The feasibility study of the system includes: Schedule Feasibility Economical Feasibility Operational Feasibility Technical Feasibility

Schedule Feasibility:The likelihood of a project being completed within its scheduled time frame is schedule feasibility. According to mine discussion and calculation with client the total time required for complication of project would be 4-5 months. This include time required for coding, designing, debugging and testing, etc. for completion of project, I have decided to work on project for around 2-3 hours a day. The time period can be extended as per requirement. Economical Feasibility:Economical feasibility is analysis of a projects cost and revenues in an effort to determine whether or not it is logical and possible to complete. The organization will benefits from this system in terms of money and time. The development cost would include travelling cost, communication cost and the operational cost would include the license for the Visual Studio.Net 2008 IDE and MS SQL Server 2005. Operational Feasibility:Operational Feasibility is a measure of how well a proposed system solves the problem, and takes advantages of the opportunities during scope definition and how it satisfies the requirements identified in the requirements analysis phase. As the current system is manual, it needs to be upgraded. The new system will therefore be used in the organization as a substitute for the manual one. Based on the type of users he/she will be provided with some writes operation in the system. Technical Feasibility:It is based on computer hardware and networking software which would be available or the proposed system. Additional peripheral device are required which are available with the unit. The requirements for the proposed system can be easily made available by the user within the estimated cost which is minimal and of better usage.

11 | P a g e

Restaurant Management System

The Software used for the development of proposed system is: Front End: - Visual Studio 2008 Using VB.Net. Back End: - SQL Server 2005.

The Hardware requirements are: Operating System:-windows 2000/xp/vista/7 Processor:-Pentium 4,Dual Core,i3,i5,i7 RAM:1GB Hard Disk:- 1GB

12 | P a g e

Restaurant Management System

TECHNOLOGIES AND TOOLS

13 | P a g e

Restaurant Management System

MICROSOFT VISUAL STUDIO 2005 or 2008

Microsoft Visual Studio 2008 Standard Edition Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silver light. Visual Studio includes a code editor supporting IntelliSense as well as code refactoring. The integrated debugger works both as a source-level debugger and a machine-level debugger. Other built-in tools include a forms designer for building GUI applications, web designer, class designer, and database schema designer. It accepts plug-ins that enhance the functionality at almost every levelincluding adding support for source-control systems (like Subversion and Visual SourceSafe) and adding new toolsets like editors and visual designers for domain-specific languages or toolsets for other aspects of the software development lifecycle (like the Team Foundation Server client: Team Explorer). Visual Studio supports different programming languages by means of language services, which allow the code editor and debugger to support (to varying degrees) nearly any programming language, provided a language-specific service exists. Built-in languages include C/C++ (via Visual C++), VB.NET (via Visual Basic .NET), C# (via Visual C#), and F# (as of Visual Studio 2010). Support for other languages such as M, Python, and Ruby among others is available via language 14 | P a g e

Restaurant Management System services installed separately. It also supports XML/XSLT, HTML/XHTML, JavaScript and CSS. Individual language-specific versions of Visual Studio also exist which provide more limited language services to the user: Microsoft Visual Basic, Visual J#, Visual C#, and Visual C++. Microsoft provides "Express" editions of its Visual Studio 2010 components Visual Basic, Visual C#, Visual C++, and Visual Web Developer at no cost. Visual Studio 2010, 2008 and 2005 Professional Editions, along with language-specific versions (Visual Basic, C++, C#, J#) of Visual Studio Express 2010 are available for free to students as downloads via Microsoft's Dream Spark program.

15 | P a g e

Restaurant Management System

SQL SERVER

Microsoft Sql Server 2005 Microsoft SQL Server is a relational database server, developed by Microsoft: It is a software product whose primary function is to store and retrieve data as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). There are at least a dozen different editions of Microsoft SQL Server aimed at different audiences and for different workloads (ranging from small applications that store and retrieve data on the same computer, to millions of users and computers that access huge amounts of data from the Internet at the same time). SQL Server 2005 (codename Yukon), released in October 2005, is the successor to SQL Server 2000. It included native support for managing XML data, in addition to relational data. For this purpose, it defined an xml data type that could be used either as a data type in database columns or as literals in queries. XML columns can be associated with XSD schemas; XML data being stored is verified against the schema. XML is converted to an internal binary data type before being stored in the database. Specialized indexing methods were made available for XML data. XML data is queried using XQuery; Common Language Runtime (CLR) integration was a main feature with this edition, enabling one to write SQL code as Managed Code by the CLR. SQL Server 2005 added some extensions to the T-SQL language to allow embedding XQuery queries in T-SQL. In addition, it also defines a new extension to XQuery, called XML DML that allows query-based modifications to XML data. SQL Server 2005 also allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests. When the data is accessed over web services, results are returned as XML. For relational data, T-SQL has been augmented with error handling features (try/catch) and support for recursive queries with CTEs (Common Table Expressions). SQL Server 2005 has also been enhanced with new indexing algorithms, syntax and better error recovery systems. Data pages are check summed for better error resiliency, and optimistic concurrency support has been added for better performance. Permissions and access control have been made more granular and the query processor handles concurrent execution of queries in a more efficient way. Partitions on tables and indexes are supported natively, so scaling out a database onto a cluster is easier. SQL CLR was introduced with SQL Server 2005 to let it integrate with the .NET Framework 16 | P a g e

Restaurant Management System

Microsoft Visio

Microsoft Visio Visio began as a standalone product produced by Shapeware Corporation; version 1.0 shipped in 1992. Just before 1.0 shipped, Shapeware Corporation changed their name to Visio Corporation to take advantage of market recognition and related product equity Microsoft acquired Visio in 2000, re-branding it as a Microsoft Office application, like Microsoft Project; however, it has never been included in any of the Office suites. Microsoft included a Visio for Enterprise Architects edition with some editions of Visual Studio .NET 2003 and Visual Studio 2005. Along with Microsoft Visio 2002 Professional, Microsoft introduced Visio Enterprise Network Tools and Visio Network Center. Visio Enterprise Network Tools was an add-on product that enabled automated network and directory services diagramming. Visio Network Center was a subscriptionbased website where users could locate the latest network documentation content and exact-replica network equipment shapes from 500 leading manufacturers. The former has been discontinued, while the latter's shape-finding features are now integrated into the program itself. Visio 2007 was released on November 30, 2006.

17 | P a g e

Restaurant Management System

SOFTWARE DEVELOPMENT LIFE CYCLE


Software Development life cycle is an overall process of developing information system through a multi-step process from investigation of initial requirement through analysis, design, implementation and maintenance.

There are different Models

Waterfall Spiral Win win spiral Prototype Incremental

18 | P a g e

Restaurant Management System

WATERFALL MODEL
The waterfall model is a popular version of the systems development life cycle model for software engineering. Often considered the classic approach to the systems development life cycle, the waterfall model describes a development method that is linear and sequential.

Waterfall Model Waterfall development has distinct goals for each phase of development. Imagine a waterfall on the cliff of a steep mountain. Once the water has flowed over the edge of the cliff and has begun its journey down the side of the mountain, it cannot turn back. It is the same with waterfall development. Once a phase of development is completed, the development proceeds to the next phase and there is no turning back. Now Let us look at the different phases of Waterfall model Requirement Analysis and Software Definition This is the first phase of waterfall model which includes a meeting with the customer to understand his requirements. This is the most crucial phase as any misinterpretation at this stage may give rise to validation issues later. The software definition must be detailed and accurate with no ambiguities. It is very important to understand the customer requirements and expectations so that the end product meets his specifications. System Design The customer requirements are broken down into logical modules for the ease of implementation. Hardware and software requirements for every module are identified and designed accordingly. Also the inter relation between the various logical modules is 19 | P a g e

Restaurant Management System established at this stage. Algorithms and diagrams defining the scope and objective of each logical model are developed. In short, this phase lays a fundamental for actual programming and implementation. System Implementation This is the software process in which actual coding takes place. A software program is written based upon the algorithm designed in the system design phase. A piece of code is written for every module and checked for the output. System testing The programmatically implemented software module is tested for the correct output. Bugs, errors are removed at this stage. In the process of software testing, a series of tests and test cases are performed to check the module for bugs, faults and other errors. Erroneous codes are rewritten and tested again until desired output is achieved. System Deployment and Maintenance This is the final phase of the waterfall model, in which the completed software product is handed over to the client after alpha, beta testing. After the software has been deployed on the client site, it is the duty of the software development team to undertake routine maintenance activities by visiting the client site. If the customer suggests changes or enhancements the software process has to be followed all over again right from the first phase i.e. requirement analysis. This is the biggest shortcoming of the waterfall model. Thus, waterfall model is easy to implement and more often than not produces desired results. The inter-dependence of waterfall model phases may lead to developmental issues, if a systematic approach is not followed at each step. However, in spite of these shortcomings, waterfall model is adopted all across the world. Advantages Disadvantages Delivered product may not meet clients needs It is often difficult for the customer to state the entire requirement explicitly. The time spend is more to require the final product. This universal model may not be feasible for large scale product.

It is useful where requirement are fixed It is useful when the work is to proceed to complete in line manner. It is useful for the development of small project It is easy to develop the system using the SDLC. It is disciplined approach and document-driven.

20 | P a g e

Restaurant Management System

Stakeholders
Stakeholders are anyone who has an interest in the project. Project stakeholders are individuals and organizations that are actively involved in the project, or whose interests may be affected as a result of project execution or project completion. They may also exert influence over the projects objectives and outcomes. The project management team must identify the stakeholders, determine their requirements and expectation, and, to the extent possible, manage their influence in relation to the requirements to ensure a successful project. The people involved in the Project development are: 1. Developer: Here in this project the Developer is Mr. Aashish K. Dhivar i.e. myself who is developing this project. 2. Organization Owner: Is the person to whom the project is to be given and who will be using the application? 3. Organization Manager: Here the Employee is the Company Manager who might use the application. `

21 | P a g e

Restaurant Management System

GANTT CHART
A Gantt chart is a type of bar chart, developed by Henry Gantt, that illustrates a project schedule. Gantt charts illustrate the start and finish dates of the terminal elements and summary elements of a project. Terminal elements and summary elements comprise the work breakdown structure of the project. Some Gantt charts also show the dependency (i.e., precedence network) relationships between activities. Gantt charts can be used to show current schedule status using percent-complete shadings and a vertical "TODAY" line as shown here. Although now regarded as a common charting technique, Gantt charts were considered revolutionary when first introduced. In recognition of Henry Gantt's contributions, the Henry Laurence Gantt Medal is awarded for distinguished achievement in management and in community service. This chart is also used in Information Technology to represent data that has been collected.

Gant Chart:-

22 | P a g e

Restaurant Management System

PERT CHART
PERT is a method to analyze the involved tasks in completing a given project, especially the time needed to complete each task, and to identify the minimum time needed to complete the total project. PERT was developed primarily to simplify the planning and scheduling of large and complex projects. It was developed for the U.S. Navy Special Projects Office in 1957 to support the U.S. Navy's Polaris nuclear submarine project.[2] It was able to incorporate uncertainty by making it possible to schedule a project while not knowing precisely the details and durations of all the activities. It is more of an event-oriented technique rather than start- and completion-oriented, and is used more in projects where time, rather than cost, is the major factor. It is applied to very largescale, one-time, complex, non-routine infrastructure and Research and Development projects. An example of this was for the 1968 Winter Olympics in Grenoble which applied PERT from 1965 until the opening of the 1968 Games.[3] This project model was the first of its kind, a revival for scientific management, founded by Frederick Taylor (Taylorism) and later refined by Henry Ford (Fordism). DuPont's critical path method was invented at roughly the same time as PERT.

PERT CHART:-

23 | P a g e

Restaurant Management System

SYSTEM ANALYSIS

24 | P a g e

Restaurant Management System

Fact Finding Techniques


The Fact Finding methods adopted are as follows: Interview: An interview with the owner Mr. xyz who is the owner of the unit, Magic Restaurant was conducted. The Questions related to the unit and the entire procedure of the current system was asked. Some of the related Questions are: What is your system all about? Which software are you currently using? How you are finding it to use? How you are maintaining the Order Details? How you are maintaining the Delivery Details? How you are maintaining the Reports? How the Bill is generated?

25 | P a g e

Restaurant Management System

EVENT TABLE

26 | P a g e

Restaurant Management System

Event Table

No.
1.

Event
Login

Trigger
Enter Login Details & click Ok New Password Logout

Source
Admin

Activity
Verifying Login details Enter New Password Logging out of the System Entering Stock Details Displaying Stock Details Entering Order Details Entering Delivery Details Generating Bill Generating Stock Report

Response
Login Successfully Password Changed Logout Successfully Data Entered

Destination
Admin

2. 3.

Change Password Logout

Admin Admin

Admin Admin

4.

Add Stock

Enter Stock Details View Stock Details Enter Order Details Enter Delivery details Enter Bill Details Enter Purchase Report Details

Admin

Admin

5.

View Stock

Admin

Stock Details Viewed Order Saved

Admin

6.

Add Order

Admin

Admin

7.

Delivery

Admin

Customer Order Saved Bill Generated Stock Report Generated

Admin

8. 9.

Bill Generation Stock Report

Admin Admin

Admin Admin

27 | P a g e

Restaurant Management System

USE-CASE DIAGRAM

28 | P a g e

Restaurant Management System

UseCase Diagram
System User Login

Logout Change Password

Stock Details Purchase Stock

Add Stock

View Stock

Details

Admin
Enter Employee Details

Enter Order Details Enter Delivery Details Reports Generate Bill Report Generate Stock Report

29 | P a g e

Restaurant Management System

ENTITY RELATIONSHIP DIAGRAM

30 | P a g e

Restaurant Management System

Entity Relationship Diagram

Customer Name

M
Customer

Places an order

M
Manager

1 1 1

Adds Id Name

1 M
Employee
adds

Phone No

Address

M
Stock

Price

Size Phone No Salary Buys product Price Name Id Address Checks availability Item Name
Orders

Category

M
Purchase

P_Id

M
Total price Payment Order Details Category Order

M
Stock Details

Search Stock Details

Quantity

M
Generates Bill

1
Bill

Order Details Grand Total Bill No

31 | P a g e

Restaurant Management System

ACTIVITY DIAGRAM

32 | P a g e

Restaurant Management System

ACTIVITY DIAGRAM Order:Customer Admin System

Enter Login Details

Login Form

Customer Places an Order

Takes Order

Main Form

View Stock Form Yes Checks availability No Accepts the Order Order Form

Receives Details

Verifies Order Details Receives Bill Dispatches Bill Saves & Generates Bill

Makes Payment

Receives Payment

Save Payment Details

33 | P a g e

Restaurant Management System

ACTIVITY DIAGRAM Delivery:Customer Admin System

Enter Login Details

Login Form

Main Form

Customer Gives Delivery Details

Receives Details

Delivery Form

Verifies Order Details Receives Bill Dispatches Bill Saves & Generates Bill

Makes Payment

Receives Payment

Save Payment Details

34 | P a g e

Restaurant Management System

CLASS DIAGRAM

35 | P a g e

Restaurant Management System

CLASS DIAGRAM

Frm_Login -UserName -Password +Login()

Employee -Id -Name -Address -Phone No -Salary +Add() +Edit() +Delete()

Add Stock -Id -Name -Quantity -Price -Category +Save() +View()

Main Form +File +Data Entry +Transaction +Tools +View

View Stock -Search Stock -Stock Details +Add() +Edit() +Delete()

Order - Category -Order Product -Quantity -Price -Total -Payment -Grand Total +Add() +Delete() +Order()

Purchase -Id -Item Name -Quantity -Price +Add() +Update() +Delete()

Bill -Bill No -Order Details -Grand Total +Print()

Delivery -Customer Name -Address -Phone No +Delivery() +Edit() +Delete()

36 | P a g e

Restaurant Management System

OBJECT DIAGRAM

37 | P a g e

Restaurant Management System

OBJECT DIAGRAM

:Frm_Login

:Employee

:Add Stock :Order

1 * 1

1 1 * 1

:Main Form 1

1 1 :View Stock

1 * 1 1

:Delivery

1 1 1

:Purchase

:Bill

38 | P a g e

Restaurant Management System

SEQUENCE DIAGRAM

39 | P a g e

Restaurant Management System

SEQUENCE DIAGRAM
Admin Login Main Form Stocks
login() Access to stock add() logout() edit() delete() search() Selecting item
add()

Order

Delivery

Bill

Login Details Validate to access Access to main

Access to order

edit() delete()

Generating bill

Bill ()

Delivery Order Access to delivery delivery()

40 | P a g e

Restaurant Management System

Admin
Login Details

Login
login ()

Main Form

Purchase

Employee

Validate to

add() Logout() delete() edit()

add() edit() delete()

41 | P a g e

Restaurant Management System

COLLABORATION DIAGRAM

42 | P a g e

Restaurant Management System

COLLABORATION DIAGRAM Login Form


Admin Login_Load () : Login Form

btn_loginClick ()

: Login

Add Stock Form


Admin

Add_Load ()

: Add Form Btn_save_click ()

: btnSave

: btnView

Btn_View_click ()

43 | P a g e

Restaurant Management System

View Form
Admin

View_Load ()

: View Form

Btn_Add_Click ()

: btn_Add

:btn_Edit

Btn_Edit_click ()

Btn_Delete_Click ()

:btn_Delete

Order Form
Admin

Order_Load ()

: Order Form Btn_Add_Click ()

: btn_Add

: btn_Delete

Btn_Delete_Click ()

: btn_Order

Btn_Order_Click()

44 | P a g e

Restaurant Management System

Delivery Form
Admin Delivery_Load () : Delivery Form Btn_Delivery_Click () : btn_Delivery btn_Edit_Click () : btnEdit : btnDelete

btn_Delete_Click ()

Purchase Form
Admin Purchase_Load () : Purchase Form Btn_Add_Click () : btnAdd

Btn_Edit_Click () : btnEdit

Btn_Delete_Click ()

: btnDelete

45 | P a g e

Restaurant Management System

Employee Form
Admin

Employee_Load ()

: Employee Form

Btn_Add_Click ()

: btnAdd

Btn_Edit_Click () : btnEdit Btn_Delete_Click ()

: btnDelete

Bill Form
Admin

Bill_Load ()

: Bill

Btn_Print_Click ()

: btnPrint

46 | P a g e

Restaurant Management System

STATE DIAGRAM

47 | P a g e

Restaurant Management System

STATE DIAGRAM Login Form


AcceptValues Login Load btnlogin Existing Completion

Add Stock Form


AddLoad AcceptValues btnSave Existing Completion

btnView View Form

48 | P a g e

Restaurant Management System

View Form
Accept Values ViewLoad Existing

Completion

btnDelete

Does Not Exists

Purchase Form

Accept Values btnAdd

Existing btnEdit

Completion

btnDelete

Does Not Exists

49 | P a g e

Restaurant Management System

Employee Form
Accept Values btnAdd Existing btnEdit Completion

btnDelete

Does Not Exists

Order Form
Accept Values btnAdd btnOrder Existing Completion

btnDelete

Does Not Exists

50 | P a g e

Restaurant Management System

Delivery Form
Completion btnEdit

btnAdd

Accept Values

btnDelivery

Existing

btnDelete

Does Not Exists

Bill Form
Accept Values BillLoad btnPrint Existing Completion

51 | P a g e

Restaurant Management System

System Design

52 | P a g e

Restaurant Management System

CONVERTING ERD INTO TABLES

53 | P a g e

Restaurant Management System

CONVERTING ERD INTO TABLES

Database Name:-Restaurant Table Name:-Login


Username
Admin Pass 123456

Database Name:-Restaurant Table name:-Foods


Foods_Id 1 Food_Name Veg Sandwich Price 25 Category Sandwich

Database Name:-Restaurant Table Name:-Drinks


Drink_Id 1 Drink_Name Mineral Water Drink_Size 100ml Price 20

Database Name:-Restaurant Table Name:-Meal


Meal_Id 1 Meal_Name Gujarati Thali Price 66

54 | P a g e

Restaurant Management System

Database Name:-Restaurant Table Name:- EmpDetails


Id 1 Name Raju Address Kandivali Phone No 80976765xx Salary 3540

Database Name:-Restaurant Table Name:-Purchase


P_Id 1 PName Vegetables Quantity 500kg Price 1200

Database Name:-Restaurant Table Name:-Order1


SrNo 1 2 Ono 1 1 ItemName PaneerDumRoll PaneerChilly Quantity 2 3 Price 180 330

Database Name:-Restaurant Table Name:-Delivery


CustNo 1 Customer Name Ritu Address Kandivali PhnNo 98331617xx

Database Name:-Restaurant Table name:-Bill


Bill_No 1 Grand_Total 330

55 | P a g e

Restaurant Management System

Design Class Diagram

56 | P a g e

Restaurant Management System

Design Class Diagram

Reports Sales Reports Purchase Reports Bill Reports Delivery Reports

57 | P a g e

Restaurant Management System

COMPONENT DIAGRAM

58 | P a g e

Restaurant Management System

COMPONENT DIAGRAM

Login

Add Stock View Stock

SYSTEM USER

Order

Delivery Bill

Purchase Employee

59 | P a g e

Restaurant Management System

PACKAGE DIAGRAM

60 | P a g e

Restaurant Management System

PACKAGE DIAGRAM

LOGIN

CUSTOMER

COURIER

SYSTEM USER

EMPLOYEE

DELIVERY BILL STATUS RETURN

61 | P a g e

Restaurant Management System

DEPLOYMENT DIAGRAM

62 | P a g e

Restaurant Management System

DEPLOYMENT DIAGRAM

SQL Server Database

System

Printer

63 | P a g e

Restaurant Management System

Program Chart

64 | P a g e

Restaurant Management System

Program Chart
START

Login

No
STOP if username and password Correct

Yes
Main Form

Add Stock

Purchase

Employee

Orders

Add

Add Item

Add Details

Add Order

Update

Update Item

Update Details

Delete Order

Delete

Delete Items

Delete Details

Save Order

Yes
Delivery Details

Delivery Order

No
Bill
STOP

65 | P a g e

Restaurant Management System

System Flow Diagram

66 | P a g e

Restaurant Management System

System Flow Diagram

Manager

Receiving Order

No Products available Products

Payment

Create Bill

Customer

67 | P a g e

Restaurant Management System

Structure Chart

68 | P a g e

Restaurant Management System

Structure Chart Restaurant Management System

Process Order Details

Process Delivery Details

Process Stock Details

Process Reports Details

69 | P a g e

Restaurant Management System

SYSTEM CODING

70 | P a g e

Restaurant Management System

MENU TREE

71 | P a g e

Restaurant Management System

MENU TREE
Main Form

File

Data Entry

Transaction

Tools

View

Report

Logout Change password

Exit

Order

Calculator

Bill
Add Food Add Meal Add Drinks

Delivery

Foods Records

Meal Records

Drinks Records

Employee Records

Purchase Records

Sales Reports

Purchase Reports

72 | P a g e

Restaurant Management System

LIST OF TABLES WITH ATTRIBUTES AND CONSTRAINTS

73 | P a g e

Restaurant Management System

LIST OF TABLES WITH ATTRIBUTES AND CONSTRAINTS TABLE NAME: Login Table
SrNo 1 2 Field Name Username Password Data Type Varchar Varchar Field Size 10 20 Key

TABLE NAME: Foods Table


SrNo 1 2 3 4 Field Name Food_Id Food_Name Price Category Data Type Int Varchar Int Varchar Field Size MAX
-

Key Primary key

MAX

Table Name: Meal Table


SrNo 1 2 3 Field Name Meal_Id Meal_Name Price Data Type Int Varchar Int Field Size MAX
-

Key Primary key

Table Name: Drinks Table


SrNo 1 2 3 4 Field Name Drink_Id Drink_Name Drink_Size Price Data Type Int Varchar Varchar Int Field Size MAX MAX
-

Key Primary key

74 | P a g e

Restaurant Management System

Table Name: EmpDetails


SrNo 1 2 3 4 Field Name Id Name Address Salary Data Type Int Varchar Varchar Int Field Size 50 MAX
-

Key Primary key

Table Name: Purchase Table


SrNo 1 2 3 4 Field Name P_Id PName Quantity Price Data Type Int Varchar Int Int Field Size MAX MAX
-

Key Primary key

Table Name: Order1 Table


SrNo 1 2 3 4 5 Field Name SrNo Ono Item Name Quantity Price Data Type Int Int Varchar Int Int Field Size 50
-

Key

Foreign Key

Table Name: Delivery Table


SrNo 1 2 3 4 Field Name Cust No Customer Name Address Phn No Data Type Int Varchar Varchar Int Field Size MAX MAX
-

Key Primary key

Table Name: Bill Table


SrNo 1 2 Field Name Bill_no Grand_Total Data Type Int Int Field Size Key Primary key

75 | P a g e

Restaurant Management System

Program Description & Naming Convention

76 | P a g e

Restaurant Management System

Program Description & Naming Convention


Convention:Sr.No 1. 2. 3. 4. 5. 6. 7.
8. 9.

Control Lbl Txt Cmb Rbtn Chk Btn


DGV LV Crp

Convention Label TextBox ComboBox Radiobutton Checkbox Button DataGridView


Listview Crystalreportviewer

Program Description:
Sr. No 1. 2. 3. Login Add Stock Purchase It helps to Login into the application. Add all the details of the Stock. Add all the details of the Purchase & Refresh the form. 4. 5. View Stock Employee Views the stock avalible. Display all the employee records Program Description

6. 7. 8.

Order Main SalesSummaryRpt

It accept all the ordered items from the customer. Home page of the Application. It helps to view the Complete Detail of All the Sales Also provide Printing Facility for it.

9.

PurchaseSummaryRpt

It helps to view the Complete Detail of All the Purchase and Also provide Printing Facility for it.

10. DeliveryRpt

It shows and print the delivery details of the customer.

11. BillRpt

It shows and prints the bill of the customer. 77 | P a g e

Restaurant Management System

Test Cases

78 | P a g e

Restaurant Management System

TEST CASES
PROJECT NAME: RESTAURANT MANAGEMENT SYSTEM
Test Case_Id: MAGIC_01 Test Case Name: Login,Purchase,Add Stock, Employee, Delivery Description: To verify Username, Item Name, Name, EName, Customer name. Sr No. 1 Test Description Enter 6 alpha characters and press save Enter 7 alphanumeric characters and press save Enter 6 alpha & special character and press save Enter 7 alphanumeric & special character and press save Enter 5 special character and press save Enter 5 numeric character and press save Test Data Aashish Expected Result It should accept It should not accept It should not accept It should not accept It should not accept It should not accept Actual Result It accepts Log Pass/Fail Pass

Aashish 6 Aashish @ Aashish 2$ &%$)#

It does not accept It does not accept It does not accept It does not accept It does not accept

Pass

Pass

Pass

Pass

123456

Pass

79 | P a g e

Restaurant Management System

PROJECT NAME: RESTAURANT MANAGEMENT SYSTEM


Test Case_Id: MAGIC_02 Test Case Name:Purchase,Add Stock,Employee,Order,Delivery. DESCRIPTION: To Verify Quantity,Price,Phone No,Salary,Payment.

Sr No. 1

Test Description

Test Data

Enter 2 alpha ks characters and press save Enter 2 k6 alphanumeric characters and press save Enter 2 alpha and k@ special character and press save Enter 4 kr2$ alphanumeric and special character and press save Enter 5 special &%$)# character and press save Enter 8 -15 numeric 8097476569 character and press save Enter 4 numeric 8097 character and press save

Expected Result It should not accept It should not accept

Actual Result It does not accept It does not accept

Log Pass/Fail Pass

Pass

It should not accept It should not accept

It does not accept It does not accept

Pass

Pass

It should not accept It should accept It should not accept

It does not accept It accepts

Pass

Pass

It does not accept

Pass

80 | P a g e

Restaurant Management System

PROJECT NAME: RESTAURANT MANAGEMENT SYSTEM


Test Case_Id: MAGIC_03 Test Case Name: Delivery,Employee. DESCRIPTION: To verify Address. Sr No. 1 Test Description Enter 2 alpha characters and press save Enter 2 alphanumeric characters and press save Enter 3 alphanumeric character and special symbol and press save Enter 2 alpha and special character and press save Enter 5 special character and press save Enter 3 numeric character and press save Test Data kr Expected Result It should accept It should accept Actual Result It accepts Log Pass/Fail Pass

S6

It accepts

Pass

S/6

It should accept

It accepts

Pass

K@

It should not accept It should not accept It should accept

It does not accepts It does not accepts It accepts

Pass

&%$)#

Pass

521

Pass

81 | P a g e

Restaurant Management System

Validations

82 | P a g e

Restaurant Management System

Validations

Numeric fields are validated, so that will not accept the Characters Email Textbox are validated, to check if @ symbol, . Dot and no blank spaces are inserted. Masked Textbox are validated for Mobile No and Contact No to accept only 10 or 11 Digits Textbox which Details are required are validated, so that no blank spaces are allowed In New Event Form the Total Cost Textbox is validated such that the Total Cost is automatically calculated and displayed. The Textbox is un-editable(read-only)

83 | P a g e

Restaurant Management System

Screen Layouts & Report Layouts

84 | P a g e

Restaurant Management System

Screen Layouts
Splash Screen

Login Form

85 | P a g e

Restaurant Management System

Main Form

Change Password

86 | P a g e

Restaurant Management System

Add_Food

Add_Meal

87 | P a g e

Restaurant Management System

Add_Drink

Order Form

88 | P a g e

Restaurant Management System

Delivery Form

Bill Form

89 | P a g e

Restaurant Management System

Food_Records

Drink_Records

90 | P a g e

Restaurant Management System

Meal_Records

Employee Records

91 | P a g e

Restaurant Management System

Purchase Form

92 | P a g e

Restaurant Management System

Report Layouts

93 | P a g e

Restaurant Management System

Purchase Reports

Sales Reports

94 | P a g e

Restaurant Management System

Bill Report

Delivery Report

95 | P a g e

Restaurant Management System

Future Enhancements

96 | P a g e

Restaurant Management System

Future Enhancements

Order Will be Accepted table Wise. Different Payment Facility Can be Added i.e credit card/debit card.

97 | P a g e

Restaurant Management System

References & Bibliography

98 | P a g e

Restaurant Management System

References & Bibliography

Reference Books/sites: Books Referred: VB.NET - Black Book VB 6.0 by julia bradley Website Referred: www.codeproject.com en.wikipedia.com www.w3schools.com www.vb.net-infomation.com

99 | P a g e

Restaurant Management System

CONCLUSION

100 | P a g e

Restaurant Management System

CONCLUSION
Finally, I can appreciate power of DBMS like Microsoft SQL server in managing the data. I am now confident of handling such real life situation concerning project in Software Management System

101 | P a g e

You might also like