0% found this document useful (0 votes)
451 views

Online Student Food Service Manegement System For Debre Markos Universit

This document presents a project report on developing an online student food service management system for Debre Markos University. The system will allow students to manage their food accounts, check balances, make payments and view transaction histories online. It discusses requirements gathering, system analysis, design, implementation and testing of the system. The project aims to automate the existing manual food service management system and improve convenience for students.

Uploaded by

Sew Big
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)
451 views

Online Student Food Service Manegement System For Debre Markos Universit

This document presents a project report on developing an online student food service management system for Debre Markos University. The system will allow students to manage their food accounts, check balances, make payments and view transaction histories online. It discusses requirements gathering, system analysis, design, implementation and testing of the system. The project aims to automate the existing manual food service management system and improve convenience for students.

Uploaded by

Sew Big
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/ 74

ONLINE STUDENT FOOD SERVICE MANEGEMENT

SYSTEM FOR DEBRE MARKOS UNIVERSIT


project report
Submitted by
TSEGAYE GETO--------------------------TER/1277/06
TADELE GEDAMU------------------------- TER/1267/06
MESERET BEREKET----------------------TER/1249/06
DEMEK FENTE-------------------------------TER/1219/06
In partial fulfillment for the award of the degree of
BACHELOR OF SCIENCE IN INFORMATION ECHNOLOGY
Under the guidance of
ADDISU MESFIN (MSC)
-------------------------------
ADVISOR SIGNATURE

DEPARTMENT OF INFORMATION TECHNOLOGY


COLLEGE OF TECHNOLOGY
DEBRE MARKOS UNIVERSITY
DEBRE MARKOS ETHIOPIA

MAY 2009
Online Student’s Food Service Management System For DMU

ACKNOWLEGMENT
First we would like to thank God for helping us through this project. Secondly we would like
to thank to our advisors Addisu Messifne for his endless effort to guide us in many ways
started from the scratch. We would also like to be thanking all of other peoples who were
help and give information when we were gathering vital data for our projects. Finally, it
would be impossible to say enough about our friends who were there on every corner
offering their hands for help when we needed it.

Table of Contents

i
Online Student’s Food Service Management System For DMU

List of Figures......................................................................................................................vi

List of Tables......................................................................................................................vii

List of Acronym.................................................................................................................viii

Abstract....................................................................................................................................ix

CHAPTER ONE.......................................................................................................................1

1. INTRODUCTION............................................................................................................1

1.1. INTRODUCTION......................................................................................................1

1.2. Background of the Project..........................................................................................1

1.3. Problem Statement.....................................................................................................2

1.4. Objective of the Project..............................................................................................2

1.4.1. General Objective...............................................................................................2

1.4.2. Specific Objective...............................................................................................2

1.5. Scope of the Project....................................................................................................3

1.6. Limitation of the project.............................................................................................3

1.7. Significance of the Project.........................................................................................3

1.8. System Requirements.................................................................................................4

1.8.1. Hardware Requirements......................................................................................4

1.8.2. Software Requirements.......................................................................................4

1.8.3. Programming Language and Data Base Tool.....................................................5

1.9. Data Collection Methodology....................................................................................6

1.10. Feasibility Study.....................................................................................................7

1.10.1. Technical Feasibility.......................................................................................7

1.10.2. Economic Feasibility.......................................................................................8

1.10.3. Operational Feasibility....................................................................................8

1.10.4. Legal Feasibility..............................................................................................8

II. CHAPTER TWO..............................................................................................................9

2. System Analysis.............................................................................................................9

ii
Online Student’s Food Service Management System For DMU

2.1. Overview of the Existing System...................................................................................9

2.1.1. Users of the Existing System............................................................................10

2.2. System Requirement Specification..........................................................................10

2.2.1. Functional Requirements..................................................................................10

2.2.1.1. User requirements..........................................................................................10

2.2.1.2. System requirement.......................................................................................11

2.2.2. Non Functional Requirements..........................................................................11

2.2.3. Business Rule........................................................................................................13

2.2.4. Change Case.........................................................................................................14

2.3. System Requirements Analysis................................................................................14

2.3.1. Actor and use case Identification..........................................................................14

2.3.1.1. Use case diagram...........................................................................................16

2.3.1.2. Use case description......................................................................................17

2.3.2. Sequence Diagram................................................................................................30

2.3.3. 4Activity Diagram................................................................................................33

2.3.4. Analysis Class Diagram........................................................................................38

III. CHAPTER THREE......................................................................................................39

3. System Design.....................................................................................................................39

Introduction.....................................................................................................................39

3.1. Design Class Diagram..........................................................................................39

3.3. User Interface Design...................................................................................................44

3.4. Deployment Diagram...................................................................................................48

IV. CHAPTER FIVER.......................................................................................................49

4 .IMPLIMENTATION..........................................................................................................49

4.1 Overview of the programming language....................................................................49

4.2 Algorithms Used...........................................................................................................49

4.3. Sample Codes for punish student registration..........................................................51

iii
Online Student’s Food Service Management System For DMU

V. CHAPTER FIVER..........................................................................................................61

5.1 Testing...............................................................................................................................61

V.CHAPTER SIX...................................................................................................................64

6. Conclusion and Recommendations.....................................................................................64

6.1. Conclusion...................................................................................................................64

5.2Recommendation and Future Enhancement..................................................................64

5.2.1. Recommendation..................................................................................................64

5.2.2. Future Enhancement.............................................................................................64

References.......................................................................................................................65

List of Figures
Figure 1: Use Case Diagram...................................................................................................16

iv
Online Student’s Food Service Management System For DMU

Figure 2: sequence diagram for head cafe..............................................................................30


Figure 3: Sequence diagram for Student Service Directorate.................................................31
Figure 4: Sequence diagram for web admin...........................................................................32
Figure 5: Activity diagram for register non cafe.....................................................................33
Figure 6: Activity diagram for assign menu.........................................................................34
Figure 7: Activity diagram for register income materials.......................................................35
Figure 8: Activity diagram for create account........................................................................36
Figure 9: : Activity diagram for register non cafe student......................................................37
Figure 10: Analysis class diagram..........................................................................................38
Figure 11: : Design Class Diagram.........................................................................................40
Figure 12: Main Home Page Interface....................................................................................45
Figure 13: Register Incoming Food Item Interface.................................................................46
Figure 14: Request Material Lack Interface...........................................................................47
Figure 15: Deployment Diagram............................................................................................48
Figure 16: sample test for login..............................................................................................62
Figure 17:Sample Test For Registering System Users...........................................................63

v
Online Student’s Food Service Management System For DMU

