Professional Documents
Culture Documents
Employee Leave Management System
Employee Leave Management System
PROJECT REPORT ON
SUBMITTED BY-
RAMPRASAD
TO
UNIVERSITY OF MUMBAI
IN PARTIAL FULLFILLMENT OF
1
Employee Leave Management System
CERTIFICATE
DATE:
2
Employee Leave Management System
ACKNOWLEDGEMENT
“An act of gratitude is that which acknowledges the blessings of well-wishers
and supporting guidance of their rich experience, which enlighten, inspires
and motivates to do something valuable.”
I would like to and acknowledge kind support, facilities specially made
available to us by management of our institute N.G.ACHARYA & D.K.
MARATHE COLLEGE. We would not have completed it without
theirwholehearted support.
I would like to thank our honourable Principal VidyagauriLele for granting
us different facilities to do the project under the guidance of our faculty.
Because to their support this project was a success.
I sincerely acknowledge with deep sense of gratitude & the support given by
our HOD. Mrs.ArchanaJadhav, project guide Ms. Suvarna Mhatre for
her guidelines and various suggestions.
Last but not the least, Iwould also like to thank all the faculty members of the
Computer Science Department for their generous support and my friend
Gaurav Mehta for all timely help.
3
Employee Leave Management System
INDEX
4
Employee Leave Management System
PRELIMINARY INVESTIGATION
5
Employee Leave Management System
1.1 INTRODUCTION
Project Features
Software Requirement
Installation Steps
Download Project
In the existing paper work related to leave management, leaves are maintained
using the attendance register for staff. The staff needs to submit their leaves
manually to their respective authorities. This increases the paperwork &
maintaining the records becomes tedious. Maintaining notices in the records
also increases the paperwork. The main objective of the proposed system is to
decrease the paperwork and help in easier record maintenance by having a
particular centralized Database System, where Leaves and Notices are
maintained. The proposed system automates the existing system. It decreases
the paperwork and enables easier record maintenance. It also reduces chances
of Data loss. This module intelligently adapts to HR policy of the management
& allows employees and their line managers to manage leaves and
replacements for better scheduling of workload.
6
Employee Leave Management System
In the existing paper work related to leave management, leaves are maintained
using the attendance register for staff. The staff needs to submit their leaves
manually to their respective authorities. This increases the paperwork &
maintaining the records becomes tedious. Maintaining notices in the records
also increases the paperwork.
7
Employee Leave Management System
WAMP Server
XAMPP Server
MAMP Server
LAMP Server
Installation Steps:
8
Employee Leave Management System
Number of Modules
After careful analysis the system has been identified to have the following
modules:
1. Admin Module
2. Employee Module
3. Hod Module
4. Principal Module
1. Admin Module:-
Admin will maintain all the employee details, employee leave record details,
Hod leave record details in the database.
2. EmployeeModule:-
In this module faculty will register their daily attendance information like
incoming time and outgoing time and other information like leave approvals
and new notifications. Members should log in to their account and update
information. If there are any notifications related to previous day it is displayed
in the form of pop up. Members should respond to that notification by sending
replay to higher authorities.
3.HODModule:-
In this module Head of the department will have permissions to look after data
of every faculty member of their department. HOD can view data in the form
of reports and get it in the form of print out. Reports can be displayed based on
day, month. HOD can approve leave through this application and he can view
leaves information of every individual. In this module HOD can easily manage
classes schedule for that day.
9
Employee Leave Management System
4.Principal Module:-
Among the entire modules principle module is given more permission. He can
view information of every departments faculty information and take action
based on the reports. Principle can view information like faculty member’s
leaves, attendance and notifications including Head of departments. He can
print reports on daily or monthly basis. In this module Leave approval and
resignation are included.
10
Employee Leave Management System
2 GB or more
4 GB or more recommended especially
for Microsoft Windows Vista, 7 and 8
11
Employee Leave Management System
1.7 SDLC
SOFTWARE DEVELOPMENT LIFE CYCLE
Planning:
Implementation:
The software engineers start writing the code according to the client's
requirements.
Testing:
Documentation:
Every step in the project is documented for future reference and for the
improvement of the software in the development process. The design
documentation may include writing the application programming interface
(API).
12
Employee Leave Management System
Waterfall Model:
This model involves finishing the first phase completely before commencing
the next one. When each phase is completed successfully, it is reviewed to see
if the project is on track and whether it is feasible to continue.
13
Employee Leave Management System
V-Shaped Model:
Incremental Model:
This life cycle model involves multiple development cycles. The cycles are
divided up into smaller iterations. These iterations can be easily managed and
go through a set of phases including requirements, design, implementation and
testing. A working version of the software is produced during the first iteration,
so working software is created early in the development process.
14
Employee Leave Management System
Economic feasibility :
The economic viability of the proposed system. The proposed project's cost
and benefits are evaluated. Tangible costs include fixed and variable costs,
while tangible benefits include cost savings, increased revenue, and increased
profit. A project is approved only if it covers its cost in a given period of time.
However, a project may be approved only on its intangible benefits such as
those relating to government regulations, the image of the organization, or
similar considerations.
15
Employee Leave Management System
Technical feasibility :
The possibility that the organization has or can procure the necessary
resources. This is demonstrated if the needed hardware and software are
available in the marketplace or can be developed by the time of
implementation.
Operational feasibility:
The ability, desire, and willingness of the stakeholders to use, support, and
operate the proposed computer information system. The stakeholders include
management, employees, customers, and suppliers. The stakeholders are
interested in systems that are easy to operate, make few, if any, errors, produce
the desired information, and fall within the objectives of the organization.
16
Employee Leave Management System
Planning
Requirement
Gathering
Analysis
Design
Coding
Testing
Implementation
Planning:
Execution:
17
Employee Leave Management System
SYSTEM ANALYSIS
18
Employee Leave Management System
Keeping in view the problems and new requirements workout the pros and cons
including new areas of the system.
Functional hierarchy showing the function to be performed by the new system and
their relationship with each other.
Function network which are similar to function hierarchy but they highlight the
those functions which are common to more than one procedure.
19
Employee Leave Management System
20
Employee Leave Management System
21
Employee Leave Management System
ADMIN
EMPLOYEE
22
Employee Leave Management System
ADMIN
23
Employee Leave Management System
EMPLOYEE
24
Employee Leave Management System
25
Employee Leave Management System
Entity-
Entities are represented by means of rectangles. Rectangles are named with the
entity set they represent.
ATTRIBUTES: -
Attributes are the properties of entities. Attributes are represented by means of
ellipses. Every ellipse represents one attribute and is directly connected to its
entity (rectangle).
TYPES OF ATTRIBUTES: -
Single
Composite
Multivalued
Derived
TYPES OF RELATIONSHIPS
1-1 (One to One)
1-M (One to Many)
M-M (Many to Many)
26
Employee Leave Management System
28
Employee Leave Management System
29
Employee Leave Management System
EMPLOYEE
30
Employee Leave Management System
31
Employee Leave Management System
32
Employee Leave Management System
33
Employee Leave Management System
SYSTEM DESIGN
34
Employee Leave Management System
36
Employee Leave Management System
The Project Plan (sometimes called project initiation document or project scoping
report) is produced by the Project Manager following a brief Scoping Project
Study. It should establish:
A typical format is given below. As you may notice, the first five items (Part A)
focus on what the project is to achieve whilst the last four items (Part B) go into
more depth about how the project should be carried out.
Project Plan
Part A
1. Title of project,
2. Background to the Project
3. Terms of Reference & Key Objectives
4. Benefits & Costs Analysis
5. Risk Assessment
Part B
Project Plan
Part A
37
Employee Leave Management System
1. Title of project,
Together with the names of the Project Manager and Project Sponsor.
A brief description of the background to the project including how the project
came about, what the project is about, why we are undertaking the project, and
what in very broad terms the outcome of the project will be to the organization.
First, a brief overall definition and description of the project and its aims including
some reference to likely timescales, budget and resources, and what the project
will aim to deliver. Then a statement of what the project is to deliver - the key
objectives. The latter is often done as a listing the main stakeholders of the project
with a statement for each of what the project will aim to deliver to them.
A brief statement of the main benefits to be gained from undertaking this project
and the main costs which will be incurred and which need to be controlled and
contained. Not necessarily a full cost-benefit analysis but a brief overview.
5. Risk Assessment
The main risks - implementation issues which may delay the project. The priority
items should be identified with suggestions as to how they could be averted or
their impact lessened.
One of the simplest and best ways of doing this is to create a ‘risk register’
identifying all the events that could cause problems for the project, and then
mapping these onto a Hi-Lo diagram.
Part B
The resources, money and peoples time, which the project manager will need to
carry out this project.
38
Employee Leave Management System
7. Costs
Also, if the project warrants project review meetings, when they should take place
and who should be involved.
9. Time Schedule
A time plan showing the key activities which need to take place and estimates of
when the activity needs to be carried out, with key milestone dates.
Best done with one of the planning techniques - Gantt Charts, Milestone Plans,
Stages Diagram, or even Critical Path Analysis if the project warrants it.
39
Employee Leave Management System
SYSTEM CODING
AND
SYSTEM LAYOUT
40
Employee Leave Management System
session_start();
include('includes/config.php');
if(isset($_POST['signin']))
$uname=$_POST['username'];
$password=md5($_POST['password']);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
$_SESSION['alogin']=$_POST['username'];
41
Employee Leave Management System
} else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="http://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<link href="../assets/plugins/material-preloader/css/materialPreloader.min.css"
rel="stylesheet">
</head>
<body class="signin-page">
<div class="valign">
<div class="row">
<div class="row">
<label for="email">Username</label>
</div>
<label for="password">Password</label>
</div>
43
Employee Leave Management System
</div></form>
</div></div>
</div></div>
</div></div>
</main></div>
<script src="../assets/plugins/jquery/jquery-2.2.0.min.js"></script>
<script src="../assets/plugins/materialize/js/materialize.min.js"></script>
<script src="../assets/plugins/material-
preloader/js/materialPreloader.min.js"></script>
<script src="../assets/plugins/jquery-blockui/jquery.blockui.js"></script>
<script src="../assets/js/alpha.min.js"></script>
</body>
</html>
44
Employee Leave Management System
User Part
Coding
INDEX.PHP
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(isset($_POST['signin']))
$uname=$_POST['username'];
$password=md5($_POST['password']);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
$status=$result->Status;
$_SESSION['eid']=$result->id;
45
Employee Leave Management System
if($status==0)
} else{
$_SESSION['emplogin']=$_POST['username'];
}}
else{
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
46
Employee Leave Management System
<link href="assets/plugins/material-preloader/css/materialPreloader.min.css"
rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media
queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="http://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="loader-bg"></div>
<div class="loader">
<div class="circle"></div>
47
Employee Leave Management System
</div><div class="gap-patch">
<div class="circle"></div>
<div class="circle"></div>
</div></div>
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
<div class="circle"></div>
</div></div>
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
<div class="circle"></div>
</div></div>
48
Employee Leave Management System
<div class="circle"></div>
</div><div class="gap-patch">
<div class="circle"></div>
<div class="circle"></div>
</div></div>
</div></div>
<span class="material-design-hamburger__layer"></span>
</a>
</section>
</div></form>
</div></nav>
</header>
49
Employee Leave Management System
<div class="side-nav-wrapper">
<li> </li>
</ul>
<div class="footer">
</div></div>
</aside>
<main class="mn-inner">
<div class="row">
50
Employee Leave Management System
<div class="row">
</div>
<label for="password">Password</label>
</div>
</div></form>
</div></div>
</div></div>
</div></div>
</main></div>
<div class="left-sidebar-hover"></div>
<script src="assets/plugins/jquery/jquery-2.2.0.min.js"></script>
51
Employee Leave Management System
<script src="assets/plugins/materialize/js/materialize.min.js"></script>
<script src="assets/plugins/material-
preloader/js/materialPreloader.min.js"></script>
<script src="assets/plugins/jquery-blockui/jquery.blockui.js"></script>
<script src="assets/js/alpha.min.js"></script>
</body>
</html>
MYPROFILE.PHP
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['emplogin'])==0)
header('location:index.php');
else{
$eid=$_SESSION['emplogin'];
if(isset($_POST['update']))
$fname=$_POST['firstName'];
$lname=$_POST['lastName'];
$gender=$_POST['gender'];
$dob=$_POST['dob'];
52
Employee Leave Management System
$department=$_POST['department'];
$address=$_POST['address'];
$city=$_POST['city'];
$country=$_POST['country'];
$mobileno=$_POST['mobileno'];
$query = $dbh->prepare($sql);
$query->bindParam(':fname',$fname,PDO::PARAM_STR);
$query->bindParam(':lname',$lname,PDO::PARAM_STR);
$query->bindParam(':gender',$gender,PDO::PARAM_STR);
$query->bindParam(':dob',$dob,PDO::PARAM_STR);
$query->bindParam(':department',$department,PDO::PARAM_STR);
$query->bindParam(':address',$address,PDO::PARAM_STR);
$query->bindParam(':city',$city,PDO::PARAM_STR);
$query->bindParam(':country',$country,PDO::PARAM_STR);
$query->bindParam(':mobileno',$mobileno,PDO::PARAM_STR);
$query->bindParam(':eid',$eid,PDO::PARAM_STR);
$query->execute();
?>
53
Employee Leave Management System
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="http://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<link href="assets/plugins/material-preloader/css/materialPreloader.min.css"
rel="stylesheet">
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
54
Employee Leave Management System
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
</style></head>
<body>
<?php include('includes/header.php');?>
<?php include('includes/sidebar.php');?>
<main class="mn-inner">
<div class="row">
</div>
<div class="card">
55
Employee Leave Management System
<div class="card-content">
<div>
<section>
<div class="wizard-content">
<div class="row">
<div class="row">
<?php
$eid=$_SESSION['emplogin'];
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
56
Employee Leave Management System
{ ?>
</div>
</div>
</div>
<label for="email">Email</label>
</div>
</div>
</div></div>
<div class="row">
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Other">Other</option>
</select></div>
</div>
58
Employee Leave Management System
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $resultt)
{ ?>
<?php }} ?>
</select></div>
<label for="address">Address</label>
</div>
<label for="city">City/Town</label>
</div>
<label for="country">Country</label>
59
Employee Leave Management System
</div>
<?php }}?>
</div></div></div>
</div></div>
</section></section>
</div></form>
</div></div>
</div> </div></main></div>
<div class="left-sidebar-hover"></div>
<script src="assets/plugins/jquery/jquery-2.2.0.min.js"></script>
<script src="assets/plugins/materialize/js/materialize.min.js"></script>
<script>
src="assets/plugins/materialpreloader/js/materialPreloader.min.js"></script>
<script src="assets/plugins/jquery-blockui/jquery.blockui.js"></script>
<script src="assets/js/alpha.min.js"></script>
<script src="assets/js/pages/form_elements.js"></script>
</body>
</html><?php } ?>
60
Employee Leave Management System
ADMIN PAGE-
61
Employee Leave Management System
EMPLOYEE LOGIN-
62
Employee Leave Management System
APPLY-LEAVE.PHP
LEAVE-DETAILS.PHP
63
Employee Leave Management System
IMPLEMENTATION
64
Employee Leave Management System
5.1 TESTING
Software testing is the process of executing a program or system with the intent of
finding errors. Or, it involves any activity aimed at evaluating an attribute or
capability of a program or system and determining that it meet its required results.
Software is not unlike other physical processes where inputs are received and
output are produced. Where software differs is in the manner in which it is fails.
Most physical systems fails in a fixed (and reasonable small) set of ways. By
contrast, software can fail in many bizarre ways. Detecting all of the different
failure modes for software is generally infeasible.
Module testing:
Here testing is done at each module level. Each case has been thoroughly tested to
discover pitfalls.
System testing:
Here testing is done after all the modules have been integrated.
65
Employee Leave Management System
System testing checks the deadlines and accuracy of the system. To access,
update and retrieve data from new files. Once the programs become available, test
data are read into the computer and processed against the file provided. For
testing, it successful program is then run with “live” data. Otherwise, a diagnostic
test to locate and correct errors. In most conversion, parallel run is conducted
where the new system simultaneous run both old system. This method, through
costly, provided added assurance against errors in the candidate system. This
method through costly, provided added assurance against errors in the candidate
system and also the user staff an opportunity to gain experience through operation.
66
Employee Leave Management System
67
Employee Leave Management System
6.1CONCLUSION
The final section of the paper is the Conclusion section. Briefly summarize the
overall conclusion of the data analysis based on the purpose of the study. Also
explain the importance of the major finding to educational practice.
6.2 BIBLIOGRAPHY
PHP 6.0 AND MY SQL : PHP 6.0 & PHP AND MY SQL
68