HRMSmodified (1)
-
Upload
hanisha-palleti -
Category
Documents
-
view
214 -
download
1
description
Transcript of HRMSmodified (1)
CONTENT
Abstract
Acknowledgements
1. Introduction to HRMS
1.1 Problem definition
1.2 Project definition
1.3 General outline of the project
2. System analysis
2.1 Introduction
2.2 Problem analysis
2.3 Features of the proposed system
3. System design and Implementation
3.1 Requirements
3.1.1 Software requirements
3.1.2 Hardware requirements
3.2 Design using UML Diagrams
3.3 Project Implementation Details 4. Testing
5. Results
6. Conclusions
Appendices
References
Abstract
The main aim of the project is to develop a Human resource management
system for the intranet automation of HR Software. Human resource management
system provides the information regarding the employees in the company. The system
has been to facilitate good interface / communication facilities between the employees
and the HR Administration.
Human Resource Department always has a tedious work of maintaining the
information about their Employees and handling activities related to Employees.
Software of Human Resource Management System is made through the computer so
as to solve the various problems, which the Human Resource department faces when
it is working manually. There are wide spread of problems one has to face while
managing the daily activities.
The entire routine activity of Human Resource department is to maintain
Employees & their activities to monthly or yearly activities are time consuming
because the department has to check manually the Employees information. It takes
too much time in getting the required information and there are chances of getting
incorrect information due to redundancy.
This project automated employee details through the Human Resource
Management System. It manages the activities related to Human Resource
Department such as maintaining employee information, maintaining salaries etc.
1. Introduction to Human Resource Management System
1.1 Problem Definition
Human Resource Department always has a tedious work of maintaining the
information about their Employees, company and handling activities related to
Employees. Software of Human Resource Management System is made through
computer so as to solve the various problems, which the Human Resource department
faces when it is working manually. There are wide spread of problems one has to face
while managing the daily activities. Some of the problems that the management faces
while working manually are given.
The entire routine of Human Resource department from maintaining
Employees activities to their monthly or yearly activities are time consuming because
the department has to check manually the Employees information. It takes too much
time in getting the required information and there are chances of getting incorrect
information.
Retrieving of Employees information is also time consuming task because one
has to check the registers to know the Employee information like the employee
belongs to which department and the position and salary of the particular employee
etc. There are chances of mistakes in performing these jobs manually with all
constraints.
The HR department staff takes a lot of time in generating reports like how
many employee in company, belongs to which department, the position and salary of
the particular employee etc. These reports are meant for analyzing Employees
contribution to company progress and developing Management strategies. For
developing these reports the management has to work hard to get desired objective.
Like for generation of Monthly Salary Detail Report, it has to first check the
Attendance register and then leave register to find the Leaves availed and then it has
to calculate the salary of the Employee.
1.2 Project Definition
This project computerizes the Human Resource Management System. It manages
the activities related to Human Resource Department such as maintaining employee
information, processing leave application, sanctioning tour application, computing
Salary etc . It also provides various reports to managers such as Employee
information Report, Leave Detail Report, Tour Detail Report, Daily Attendance
Report etc. Using this package we can handle queries about Employees , Company ,
Leaves , City Allowances etc.
1.3 General Outline of The Project
1.3.1 Overview of the Project:
The Project titled “Human Resource Management System” is developed to
solve all the problems faced by Manual HRD System. This project consists of two
modules, which are as follows :
HR Admin
Employee login
HR Admin:
The operations performed by admin are:
Maintain employee details.
Add and delete new employee.
Maintaing salary.
Employee Login
The operations performed by employee are:
Login in to the system.
Check the details.
Logout from system.
2. System Analysis
2.1 Introduction
System Analysis is the first technical step in software development process. It
is at this point that a general statement of software scope is refined into a concentrate
specification that becomes the foundation for all software development activities that
follow.
The objectives of the problem are understood within the framework of the
organizations MIS objective. The analysis of existing manual Human Resource
Management system is focused on the information, functional and behavioral domain
of the system. To better understand, what is required, the problem is partitioned and
represented according to the essence of requirements of existing system.
This manual HRD system always has a tedious work of maintaining the
information about their Employees, company and handling activities related to
Employees. Software of Human Resource Management System is made through
computer so as to solve the various problems, which the Human Resource department
faces when it is working manually. There are wide spread of problems one has to face
while managing the daily activities.
2.2 Problem Analysis
Some of the problems that the management faces while working manually are given.
The entire routine of Human Resource department from maintaining Employee’s
daily activities to their monthly or yearly activities is time consuming because the
department has to check the Employees information manually. It takes too much
time in getting the required information and there are chances of getting incorrect
information.
Various registers are to be maintained for keeping the information about employees
and their related activities.
It is very difficult to evaluate the performance of Employee towards the progress of
company as to evaluate this in manual system various documents should be
referenced which is a tough job.
There is no back up of information in the existing system if any of the registers get
misplaced or damaged.
No security of data/information about the company, employees as anyone can
change the data/information in the registers easily.
There is a chance of mistakes in maintaining the information in registers so
accuracy of the data/information is suspected.
The HR personnel should have the complete knowledge of data/information scope,
validation checks while entering into registers which is difficult for one person.
2.3 Features of the Proposed System
After analysis of the existing system, a layout of the proposed computerized
system is prepared which includes all the features of the existing manual system.
Apart from this, the proposed system also includes the following features.
Accuracy
This application also prevents from calculation errors as computer does all the
calculation automatically. No chance of any mistake or calculation error.
Fast Work
Work is done very fast as every thing is done automatically by the computer
instead of a human.
Less Laborious
Working with this application makes the work least laborious because you
have to do nothing except clicking with the mouse and a little typing .for example in
Tour Expense Statement form in the Allowance text box the allowance paid
automatically appears according to grade of the employee.
Various Validation Checks
Various validation checks are provided so that there will be less chances of
wrong data entry. Some of these validations are as follows:
All the necessary controls should be filled before submitting the form.
Appropriate message boxes wherever desired.
All the data content within the window properly addressable with mouse and
keyboard.
Saves from keeping many registers and other stationary
This computerized system saves the Human Resources department from the
use of unwanted registers because most of the information is stored in computer
memory and can get hard copy if required.
This proposed system is fully computerized and very easy to use and even a
new person who did not know much about computers can also easily work on this
system. This system is easy to work, fast and accurate because one doesn’t need to
calculate manually or maintain different registers. In this computerized system made
by us everything can be done just by clicking through mouse.
As in manual system, different persons perform task and calculations and then it
comes to front office. So there is possibility of working wrong calculations and there
was also a possibility of repetition of work. But now every calculation is done by the
computer, so work is done fast.
3.System design and implementation
3.1 Requirements
3.1.1 Software Requirements:
Operating systems : windows
Back end tool : Mysql
Front end : PHP, HTML
Server : WAMP Server
3.2.2 Hardware Requirements:
Hard disk : 100GB
RAM : 2GB
Processor : Pentium(2.2GHz)
3.2 Design using UML Diagrams
Class diagram
Activity diagram:
3.3 Project implementation details
Database Design:
The Database (collection of data) is at the core of any information system. The
nature of data stored in the database as well as the organization of the data has wide
implications on the performance of the system. A good database design should hold
all the data, which may be required by the users of the system, but at the same time,
avoid any harmful or unnecessary redundancy. The database should also be flexible so
that any future change in requirements can be incorporated with minimum changes.
The data in Human Resource Development System is organized in the form of 2-D
relational tables. Organization of data into tables allows easy categorization, retrieval
and storage of data. Different tables have been created for different type of
information. The rules of normalization have also been applied while designing the
tables.
Since the system requirement is manipulation of data, some of the tables used are
almost static in nature and are already available with the standard data for the
selection of the parameter values. Other tables are used with bi-directional role of data
i.e. for both input and output.
Before implementation of the HRMS, The steps performed are:
Install the WAMP Server.
Install the Mysql database.
The steps to create database in mysql database:
Install the Mysql database.
Create the database. The Syntax to create a database is:
Create database database_name;
Connect to the database. The syntax to connect a database is:
Use database_name;
Create the required tables in the database. The tables in HRMS are as follows:
o Emp: To store the information about the employees
o Login: to store the login data used to compare with user entered data.
The fields in emp table are as follows:
Mysql>desc emp;
Field Type Null Key Default
empid int(7) NO PRI NULL
fname char(15) YES NULL
mname char(15) YES NULL
lname char(15) YES NULL
doj char(15) YES NULL
position char(10) YES NULL
dept char(15) YES NULL
salary char(15) YES NULL
8 rows in set (0.01 sec)
The fields in login table are:
Field Type Null key default
User char(15) YES NULL
Pass char(15) YES NULL
HRMS automation system is handled by the HR in the company. HR can add, delete
and view the employee details in the system through GUI.
The steps to how the process is performed are as follows:
Create the login page for the HR admin. The code in to design to the login
page is as follows:
<html>
<head>
<title>HUMAN RESOURCE MANAGEMENT SYSTEM</title>
</script>
</head>
<body bgcolor="#FFFFcc">
<h1><marquee>Welcome To HRMS</marquee></h1><br>
<center><h1><i>Human Resource Management System</i></h1>
<img src="logo.jpg" heigth=100 width=100>
</center>
<br>
<hr>
<br><br><br>
<form action="loginvalid.php" method="Post">
<center>
<h2><u>HR Login</u></h2>
<br>
<table>
<tr><td>User-id:</td><td><input type="text" name="user"
id="user"></td></tr><br>
<tr><td>Password:<td><input type="password" name="pass"
id="pass"></td></tr>
</table><br>
<input type="submit" name="submit">
<input type="reset" name="Reset">
</center>
</form>
</body>
</html>
To compare the user enter data with the existing database data the code in php
is as follows:
<?php
// Connect to the database
$con = mysqli_connect("localhost","root","divya","hrms");
// Make sure we connected succesfully
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
// Grab User submitted information
$use = $_POST["user"];
$pas = $_POST["pass"];
// Select the database to use
$res = mysqli_query($con,"SELECT user,pass FROM login WHERE
user = '$use'");
$row = mysqli_fetch_array($res);
if($row["user"]==$use && $row["pass"]==$pas)
header("Location: welco2.php");
else
echo"Sorry, your entered wrong user name and password, go back
and Please try again.";
?>
After login in to the system HR can add, delete and view the details of the
employee. The html design page for this page is as follows:
<html>
<head>
<title>HUMAN RESOURCE MANAGEMENT SYSTEM</title>
</head>
<body bgcolor="#FFFFcc">
<br>
<center><h1><i>Human Resource Management
System</i></h1></center>
<br>
          
          
          
<a href="welco2.php">Home</a>
          
          
          
          
          
<a href="addemp.php">Add</a>
          
          
          
          
          
<a href="delemp.php">Delete</a>
          
          
          
          
          
<a href="select.php">view</a>
          
          
          
          
          
<a href="contact.php">Contact us</a>
<hr>
<br>
<br>
<center><img src="logo.jpg" heigth=300 width=300>
<br>
<p>@Human Resource Management System</p>
</center>
</body>
</html>
The Design for adding the information of data is as follows:
<html>
<head>
<title>Human Resource Management System</title>
</head>
<body bgcolor="#FFFFCC">
<form action="insertadd.php" method="Post">
<center>
<fieldset>
<legend>Add Employee Details</legend>
<table>
<tr>
<td>employee-id:</td>
<td><input type="text" name="empid" id="empid"></td>
</tr>
<tr>
<td>First Name:</td>
<td><input type="text" name="fname" id="fname"></td>
</tr>
<tr>
<td>Middle Name:</td>
<td><input type="text" name="mname" id="mname"></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" name="lname" id="lname"></td>
</tr>
<tr>
<td>Date of joining:</td>
<td>
<select name="date" id="date">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="month" id="month">
<option value="Jan">Jan</option>
<option value="Feb">Feb</option>
<option value="Mar">Mar</option>
<option value="Apr">Apr</option>
<option value="May">May</option>
<option value="Jun">Jun</option>
<option value="Jul">Jul</option>
<option value="Aug">Aug</option>
<option value="Sep">Sep</option>
<option value="Oct">Oct</option>
<option value="Nov">Nov</option>
<option value="Dec">Dec</option>
</select>
<select name="year" id="year">
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
</select>
</td>
</tr>
<tr>
<td>Position:</td>
<td><input type="text" name="pos" id="pos"></td>
</tr>
<tr>
<td>Department:</td>
<td><input type="text" name="dept" id="dept"></td>
</tr>
<tr>
<td>Salary:</td>
<td><input type="text" name="salary" id="salary"></td>
</tr>
</fieldset>
</table>
<input type="submit" name="submit">
<input type="reset" name="reset">
</center>
</body>
</html>
To insert the user given data in to the mysql database through PHP. The
database connectivity coding is as follows:
<?php
$con=mysqli_connect("localhost","root","divya","hrms");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
if(! get_magic_quotes_gpc() )
{
$empi = addslashes ($_POST['empid']);
$fnam = addslashes ($_POST['fname']);
$mnam = addslashes ($_POST['mname']);
$lnam = addslashes ($_POST['lname']);
$do = addslashes ($_POST['year']);
$po = addslashes ($_POST['pos']);
$dep = addslashes ($_POST['dept']);
$salary = addslashes ($_POST['salary']);
}
else
{
$empi = addslashes ($_POST['empid']);
$fnam = addslashes ($_POST['fname']);
$mnam = addslashes ($_POST['mname']);
$lnam = addslashes ($_POST['lname']);
$do = addslashes ($_POST['year']);
$po = addslashes ($_POST['pos']);
$dep = addslashes ($_POST['dept']);
$salary = addslashes ($_POST['salary']);
}
$sql = "INSERT INTO emp ".
"(empid,fname,mname,lname,doj,position,dept,salary) ".
"VALUES('$empi','$fnam','$mnam','$lnam','$do','$po','$dep','$salary')"
;
$retval = mysqli_query( $con , $sql );
if(! $retval )
{
die('Could not enter data: ' . mysql_error());
}
header("Location: select.php");
mysqli_close($con);
?>
If the HR wants to delete the employee detail the design code is as follows:
<html>
<head>
<title> Human Resource Management System</title>
</head>
<body bgcolor="FFFFCC">
<center><h1>Deletion of employee</h1>
<img src="logo.jpg" height=100 width=100>
</center>
<br>
<hr>
<center><p>Click here to view employee details</p>
<a href="select.php">Employee Details</a>
</center>
<br>
<br>
<center>
<form action="delete.php" method="Post">
Employee-id:<input type="text" name="empid" id="empid">
<br>
<input type="submit" name="submit">
</form>
</center>
</body>
</html>
The PHP code to delete the employee information in database the connectivity
is as follows:
<?php
$con=mysqli_connect("localhost","root","divya","hrms");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$empid = $_POST['empid'];
$sql = "DELETE FROM emp ".
"WHERE empid = $empid" ;
$retval = mysqli_query( $con , $sql );
if(! $retval )
{
die('Could not delete data: ' . mysql_error());
}
header("Location: select.php");
mysqli_close($con);
?>
To retrieve and to display the data from database in to the GUI the
connectivity code is as follows:
<?php
$con=mysqli_connect("localhost","root","divya","hrms");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$result = mysqli_query($con,"SELECT * FROM emp");
echo "<table border='1'>
<tr>
<th>Employee-id</th>
<th>Firstname</th>
<th>Middlename</th>
<th>Lastname</th>
<th>Date of joining</th>
<th>Position</th>
<th>Department</th>
<th>Salary</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['empid'] . "</td>";
echo "<td>" . $row['fname'] . "</td>";
echo "<td>" . $row['mname'] . "</td>";
echo "<td>" . $row['lname'] . "</td>";
echo "<td>" . $row['doj'] . "</td>";
echo "<td>" . $row['position'] . "</td>";
echo "<td>" . $row['dept'] . "</td>";
echo "<td>" . $row['salary'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysqli_close($con);
?>
The GUI of the system is show in the result section.
4. Testing
No system design is ever perfect. Communication problems, programmer’s
negligence or time constraints create errors that must be eliminated. A system is tested
for on line response, volume of transactions, stress, recovery and failure and usability.
First, the system is tested with the sample data and then with the live data.
Testing was done at two levels:
By programmer
By user
Programmer level testing started at the time of development. Each and every
form/report designed was thoroughly tested with multiple sets of data satisfying
various conditions. User was involved at each level of development, as to avoid
interface problems. Then, once the system was complete it was tested with the test
data, taken from the old system. A series of tests were conducted. Errors incurred
were removed simultaneously until users are satisfied.
After in house testing on the sample data the system was installed at users end. Some
of the problems faced were removed simultaneously.
The testing performed for different types of input is as follows:
If the login data is authenticate then the Home page is displayed. If it is not
then the error message is shown on the page as show in figure.
If the user is authenticating then the below page is displayed:
If the user is not authenticated then the message is displayed is as shown below:
Likewise if HR entered the existing employee id, then it shows the message that the
data could not entered, it is as shown below:
Like that if the HR enters the data that does not exist in the database to delete
the error message is shown.
5. Result
5.1 Opening a project
After entering the URL of the HRMS project in the address bar of Browser, the
default screen i.e. Login screen appears. Only authorized users can start the project.
Enter User ID and password in the text fields and click the Login button to start the
project
If the user id or password is not correct then the following screen appears
The Error message “sorry you entered wrong username or password please go back and try again” is displayed.
User has to Re-Enter the User id and Password and click the Login Button
If the User Id and Password are correct then the following screen appears.
If the HR wants to add the employee details then the click on add then the
following screen appears.
It checks whether the employee id already exist or not if it is present then the
error message is displayed i.e. the following screen appears.
If the HR Admin want to delete any information then click on the delete in the
screen shown below.
It asks for to enter the employee id because the every employee has a unique
id. The screen is as follows.
After entering the employee id the deletion takes place and display the data
present in the database(i.e, in emp table).
If the admin want to see only data then click on view.
The employee details are displayed as following.
The link is the contact us. The screen displays as follows.
6. Conclusion
The “Human Resource Management System” has been developed to solve the various
problems which the Human Resource department faces when it is working manually.
At the same time this software meets the objective to maintain database for future
interest.
All the information flows and processes of the system were represented in the form of
flow diagrams. By analyzing the flow diagrams, the database was designed with the
consultation of the user of the software. The tables were normalized to reduce
redundancy and inconsistency; all the data are stored in the database in the form of 2-
D relational tables. To perform operations on this database, different programs have
been designed and developed. To efficiently carry out the functionality of the “Human
Resource Development System” , a number of user-friendly forms and reports have
been developed. All these forms and reports are linked and invoked by the main form.
The software has been developed keeping in mind the convenience of users. It is
developed in such a way that any user without any detailed knowledge of the system
can handle with a little training. The user interacts with the software of the system
through the messages displayed at various steps. Any illegal action is prompted by an
appropriate error message.
References
http;//www.w3schools.com
http://www.tutorials.com
http://mysql.com