List of Tables
Table 1 : Use Case Table........................................................................................................15
Table 2: Use case Description for view request......................................................................17
Table 3: Register non café student..........................................................................................18
Table 4: Assign daily menu....................................................................................................19
Table 5: Give meal card..........................................................................................................20
Table 6: Request materials lack..............................................................................................21
Table 7:Assign special food....................................................................................................22
Table 8: Request to finance.....................................................................................................23
Table 9: View report...............................................................................................................24
Table 10: Request ailing student.............................................................................................25
Table 11: Register special food...............................................................................................26
Table 12: Register punish students........................................................................................27
Table 13: Internship Request..................................................................................................28
Table 14: Create account.........................................................................................................29
Table 15: Ailing Student Request Table.................................................................................41
Table 16: Non-cafe students table...........................................................................................41
Table 17: Daily Expenditure table..........................................................................................42
Table 18:Log file table............................................................................................................42
Table 19: Internship Request Table........................................................................................43
Table 20: Daily Expenditure Table.........................................................................................43

List of Acronym

GHz………………………………gigahertz
vi
Online Student’s Food Service Management System For DMU

CD………………………………..compact disk
CSS………………………………cascading style sheet
UML……………………………. .unified modeling language
E-draw……………………………electronic drawing
GB………………………………..gigabyte
ID…………………………………identification
UI…………………………………user interface
No…………………………….......number
PHP………………………………hypertext preprocessor
URL………………………………uniform resource location
HTML…………………………….hypertext markup language
MYSQL…………………………..my structural query language (database)
RAM……………………………...random access memory
SQL………………………………structural query language
WAMP……………………….......windows apache MySQL Php
EID……………………………….employee identification
Stud_Id………………………......student identification
No_stud…………………………..number of student
Reg………………………………..register

vii
Online Student’s Food Service Management System For DMU

Abstract
Debre Markos University student’s food service gives a food service for the students’ and
community. Addressing of food service for the student’s and community gets difficult;
workers use manual system to conduct the service; student service directorate get student’s
information from registrar office using either soft copy or hard copy, and he/she distribute
this information for head café, item store manager and menkorer agro industry in order to
perform what they do for student’s after head café get student’s information he/she assign
daily student’s food menu based on their numbers and send it to item store manager and item
store manager see the ordered item food then food items are send to chef after that item store
calculate how much food items are leave and how much are left through manual.
This project emphasizes on the manual system that is described above. After studying this
manual system by using different types of methodologies we have developed this project that
decrease the workload of workers and increasing information exchange rate by automating
some of the activities that are done manually. Generally this system has major mechanisms
to get current student’s information fastly, enables item store manager to view bin balance,
to register incoming food items and material, and head café to assign student’s daily menu
,to register non cafe students, to assign meal card for students, student directorate to register
punish students, to scale-out food scale.

viii
Online Student’s Food Service Management System For DMU

CHAPTER ONE
1. INTRODUCTION
I.1. INTRODUCTION
Food service management is a process in which addressing of deserving food for the users.
Not only addressing foods but also manage it from being waste (deformation).This
phenomenon is the main task to take in consideration and it is difficult to manage if the
supplier do not know the number of consumers. Because of this reason most of the
organizations are get loss on their services. From those organizations Debre Markos
University is the one which address food services for large number of students.

I.2. Background of the Project


Debre Markos University is one of the government higher institution that give services for
the students and communities. Addressing food services for student is one of the services
from it serves. To do this task the university build-up many division of responsibilities
among those student service directorate, food store, head café, ticker head, chef, student
union and the forth are participants. Even though all assignee persons are placed in different
office, their aim is addressing food services for the students. To do this first they send
number of students to the federal then federal funds for food services. Based on their budget
they plan annual food menu and make a bid to get the food materials from outside body it
may merchant or enterprise. After they get the resources, they try to address the service for
the students by communicating each other. When they do these activities tasks are done
through manual system and it is difficult to address and manage the food service so that we
are initiated to develop web base student’s food service management system for Debre
Markos University.

1
Online Student’s Food Service Management System For DMU

I.3. Problem Statement


Problem: is a situation that needs a solution and for which there are possible solution.
Problem statement: is the description of and issue currently existing which needs to be
addressed; it provides a key point for system developer [1]. Having this definition we have
analyzed the existing system from different point of view and saw the following problems:
 Student service directorates receive number of students from registrar through manual
systems at this time Information is not get fastly and it is time consuming.
 Head café do not get current status of student’s information fastly and it is difficult to
order daily menu correctly because of this it leads to wastage of food.
 Item Store manager gets hard to calculate bin balance; mathematical operations have
done daily with calculator and they make mistake.
 Head cafe assign every day food menu and send it to Item Store manager manually; it is
tedious and time consuming as well as resource consuming like paper and pen.
 When workers make annual and monthly reports they use manual calculation at this
time it is difficult to calculate this annual and monthly report.
 It is difficult to know number of students who leave the university at break time and
holy day to their family.
I.4. Objective of the Project
I.4.1. General Objective
The general objective of the project is to develop online student’s food service management
system for Debre Markos University
I.4.2. Specific Objective
Specific objectives are design to answer the question what advantages the system give after
it accomplish; what kind of situation it creates for the users.
Specific objectives of the proposed system are listed as the follow:
 To develop a mechanism that enables registrar office, college dean, student service
directorate, student food service, head café, Item store manager, enterprise, ticker head
and the forth to communicate each other online.
 To make Student’s daily food menu by the system.
 To generate annual and monthly report by the system.
 To make backup of the system and restore it when necessary.
 To give meal card for the students.

 To create a mechanism that calculates bin balance

2
Online Student’s Food Service Management System For DMU

I.5. Scope of the Project


The documentation of a project's scope explains the boundaries of the project. The scope of
the project covers the development of web based student food service management system to
provide fast and reliable student’s information for head café, student service directorate and
the like to control wastage of food at Debre Markos University.

I.6. Limitation of the project


The proposed system does not replace meal card for students; and doesn’t assign foods for
special food users.

I.7. Significance of the Project


The proposed system delivers different functions for the university:
 Reduce worker load of student’s food service workers like head café, item store worker,
student service directorate, ticker head, post office, enterprise, merchant and the like

 Reduce wastage of food; since current student’s information is known by the system and
daily food menu is ordered by this amount of students.
 Facilitate work process. It means that there is no more time needed for doing some tasks.
 Reduce Corruption; no one can scam or fraud the university’s properties (related to food
item) because all the expenditures and remain items are recorded by the system.
 Get fast information exchange among stack holders; request response is fast as much as
the internet connection is available.

3
Online Student’s Food Service Management System For DMU

I.8. System Requirements


I.8.1. Hardware Requirements
Computer: used to write our proposal, documentation, develop online student’s food service
management system. The computer minimum requirement specifications were following:-
 Processor – core i3 @ 2.4 GHz.
 RAM - 4 GB.
 Hard Drive - 120 GB.
 Operating System - Windows 7(ultimate).
 Backup Device - External hard drive, USB Flash Drive.
 Other materials like: pen and A4 size paper.

I.8.2. Software Requirements


 WAMP Server: manage our servers setting.
The reason why we select WAMP server is:-
 Due to their popularity to any web based applications.
 It is open source.
 The main purpose of a WAMP server is to run test applications before being uploaded
on to the actual server.

 The advantage is that it is easy configurable with the built-in tools.

 Code Lobster php editor: used to write code.


 Edraw: used to draw different UML that is necessary to structure the system.
 Microsoft word 2010: This is used to write the documentation of the proposed system
from the starting to the end of the project.
 Power Point 2010: to presentation purpose.

 Browsers:
o Internet Explorer

o Mozilla Firefox

o Google chrome

4
Online Student’s Food Service Management System For DMU

I.8.3. Programming Language and Data Base Tool


Front –End: (PHP)
Because:
 Increased efficiency & usability - PHP provides incomparable efficiency and usability
when it is used for the development of websites.
 Compatible- PHP is compatible on all operating systems including Windows and
UNIX- among other systems.
 Data processing - A website that has been developed using the PHP functions has fast
features of data processing. Uses its own memory, so the workload of the server and
loading time gets reduced automatically, which results into the faster processing speed.
 Easy to understand - When compared with other scripting languages, PHP can be
understood easily because it has simple techniques and features.
 Integration - it is easy to integrate popular web applications using this scripting
language.
 Cost advantages - There are no licenses, restrictions, or royalty fees involved at all.
PHP is 100% free for anyone to use.
 CSS: - we will use CSS to apply the set of style characteristics of the system.
 HTML: we will use HTML to create web pages for the system.
 JAVASCRIPT: we have used JAVASCRIPT for form validation and different popup
messages

Database tool
Back-End: MYSQL
Because:
 MYSQL is a relational database management system which is an open source
database.
 Because of its unique storage engine architecture MYSQL performance is very high.
 Supports large number of embedded applications which makes MYSQL very
flexible.
 And most of the time MYSQL is compatible with PHP programming language and
MYSQL portable.
 For writing documentation we have used:
 Microsoft word 2013: because it tells the missed word and create automatic reference
we use it.
5
Online Student’s Food Service Management System For DMU

 Microsoft word 2010:because it tells the subject verb agreement of the sentence
 Microsoft PowerPoint 2013

I.9. Data Collection Methodology


There are a number of data collection methods. Some of these are interview,
questioner, observation, and sampling. In this project we collect data using
observation, interview and document analysis method.
 Direct Observation(primary method)
By watching what people do or by obtaining relatively objective measures of how
people behave in work situation, we would have actual and accurate appreciation of
what they really doing or how they are doing it.
 Technique (supplementary method)
We interviews all the participant who is worked at the student’s food service like
student service directorate, head café, item store workers, Menkorer agro industry,
clinical nurse ,and Procter like:
 What kind of system the cafeteria has used?
 How the existing system works?
 What are the duties of the members?
 What are the problems or difficulties’ of the existing system?
 document analysis
We have seen the document which illustrates the power and responsibility of workers
who is participate at Debre Markos University student food service management
system.

6
Online Student’s Food Service Management System For DMU

I.10. Feasibility Study


A feasibility study is an analysis of how successfully a project can be completed, accounting for
factors that affect it such as economic, technological, legal, and operational factors [3].
A feasibility study should provide management with enough information to decide:

 Whether the project can be done


 Whether the final product will benefit its intended users and organization
 What are the alternatives among which a solution will be chosen
 Is there a preferred alternative.

I.10.1. Technical Feasibility


The technical aspect explores—if the project feasibility is within the limits of current
technology and does the technology exist at all, or if it is available within given resource
constraints (i.e., budget, schedule,) [4].
The essential questions that help in testing the technical feasibility of a system include the
following:

 Is the project feasible within the limits of current technology?

 Does the technology exist at all?

 Is it available within given resource constraints?

 Is it a practical proposition?

 Manpower- programmers, testers & debuggers

 Software and hardware

 Are the current technical resources sufficient for the new system?

 Can they be upgraded to provide to provide the level of technology necessary for the
new system?
Since Debre Markos university has the capability to provide hardware and software
requirements for the proposed system so, the system that we have develop is technically
feasible.

7
Online Student’s Food Service Management System For DMU

I.10.2. Economic Feasibility


Economic feasibility (also called a cost–benefit analysis) is determined by identifying costs and
benefits associated with the system, assigning values to them, calculating future cash flows, and
measuring the financial value of the project. This project that we have done gives more
advantage for the university. Since the system is web based, information’s are gained fastly and
it saves cost, time and facilitates work process [6].
I.10.3. Operational Feasibility
This aspect defines the urgency of the problem and the acceptability of any solution. It
shows if the system is developed, will it be used [5].
The essential questions that help in testing the operational feasibility of a system include the
following:

 Does current mode of operation provide adequate throughput and response time?

 Does current mode provide end users and managers with timely, appropriate, accurate
and useful formatted information?

 Does current mode of operation provide cost-effective information services to the


business?

 Could there be a reduction in cost and or an increase in benefits?

 Does current mode of operation offer effective controls to protect against fraud and to
guarantee accuracy and security of data and information?

 Does current mode of operation provide reliable services?

 If the system is developed, will it be used?

 Are the users not happy with current business practices?

 Will it reduce the time (operation) considerably?

 Will the proposed system really benefit the organization?

I.10.4. Legal Feasibility


Legal feasibility determines whether the system conflicts with the legal requirement or not.
The project team members were built the system without violating rules and regulations of
the University. Our project does not conflict with the rule and regulation of the Debre Markos
University rather it gives advantage to our University.

8
Online Student’s Food Service Management System For DMU

II. CHAPTER TWO


2. System Analysis
Analysis is the process of investigating a system, identifying problems, and using the
information to recommend improvements to the System. Analysis is systematic examination
and evaluation of data or information, by breaking it into component parts to uncover the
interrelation ships [7].

2.1. Overview of the Existing System


Now a day, in Debre Markos University most of student’s food service is performing
through manual system. In general, highlight of existing system are described as follow:
University sends number of student to federal then federal fund the budget.
Student service directorate make annual plan of student’s food menu based on the budget.
Student’s daily food consumption is scale-up by considering fifteen birr per a day for each
student. All incoming materials are placed at food store at this time all are registered on the
paper. When new materials are import student service directorate, student union, head café,
store worker and merchant have to check the materials.
Then café head order food items based on daily menu to Item Store manager.
Item Store manager give the daily food items then calculate how much he give and how
much food items are left at the store it means make bin balance. Head café and student union
check the quality and amount of materials then send to chef .If there is a problem at the food
item, chef tells the problem to head café. Head café then send the problem to Item Store
manager and Item Store manager tell the Merchant to supply pure materials for the future
even they return the materials.

9
Online Student’s Food Service Management System For DMU

II.1.1. Users of the Existing System

 Head café: The head cafe is responsible for register non café students, assign daily student’s
food menu, give meal card for café users, make daily report of food consumed by the
students, request material lack and replace meal cards.
 Student service directorate: in the existing system student service directorate is responsible
for announcing number of students who leave the university in case of internship, discipline,
academic dismiss, add and drop to head café.
 Item store manager: is responsible for registering income food goods and materials and
check remaining food goods.
 Ticker head: ticker head is responsible for announcing students’ who can use and cannot use
the café in case of different reasons for cafeteria tickers.
 Proctor: proctor is responsible for announcing number of students’ who leaves the
university by different reasons from the building he/she controls to student service
directorate.
 Nurse: nurse is responsible for checking the health of students whether he/she needs a
special food then write a form to head café which shows the student has a special case then
students use the special food.
 Registrar: registrar is responsible for sending student’s information that is academic
dismiss, add and drops to student service directorate.
 Student union: the responsibility of student union is checking student’s daily food menu
process to finance and check if the food has good quality or not and register students’ who
eat food differ from regular menu specially pasta and announce them to head café.
 Merchant and Enterprise: the responsibility of merchant and enterprise is supplying food
goods and materials for Debre Markos University.
 President and vice-president: view annual report.
 Finance: the responsibility of finance is to pay for merchants and enterprise who supply food
goods and materials.
 Chef: the responsibility of chef is to prepare student’s food based on ordered.
 Post office: : the responsibility of post office is to pay money for non café studens.

II.2. System Requirement Specification


II.2.1. Functional Requirements

The Functional requirements specification documents the operations and activities that a
system must be able to perform [8].
II.2.1.1. User requirements
User requirements are a requirement in which the system must full fill for the users. Some of
these are listed below:
 The system should accept user name and password of a stakeholder.
 The system should allow system administrator to register eligible users of the
organization.
 The system should validate the data entry.
 The system shall validate and authenticate the user’s user name and password.

10
Online Student’s Food Service Management System For DMU

 The system shall allow Item store manager to view bin-balance, to register incoming
food, to view remaining food, to replay the daily menu for head café.
 The system shall allow student’s service directorate to register punish students and
announce for head café.
 The system shall allow head café to register non-café students, to give meal-card for
café user students, to assign daily student’s food menu, to send request for Item store
manager, to view current student’s information, to view registered food, and to make
a report.
 The system shall allow president and vice-president to view annual report.
 The system shall allow proctor to send or announce number of students who go to
their family at beak time and holy-day.

II.2.1.2. System requirement


System requirements are a requirement in which the users must full fill for the system. Some
of these are listed below:
 The minimum requirement which system needs is operating system should be
window seven.
 All users of this system should be a little more familiar with computer.
 Users should login with their user name and password.
 Users shall update their account.
 Users should insert valid data.
 Users should be the member of Debre Markos University.
 After using the system the user should logout from the system.

II.2.2. Non Functional Requirements

Non-Functional requirement cover all the remaining requirements which are not covered by
the functional requirements. A non-Functional requirement specifies the system’s quality
characteristics or quality attributes [9].
II.2.2.1. Technical Requirements
A technical requirement concerns to the technical aspects that our system must full fill.
 Performance: web based student’s food service management system allows users to
send and access student’s information, to calculate the necessary tasks with a high
speed.
 Reliability: Since system needs to have back up servers, it shall be accessible at any
time, with the exception of technology infrastructure failure. This requirement shall be
provided for and by the Debre Markos University technology systems.

11
Online Student’s Food Service Management System For DMU
 Security: - Student food service management system provides security for the database; it
means that when unauthorized user enter to the system it should not be accessible since it
will decrypt.
 Integrity:-Debre Markos University students food service management system is
accessible for only authorized users of the system to update, modify, delete or access data.
Access is denied for unauthenticated users of the system using access restriction
mechanisms such us user name, password, and access level (read only, read and write).
 User Access: - The system provides attractive and easy to use user interface for users by
avoiding complex links and buttons’ in human understandable format.
 Reusability: - The system shall be well-documented in order for new administrators to
change content as needed. Also, the system shall be designed in such a way that
administrators may modify content without having to modify code.
 Application Affinity/Compatibility
The system shall be compatible with any of the following Internet browsers: Microsoft
Internet Explorer, Google Chrome, Safari, comet bird and Mozilla Firefox
 Resource Utilization
The system shall be accessible from any type of computer with an active Internet connection.
The system shall require active servers with adequate hard drive spaces and available
memories
 Authorization and Authentication
The proposed system will authenticates the user and provides authorization facilities by
asking username and password and determining whether a user is authorized to access a
resource or to perform an operation or both respectively.
 Availability: the system would available 24/7.
 Maintainability Backup server is needed for the system that enables to recover the data,
while failure happens. The system sholud easily maintainable by the administrator
through the use of php user interface. Also, other eligible programmers capable of easily
modifying and updating code by using the documentation provided with the system.
 Easy to use:-As it computerized the system is simple to use and easy to learning.
Generally:
 The system has well organized information storage and accessing mechanism.
 The operating language being used is English which is internationally understood that
increases readability.
 The system has an easily understandable design for users to use it.

12
Online Student’s Food Service Management System For DMU

 The system provide quick and easy information analysis which in turn maximizes the
overall work efficiency.
 The system able to manage all the information incoming from the database.

II.2.3.Business Rule
A business (also known as an enterprise, a company) is an organizational entity involved in
the delivery of goods and services to consumers.
A business rule is a statement that describes a business policy or procedure. Business rules
are usually expressed at the atomic level -- that is, they cannot be broken down any further
[10].

Business rule of Debre Markos University students’ food service are listed as follow:

Name:-determine quality of materials and foods


ID:-BR-1:
Description:-this business rule states that supplier’s goods and materials are received if and
only if and only if the quality of goods and materials have approved by the curators.
Name:-determine daily food menu change
ID:-BR-2
Description:-This business rule describes that daily food menu will change if and only if
there is shortage of supply for that specific day specially interruption of electricity.
Name:-determine price of good and materials
ID:-BR-3
Description:-This business rule describes that the price of goods and materials should be
constant till the contract has finished.
Name:-determine suppliers
ID:-BR-4
Description:-This business rule describes that suppliers who supply goods and materials
with minimum price are selected.
Name:-determine daily expenditure
ID:-BR-5
Description:-This business rule describes that the daily food expenditure is determined by
number of students.
Name:-punishment of undisciplined workers
ID:-BR-6
Description:-This business rule describes that a person who break the rule and regulation of
Debre Markos University Student food service system will punish.
Name:-determine replace meal card
13
Online Student’s Food Service Management System For DMU

ID:-BR-7
Description:-This business rule describes that students who lost his/her meal card and
replaced this meal card twice then the student should be rejected from cafeteria service and
then he/she will be non-café users.
Name:-determine validating daily expenditure
ID:-BR-8
Description:-This business rule describes that the daily food expenditure are leave from
Item store manager if and only if student union, Item store manager, and head café put their
signature at the pepper.
Name:-determine assigning meal card
ID:-BR-9
Description:-This business rule describes that students who are cafeteria users allowed to
have only one meal card

II.2.4.Change Case
Earlier we had said to do biding system in addition to this but we got a shortage of time to do
this as a result we are excluded from the project.
II.3. System Requirements Analysis
II.3.1.Actor and use case Identification
Actor: actor in a use case diagram is any entity that performs a role in one given system. This could
be a person, organization or an external system and usually drawn like skeleton
The actors that interact with student’s food service management system are:-

14
Online Student’s Food Service Management System For DMU

Use Case
A use case represents a function or an action within the system. It is drawn as an oval and
named with the function.

ID Use Case Name Include


UC1 Login
UC2 Register incoming food UC1
UC3 View remain food item UC1
UC4 View daily menu UC1
UC5 Register incoming materials UC1
UC6 View Request UC1
UC7 Register non café students UC1
UC8 Assign daily menu UC1
UC9 Make Report UC1
UC12 Request Material Lack UC1
UC13 Assign Special Food UC1
UC14 Upload Students list UC1
UC15 Request to Finance UC1
UC16 View Report UC1
UC17 Request Ailing Students UC1
UC18 Pay for non cafe UC1
UC19 Register Special Food user UC1
UC20 Check Daily Food Menu UC1
UC21 Register Students UC1
UC22 Approve finance request UC1
UC23 Post notice UC1
UC25 Register punish Students UC1
UC26 Check out Food scale UC1
UC27 Internship Request UC1
UC28 View log events UC1
UC29 Use back up UC1
UC30 Create accounts UC1
UC31 Manage Profiles UC1
UC32 Send Feedback UC1
UC33 Register Irregular food user UC1
UC34 View Shortage of item UC1
UC35 View Daily Eaten Food UC1
UC36 Approve Material Lack Request UC1
UC37 View Material Lack Request UC1
UC38 View Import item UC1
UC39 Update Student Status UC1
UC40 Reject Request UC1
UC41 Accept Request UC1
UC42 View Feed back
Table 1 : Use Case Table

15
Online Student’s Food Service Management System For DMU

II.3.1.1. Use case diagram


A use case diagram is a Unified modeling language that describes the interaction between a use case
and actors. It emphasis the user to know the functional requirement of the system. A use case
diagram contains use case(represents a function or an action within the system), system (define the
scope of the use case), actor (any entity that performs a role in one given system).

Figure 1: Use Case Diagram


16
Online Student’s Food Service Management System For DMU

II.3.1.2. Use case description

Use case View request

ID UC6

Include UC1
Actor ticker head, student service directorate, finance ,item store manager

Description All the above listed actors view request to do their specified task

Precondition Login to the system using his/her user name and password

Post condition Get full information

Basic course of 1. Look the site on the address bar of the browser.
action 2. Enter user name and password
3. Click on view request tab on the menu and select message from Procter.
4. End of use case.

Alternative course A: If login detail is incomplete or mismatch at step 2.


of action A1: the system displays error message.
A2: actors must look and fix those errors.
A3: The use case continues at step 2.

Table 2: Use case Description for view request

Use case Register non café student

ID UC7

Actor Head cafe

Description Head café register non café students.


17
Online Student’s Food Service Management System For DMU

Precondition Login to the system using his/her user name and password

Post condition Non café students’ are registered.

Basic course of 1. Look the site on the address bar of the browser.
action 2. Enter user name and password
3. Click on Register non café students ‘tab on the menu.
4. Fill all the information at the form and click submit.
5. The system displays success message
6. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of action A1: the system displays error message.
A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 3: Register non café student

Use case Assign daily menu

ID UC8

Actor Head cafe

Description Head café see the day and assign daily food menu for that specific day.

Preconditio Login to the system using his/her user name and password

18
Online Student’s Food Service Management System For DMU

Post Daily foods are assigned.


condition

Basic course 1. Look the site on the address bar of the browser.
of action 2. Enter user name and password
3. Click on Assign daily menu tab on the menu.
4. Select the day, food’s good type and their amount.
5. Click submit button.
6. The system displays success message
7. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of A1: the system displays error message.
action A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 4: Assign daily menu

Use case Give meal card

ID UC10

Actor Head cafe

Description Head café give a meal card for café users.

Preconditio Login to the system using his/her user name and password
n

Post Students get meal card.

19
Online Student’s Food Service Management System For DMU

condition

Basic course 1. Look the site on the address bar of the browser.
of action 2. Enter user name and password
3. Click on give meal cardtab on the menu.
4. Fill all the required information and click submit button.
5. The system displays success message
6. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of A1: the system displays error message.
action A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 5: Give meal card

Use case Request materials lack

ID UC12

Actor Head café

Description Head café request material lacks for food store.

Preconditio Login to the system using his/her user name and password
n

Post Material’s request is sent.


condition

20
Online Student’s Food Service Management System For DMU

Basic course 1. Look the site on the address bar of the browser.
of action 2. Enter user name and password
3. Click on request material lack tab on the menu.
4. Fill all the required information and click submit button.
5. The system displays success message
6. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of A1: the system displays error message.
action A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 6: Request materials lack

Use case Assign special food

ID UC13

Actor Head café

Description Head café assign special food for students who have a special case on
his or her health.

Preconditio Login to the system using his/her user name and password
n

21
Online Student’s Food Service Management System For DMU

Post Special foods are assigned.


condition

Basic course 1. Look the site on the address bar of the browser.
of action 2. Enter user name and password
3. Click on assign special food tab on the menu.
4. Fill all the required information and click submit button.
5. The system displays success message
6. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of A1: the system displays error message.
action A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 7:Assign special food

Use case Request to finance.

ID UC15

Actor Merchant, enterprise

Description Merchant and enterprise request to finance to pay for the goods which
they import.

Precondition Login to the system using his/her user name and password

Post condition Requests are sent.

22
Online Student’s Food Service Management System For DMU

Basic course of action 1. Look the site on the address bar of the browser.
2. Enter user name and password
3. Click on Request to finance tab from the menu.
4. Fill all the required information and submit.
5. End of use case.

Alternative course of A: If login detail is incomplete or mismatch at step 2.


action A1: the system displays error message.
A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 8: Request to finance.

Use case View report

ID UC16

Actor President, vice-president, student’s service directorate

Description President and vice-president view annual report; student’s service


directorate view monthly and annual report send from head café.

Precondition Login to the system using his/her user name and password

Post condition Reports are viewed.

23
Online Student’s Food Service Management System For DMU

Basic course of action 1. Look the site on the address bar of the browser.
2. Enter user name and password
3. Click on view reports.
4. End of use case.

Alternative course of A: If login detail is incomplete or mismatch at step 2.


action A1: the system displays error message.
A2: actors must look and fix those errors.
A3: The use case continues at step 2.

Table 9: View report

Use case Request ailing student

ID UC17

Actor Nurse

Description The nurse check the student health status and then attach the information to the
head cafe.

Precondition Login to the system using his/her user name and password

Post condition Get message as he Send successful information to the head café.

24
Online Student’s Food Service Management System For DMU

Basic course of 1. Look the site on the address bar of the browser.
action 2. Enter user name and password
3. Click on request ailment tab on the menu.
4. Fill full information on the form and click submit button.
5. The system displays success message
6. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of action A1: the system displays error message.
A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 10: Request ailing student

Use case Register special food

ID UC19

Actor Student union

Description Student unions register students who do not eat regular food .

Precondition Login to the system using his/her user name and password

Post condition Students are registered.

25
Online Student’s Food Service Management System For DMU

Basic course of 1. Look the site on the address bar of the browser.
action 2. Enter user name and password
3. Click on register special food tab on the menu.
4. Fill all the required information and click submit button.
5. The system displays success message
6. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of A1: the system displays error message.
action A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.


B1: the system displays error message.
B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 11: Register special food

Use case Register punish students

ID UC25

Actor Student service directorate

Description Student service directorate announce students’ who is dismiss from the
university increase of discipline.

Precondition Login to the system using his/her user name and password

Post condition Get message as he Send successful information to the head café.

26
Online Student’s Food Service Management System For DMU

Basic course of 1. Look the site on the address bar of the browser.
action 2. Enter user name and password
3. Click on request ailment tab on the menu.
4. Fill full information on the form and click submit button.
5. The system displays success message
6. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of action A1: the system displays error message.
A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.

B1: the system displays error message.


B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 12: Register punish students

Use case Internship Request

ID UC27

Actor college

Description College announce number of students those who are gone to internship to
the student service directorate.

Precondition Login to the system using his/her user name and password

Post condition Get successful message that shows weather he was sent correct student
information or not.

27
Online Student’s Food Service Management System For DMU

Basic course of 1. Look the site on the address bar of the browser.
action 2. Enter user name and password
3. Click on send request button
4. Fill all the required information on the form then send to student
service directorate.
5. End of use case.

Alternative course A: If login detail is incomplete or mismatch at step 2.


of action A1: the system displays error message.
A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.

B1: the system displays error message.


B2: actors must look and fix those errors.
B3: The use case continues at step 4.

Table 13: Internship Request

Use case Create account

ID UC30

Actor Web admin

Description Web admin create account for an eligible user of the system

Preconditio Login to the system using his/her user name and password
n

Post Users get account.


condition

28
Online Student’s Food Service Management System For DMU

Basic course 1. Look the site on the address bar of the browser.
of action 2. Enter user name and password
3. Click on create account button
4. Fill all the required information on the form then click submit it.
5. End of use case.

Alternative A: If login detail is incomplete or mismatch at step 2.


course of A1: the system displays error message.
action A2: actors must look and fix those errors.
A3: The use case continues at step 2.

B: if the information is incomplete at step 4.

B1: the system displays error message.


B2: actors must look and fix those errors.
B3: The use case continues at step 4.

29
Online Student’s Food Service Management System For DMU

Table 14: Create account

II.3.2.Sequence Diagram
It is an interaction diagram that details how operations are carried out: what messages are
sent and when. Sequence diagrams are organized according to time. The time progresses as
you go down the page.

30

Figure 2: sequence diagram for head cafe


Online Student’s Food Service Management System For DMU

Figure 3: Sequence diagram for Student Service Directorate

31
Online Student’s Food Service Management System For DMU

Figure 4: Sequence diagram for web admin

32
Online Student’s Food Service Management System For DMU

II.3.3.4Activity Diagram
Activity diagram is used to show message flow from one activity to another. Activity
diagrams are mainly used as a flow chart consists of activities performed by the system [12].

Figure 5: Activity diagram for register non cafe

33
Online Student’s Food Service Management System For DMU

Figure 6: Activity diagram for assign menu

34
Online Student’s Food Service Management System For DMU

Figure 7: Activity diagram for register income materials

35
Online Student’s Food Service Management System For DMU

Figure 8: Activity diagram for create account

36
Online Student’s Food Service Management System For DMU

Figure 9: : Activity diagram for register non cafe student

37
Online Student’s Food Service Management System For DMU

II.3.4.Analysis Class Diagram


The class diagram shows how the different entities (people, things, and Data) relate to each
other; in other words, it shows the static structures of the system. A class diagram is an
illustration of the relationships and source code dependencies among classes in the Unified
Modeling Language (UML) [13].

Figure 10: Analysis class diagram

38
Online Student’s Food Service Management System For DMU

III. CHAPTER THREE

3. System Design
Introduction
Systems design is the process of defining the architecture, components, modules, interfaces,
and data for a system to satisfy specified requirements.
System design is the transformation of the analysis model into a system design model and
the detail investigation of system elements from logical view.The purpose of designing is to
show the direction how the system is built and to obtain clear information needed to drive
the actual implementation of the system.
System design is used to model and build the system information needed to drive the actual
implementation of the system.
III.1.Design Class Diagram
A class diagram in the Unified Modeling Language (UML) is a type of static structure
diagram that describes the structure of a system by showing the system's classes, their
attributes, operations (or methods), and the relationships among objects.
A class diagram is an illustration of the relationships and source code dependencies among
classes in the Unified Modeling Language (UML).
It provides an overview of the target system by describing the objects and classes inside the
system and the relationships between them.
It provides different usages from modeling the domain-specific data structure to detailed
design of the target system.

39
Online Student’s Food Service Management System For DMU

Figure 11: : Design Class Diagram

40
Online Student’s Food Service Management System For DMU

3.2. Physical data model


Physical data model represents how the model built in the database. A physical database
model shows all table structures, including column name, column data type, column
constraints, primary key, foreign key, and relationships between tables.
The following are sample database structure in our system:

Table 15: Ailing Student Request Table

41
Online Student’s Food Service Management System For DMU

Table 16: Non-cafe students table

Table 17: Daily Expenditure table

42
Online Student’s Food Service Management System For DMU

Table 18:Log file table

Table 19: Internship Request Table

43
Online Student’s Food Service Management System For DMU

Table 20: Daily Expenditure Table

3.3. User Interface Design


User interface design is the design of computers, appliances, machines, mobile
communication devices, software applications, and websites with the focus on the user's
experience and interaction.
The goal of user interface design is to create user-centered design to enable user to interact
with the system effectively and efficiently.
The following interface design pictures describe the logical characteristics of some interfaces
between the system and the users. So the sample interfaces are shown as follows:

Figure 12: Main Home Page Interface

44
Online Student’s Food Service Management System For DMU

Figure 13: Register Incoming Food Item Interface

45
Online Student’s Food Service Management System For DMU

Figure 14: Request Material Lack Interface

46
Online Student’s Food Service Management System For DMU

3.4. Deployment Diagram


A UML deployment diagram depicts a static view of the runtime configuration of hardware
nodes and the software components that run on those nodes.
The purpose of deployment diagrams can be described as:
 Visualize hardware topology of a system.

 Describe the hardware components used to deploy software components.

 Describe runtime processing nodes.

Figure 15: Deployment Diagram

47
Online Student’s Food Service Management System For DMU

IV. CHAPTER FIVER

4 .IMPLIMENTATION
4.1 Overview of the programming language
For implementing this project we use the following programing language:-
 PHP (We use PHP language for the system development, and our system (software)
will be compatible on all hardware platforms such as windows &Linux)
 Scripting language:-used to develop different validations.
 HTML:-to display the web page.
 CSS: - for the formatting of the web site.
4.2 Algorithms Used

Pseudo code

Pseudo code is compact and informal high-level description of a computer programming


algorithm that uses the structural conventions of a programming language but is intended for
human reading rather than machine reading. The purpose of using pseudo code is that it is
easier for humans to understand than conventional programming language code, and that it is
a compact and environment-independent description of the key principles of an algorithm.
Pseudo code for register income food item
Load item store page
Open item registration form
Fill
The Login registration form
Click the register button
If (Form is filled)
If (valid)
Generate SQL select queries
Connect to database
Pass queries to database
If (any query fails)
Display error message
Else
Read session
If session exists on database, item is added to food store,
48
Online Student’s Food Service Management System For DMU
Else
If they're correct
Create session ID
Store session ID on database
Display the page
End if
End if
Else
Display error message
Ask the user to refill the form
End if
End if

49
Online Student’s Food Service Management System For DMU

4.3. Sample Codes for punish student registration

<?php
session_start();
include("connection.php");
?>
<html>
<head>
<title>student directorate register punish student </title>
<link rel="Stylesheet" type="text/css" href="setting.css">

</head>
<body>
<div id="container">
<table border="0" >
<tr>
<td>
<?php
include("header.php");
?>
</td>
</tr>
<tr>
<td>

<table>
<tr>
<td>
<?php
include("menu.php");
?>
</td>
</tr>
50
Online Student’s Food Service Management System For DMU

</table>

</td>
</tr>
<div id="content">
<tr>
<td>
<table border="0" width="" height="400">
<tr>
<td width="500" height="50" >
<div id="Center">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link href='http://fonts.googleapis.com/css?family=Bitter' rel='stylesheet'


type='text/css'>
<style type="text/css">

}
.form-style-10{
max-width:450px;
padding:30px;
margin:40px auto;
background: #FFF;
border-radius: 10px;
-webkit-border-radius:10px;
-moz-border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}
.form-style-10 .inner-wrap{
51
Online Student’s Food Service Management System For DMU

padding: 30px;
background: #d2d2d2;
border-radius: 6px;
margin-bottom: 15px;
}
.form-style-10 h1{
background: #5588c6;
padding: 20px 30px 15px 30px;
margin: -30px -30px 30px -30px;
border-radius: 10px 10px 0 0;
-webkit-border-radius: 10px 10px 0 0;
-moz-border-radius: 10px 10px 0 0;
color: #fff;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
font: normal 30px 'Bitter', serif;
-moz-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
-webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
border: 1px solid #257C9E;
}
.form-style-10 h1 > span{
display: block;
margin-top: 2px;
font: 20px Arial, Helvetica, sans-serif;

}
.form-style-10 label{
display: block;
font: 13px Arial, Helvetica, sans-serif;
color: #2d2d2d;
margin-bottom: 15px;
}
.form-style-10 input[type="text"],
.form-style-10 input[type="date"],
52
Online Student’s Food Service Management System For DMU

.form-style-10 input[type="datetime"],
.form-style-10 input[type="email"],
.form-style-10 input[type="number"],
.form-style-10 input[type="search"],
.form-style-10 input[type="time"],
.form-style-10 input[type="url"],
.form-style-10 input[type="password"],
.form-style-10 textarea,
.form-style-10 select {
display: block;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
width: 100%;
padding: 8px;
border-radius: 6px;
-webkit-border-radius:6px;
-moz-border-radius:6px;
border: 2px solid #fff;
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
-moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
-webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-style-10 .section{
font: normal 20px 'Bitter', serif;
color: #2A88AD;
margin-bottom: 5px;
}
.form-style-10 .section span {
background: #2A88AD;
padding: 5px 10px 5px 10px;
position: absolute;
border-radius: 50%;
53
Online Student’s Food Service Management System For DMU

-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border: 4px solid #fff;
font-size: 14px;
margin-left: -45px;
color: #fff;
margin-top: -3px;
}
.form-style-10 input[type="button"],
.form-style-10 input[type="submit"],
.form-style-10 input[type="reset"]{
background: #2A88AD;
padding: 8px 20px 8px 20px;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
color: #fff;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
font: normal 30px 'Bitter', serif;
-moz-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
-webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
border: 1px solid #257C9E;
font-size: 15px;
}
.form-style-10 input[type="button"]:hover,
.form-style-10 input[type="submit"]:hover,
.form-style-10 input[type="reset"]:hover{
background: #2A6881;
-moz-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
-webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
}
.form-style-10 .privacy-policy{
54
Online Student’s Food Service Management System For DMU

float: right;
width: 250px;
font: 12px Arial, Helvetica, sans-serif;
color: #4D4D4D;
margin-top: 10px;
text-align: right;
}

</style>
</head>

<?php

if(isset($_SESSION['username'])&&isset($_SESSION['password'])&&isset($_S
ESSION['role']))
{
$username=$_SESSION['username'];
$password=$_SESSION['password'];
$role=$_SESSION['role'];

$query1=mysql_query("select * from user WHERE


userid='$username'");
while($query2=mysql_fetch_array($query1))
{
$uid=$query2['userid'];
$name=$query2['fname'];
$lname=$query2['sname'];
$img=$query2['photo'];
}

}?>
<p><h4>Enter Student's ID to get full information</h4></p>
<form action="" method="post">
ID-NO:<input type="text" name="id"><br>
55
Online Student’s Food Service Management System For DMU

<input type="submit" value="Search" name="search">


</form>

<?php
$year=Date('Y');
$date=Date('Y/m/d');
$dattee=Date('l',strtotime($date));

if(isset($_POST['search']))
{

$id=$_POST['id'];
$sql=mysql_query("select * from studentlist where id='$id'");
$row=mysql_fetch_array($sql);
if($row)
{
$id=$row['id'];
$name=$row['name'];
$ayear=$row['year'];
$sex=$row['sex'];
$dept=$row['dept'];
$meal=$row['meal'];

?>
<div class="form-style-10">
<h1>Register <i>Punish</i> Students</h1>

<form action="" method="POST">


<div class="inner-wrap">

<label>Date:<input type="text"name="dat"readonly="" value="<?php echo


$date; ?>"/></label>
56
Online Student’s Food Service Management System For DMU

<label>Name:<input type="text"name="name"readonly="" value="<?php


echo $name; ?>"/></label>
<label>Sex:<input type="text"name="sex"readonly="" value="<?php echo
$sex; ?>"/></label>
<label>ID NO:<input type="text"name="id"readonly="" value="<?php echo
$id; ?>"/></label>
<label>Departement:<input type="text"name="dept"readonly="" value="<?
php echo $dept; ?>"/></label>
<label>Class year:<input type="text"name="cyear"readonly="" value="<?
php echo $ayear; ?>"/></label>
<label>Acadamic year:<input type="text"name="ayear"readonly=""
value="<?php echo $year; ?>"/></label>
<label>Reason for register: <textarea name="reason" required="">
</textarea> </label>

</div>
<div class="button-section">
<input type="submit" name="register" value="Rgister" style="width: 120;
height: 30;"/>
</div>
</form>
</div>

<?php
}
else
echo '<script type="text/javascript">
alert(" no recored found with this id")</script>';
?>
<?php
}
if(isset($_POST['register']))
57
Online Student’s Food Service Management System For DMU

{
$na=$_POST['name'];
$idd=$_POST['id'];
$dep=$_POST['dept'];
$ayear1=$_POST['ayear'];
$cyear=$_POST['cyear'];
$dat=$_POST['dat'];
$sexxt=$_POST['sex'];
$reson=$_POST['reason'];
$sqld=mysql_query("SELECT * FROM punish WHERE rid='$idd'")
or die(mysql_error());
$count2=mysql_num_rows($sqld);
if($count2=='0')
{
$sqla=mysql_query("insert into
punish(date,eid,studid,name,cyear,acyear,dept,sex,reason)
VALUES('$dat','$uid','$idd','$na','$cyear','$ayear1','$dep','$sexxt','$reson')") OR
die(mysql_error());

if($sqla>0)
{
echo '<script type="text/javascript">
alert(" seccesfully registered")</script>';
}
}
else echo "not inserted";
}
?>
<?php

?>
</div>
</td>
58
Online Student’s Food Service Management System For DMU

<td width="1" height="50">


<div id="sideright">
<?php
include ("studentdirectorateprofile.php");
?>
</div>

</td>
</tr>
<tr>
<td colspan="3" height="100">
<?php
include("footer.php");
?>
</td>
</tr>
</table>
</td></tr>
</div>

</table>

</div>

</body>
</html>

59
Online Student’s Food Service Management System For DMU

V. CHAPTER FIVER

5.1 Testing
Unit testing: -Every module of the System is separately tested. I.e. the team tests every
module by applying some selection mechanism. Through this mechanism every modules
gets tested. If an error occurs correction will be taken without affecting another module.
Integrated testing: - In this testing part, all the modules combined together and tested for
fitness with each other and with the systems functionality. If error occurs in combining them,
the module with problem will be identified and re combined.
System testing: - In this testing, the team performs over all functional testing by checking
whether it meets the required target.

60
Online Student’s Food Service Management System For DMU

Figure 16: sample test for login

61
Online Student’s Food Service Management System For DMU

62
Online Student’s Food Service Management System For DMU

63
Online Student’s Food Service Management System For DMU

V.CHAPTER SIX
6. Conclusion and Recommendations
6.1. Conclusion
The project titled as “Student’s Food Service management system” is a web based
application. This system provides online student’s information exchange among
stakeholders of the food service, facilitate work process, reduce work load for food
service workers like head café, item store manager, student directorate and also for
other participants. Since the system is developed by user friendly language there is no
fear on failures of the system because it can be easily maintainable.
5.2Recommendation and Future Enhancement
5.2.1. Recommendation
We are recommended Debre Markos University to use the developed system in order to
facilitate the work process and to reduce wastage of food items since the system can
calculate everything regarding to food and the system protect the university from being fraud
by eligible stack holders.
5.2.2. Future Enhancement
For future enhancement it is better to include the following activities
 The system will be developing that support mobile phone to do the tasks that can
do without presenting at work place and notification will address with mobile
 The system will be including Amharic language.
 The system will be announced system alert for web admin whenever the change
arise that can harm the system and can interrupt this problem.

References

64
Online Student’s Food Service Management System For DMU

[1] [Online]. Available: https://en.wikipedia.org/wiki/Problem_statement. [Accessed 17


December 2009].

[2] [Online]. Available: http://www.slideshare.net/MMASSY/research-objectives-13231506.


[Accessed 14 November 2009].
[3] [Online]. Available: http://www.investopedia.com/terms/f/feasibility-study.asp. [Accessed
29 November 2009].
[4] [Online]. Available: https://www.extension.iastate.edu/agdm/wholefarm/html/c5-65.html.
[Accessed 03 December 2009].
[5] [Online]. Available: https://www.extension.iastate.edu/agdm/wholefarm/html/c5-65.html.
[Accessed 03 December 2009].
[6] [Online]. Available: https://www.extension.iastate.edu/agdm/wholefarm/html/c5-65.html.
[Accessed 03 December 2009].
[7] [Online]. Available: https://www.merriam-webster.com/dictionary/systems%20analysis.
[Accessed 20 December 2009].
[8] [Online]. Available: http://reqtest.com/requirements-blog/functional-vs-non-functional-
requirements/. [Accessed 23 December 2009].
[9] [Online]. Available: http://reqtest.com/requirements-blog/functional-vs-non-functional-
requirements/. [Accessed 23 December 2009].
[10] [Online]. Available: http://whatis.techtarget.com/definition/business-rule. [Accessed 24
December 2009].
[11] [Online]. Available: http://www.ibm.com/developerworks/rational/library/3101.html.
[Accessed 26 December 2009].
[12] [Online]. Available: https://www.tutorialspoint.com/uml/uml_activity_diagram.htm.
[Accessed 26 December 2009].
[13] [Online]. Available: https://www.tutorialspoint.com/uml/uml_class_diagram.htm.
[Accessed 26 December 2009].

65

You might also like