Professional Documents
Culture Documents
Submitted By:: Tahira Bibi (2018-BCS-087) Ayesha Bashir (2018-BCS-057) Rabbia Ramzan (2018-BCS-032)
Submitted By:: Tahira Bibi (2018-BCS-087) Ayesha Bashir (2018-BCS-057) Rabbia Ramzan (2018-BCS-032)
SUBMITTED BY:
Tahira Bibi (2018-BCS-087)
Ayesha Bashir (2018-BCS-057)
Rabbia Ramzan (2018-BCS-032)
SUBMITTED TO:
Ma’am Rabail Shafique
Page 1 of 29
Employee Payroll Management System
Contents
.................................................................................................................................................................... 1
1. Introduction:..................................................................................................................................3
2. Problem statement:........................................................................................................................4
2.1 Project Objectives:.....................................................................................................................5
3. Software Requirements:................................................................................................................5
4. Software Design.............................................................................................................................9
5. Software Implementation............................................................................................................14
7. Conclusion:...................................................................................................................................30
8. Refferences:..................................................................................................................................30
Page 2 of 29
Employee Payroll Management System
1. Introduction:
This software and database system model is designed for Employee and Payroll Management
System. The statistics are based on the client's details provided about the worker. The system
generates pay slips, employee details and their respective designations automatically on the basis
of these user inputs. For any number of employees, details can be saved by the computer. This
data is stored in the Oracle payroll database. Workers can also change personal information such
as names, addresses, and passwords [1].
Using MYSQL Server, Java Server Pages (JSP) language for system development makes it
simple to modify the design of the framework. The system architecture can also be directly
applicable to every other central government entity, with minor modifications.
It is cost-effective as the customer handles the web application himself and does not go for
professional service. This saves time as it accelerates every aspect of the management of
employee databases and payroll processes with a number of automated features. It is safe as the
employee database and the payroll process are handled by the admin in-house instead of sending
private data to a third party. Procedures and checks for validation protect users from making
errors. The software is easy to use and user-friendly, so it doesn't require any experience.
Calculations are automatic, so there is no risk of error.
The unified database system minimizes labor and time. This database includes self-descriptive
labels for the correct data input forms and consists of modules which are interrelated for better
summaries. By preventing the duplication of files and documents and using the available space
effectively, it also optimizes computing power. These features reduce the risk of data redundancy
and build monthly pay bills, pay slips and other forms of timetables that are reliable and error-
free.
The main advantage of this database is that it reduces the number of input requirements, avoids
delays, records errors and manages the steps easily. Insertion, data update, deletion, modules for
pay slips are included. This user-friendly structure can be introduced straight into the server
environment. In addition, this robust database makes it easy to rapidly retrieve data and produce
reports by uploading data online.
Page 3 of 29
Employee Payroll Management System
This approach to the database is often used in design because it helps to create a consistent Entity
Relationship data model (ER). The database can easily be expanded to basic pay roll-related data
of the newly entered workers by using the Add Employee form. Using this form, in the specified
text area, users can enter basic employee information such as ID, name, salary, rank, grade pay
and all other details, in the designated text field.
2. Problem statement:
Owing to the non-availability of a proper database management system, all the information is
handled manually. Due to the vast volume of payroll data and projections, it is very hard to
manually handle the data and prolong the pay roll process. This produced an urgent need to
incorporate a new computer-based pay roll data base system to avoid the delay in generating pay
bills, loan schedules, payment reports, pay slips and so on. So this new Employee Pay roll
Management System is developed [2].
To create a database that can be used by an employer to keep track of their workers. We need a
way to represent a single worker and a way to maintain an unknown number of workers (name,
ID number, salary). It is important to improve the ability to add or delete employees from the
database and to include some other features described below:
Add Employee:
This method reads the name and salary to identify a new worker. The number of the staff ID
is just the number that can be joined by the staff. If an employee ends up leaving the
company, the number of workers stays the same and new employees are then given the next
number.
Remove Employee:
This process deletes an employee from the database with the employee identification number
passed on.
Print By Name:
This form will print out all the employees in the database with their name.
Page 4 of 29
Employee Payroll Management System
“With the aid of computerized equipment and full-edge computer applications, the
Employee Database and Payroll Management System is designed to make the current
manual system automatic and to meet their needs so that their essential information and
data can be processed over a longer period of time with easy access and handling. It is
readily accessible and easy to work with, using the necessary tools. This web application
can maintain and view computerized records without getting redundant entries. The
project explores how user data can be used to deliver positive outcomes and improved
services to customers.
Any environment that the corporation needs to tackle faces problems with human
resources. There are several employee and payroll management requirements for every
company. Therefore we are aimed to establish an exclusive employee and payroll
management system customize to the Managerial Requirements of the organization.
This website is intended which will allow the employees to electronically record time
card data and create paychecks automatically based on the number of hours worked and
the total amount of sales (for commissioned employees).
In order to increase the consistency of the processing data and ensure that the protocol
prescribes how to perform a particular job, information and database system systems are
implemented. A computer program can maintain a precise and reliable database, leading
to improved performance [3].
3. Software Requirements:
The software offers a decent graphical interface for the self-explanatory front end.
Page 5 of 29
Employee Payroll Management System
• 40 GB hard disc
• Mouse
• Keyboard
• Printer
PHP is a server-side application that dynamically constructs web pages. Let's say there is a
product catalogue for you. You can save the information in a database instead of updating your
web pages every time a product is added or deleted, and use PHP to query the database and
automatically create the page. Nor do you need a separate page to be produced for and product.
Just build one tab, and the details are filled in by PHP. Creating authentication systems,
downloading files, and sending emails are other uses of PHP. PHP or a related server-side
technology is used for just about every online shop, news website, forum, or social networking
site.
PHP code may be inserted into a web page or stored in external files, depending on how it is
used. However, PHP code still stays on the web server, unlike CSS or JavaScript. It is never seen
by visitors to your website. What they see is the performance.
A major component of LAMP, an open source enterprise stack, is MySQL. LAMP is a web
development platform which uses the Linux operating system, the Apache web server, the
MySQL relational database management system and the PHP object-oriented scripting language.
Page 6 of 29
Employee Payroll Management System
3. JSP:
JSP stands for "Java Server Page." This standard was created by Sun Microsystems as an
alternative to Microsoft's active server page (ASP) technology. JSP pages are the same as ASP
pages because they are compiled on the server and not on a user's Web browser. "After all, they
don't call "server pages" for nothing. JSP, however is Java-based, while ASP is Visual Basic-
based. JSP pages are useful for building interactive Web sites and accessing database data from
the Web server. On the server, all Java code is parsed, while JSP pages would have HTML
interspersed with Java. Consequently, once the page gets to the browser, it is all HTML. On the
other hand, the Web browser, not the Web server, usually parses JavaScript.
Operating System: Windows 10.
Admin:
The administrator logs in with a username and password that is correct. The administrator may
hire new workers, add new departments, and add new pay scales for employees. In a separate
pay grade department, admin will set the from and to 'date worked by an employee. The
automatic monthly salary of an employee can be generated by the admin. The admin will view
all the previous records of any registered employee.
This module contains equipment that allows a user to add new records. Before the new employee
record user is introduced, the usable ID in the respective system has to be checked.
Delete employee:
Often the circumstance arises that we need to remove from our database the required employee
record, such as when an employee is retired, moves elsewhere, leaves the business, and so on. In
this case, this facility is provided by the Remove Employee module to delete a particular
employee's record.
Page 7 of 29
Employee Payroll Management System
Update employee:
Using the Employee Module Update, whether the user wants to update the specifics of a current
employee as Grade Pay, Basic Pay, Designation, any miscellaneous deduction or credit.
Pay slip:
This module is used to generate the pay slips of all workers for the current month.
Report:
This module enables administrative reports to be made, such as the Wage Report, Attendance
Report,
The report and the employee report can be exported to Word, pdf.
3.1.6 Attributes
3.1.7 Reliability:
This framework is created to ensure reliability using software that has been developed.
3.1.8 Availability
This system is designed to run 24/7 and be conveniently accessible to the user.
3.1.9 Security
Page 8 of 29
Employee Payroll Management System
Entry to the program is given to only legitimate operators. We need a clear ID and Password to
get access to the app.
4. Software Design
LOGIN
GENERATE PAYROLL
Page 9 of 29
Employee Payroll Management System
4.2 ER-Diagram
Contact_no
Company Company_id
Grade_id
Grade_bonus
Company_name
Grade_da
Has ==
Grade_pf
Company_address
Grade_ta ==
dep_name Grade_ pt
dep_id Grade_name
Determines
Has
emp_state
emp_id
Transaction_id emp_net_salary
emp_doj
emp_name emp_state
emp_gross
emp_dob
emp_salary_month
emp_city
emp_id
Emp_mobile_no emp_salary_year
Page 10 of 29
Employee Payroll Management System
Page 11 of 29
Employee Payroll Management System
Page 12 of 29
Employee Payroll Management System
We will enter the employee's name and the performance will be displayed afterwards.
Employee Details:
Employee Employee Employee DOB DOJ Address City State Pin
ID Title Name Code
2222 Jr Manager Rabbia 1990- 2000- House#253 RWP Pakistan 32456
Ramzan 11-05 05-11 Ibrhaim
Villas
5. Software Implementation
Sign-Up Page:
Page 13 of 29
Employee Payroll Management System
Login Page:
Page 14 of 29
Employee Payroll Management System
Welcome Page:
Page 15 of 29
Employee Payroll Management System
Page 16 of 29
Employee Payroll Management System
Page 17 of 29
Employee Payroll Management System
Generate Report:
Page 18 of 29
Employee Payroll Management System
Page 19 of 29
Employee Payroll Management System
Page 20 of 29
Employee Payroll Management System
Page 21 of 29
Employee Payroll Management System
Page 22 of 29
Employee Payroll Management System
SAMPLE CODE:
Welcome.php
<?php
session_start();
include "header0.php";
include "header.php";
?>
<!doctype html>
<html>
<head>
<style>
.button {
background-color: #000000;
color: #FFFFFF;
padding: 8px;
Page 23 of 29
Employee Payroll Management System
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
margin:10px
}
.small-btn {
width: 50px;
height: 25px;
}
.medium-btn {
width: 70px;
height: 30px;
}
.big-btn {
width: 250px;
height: 40px;
}
</style>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body class="bg">
<center>
<br>
<form action="insertemp.php" align= "center">
<!--<div class="button big-btn">This is a big button</div>-->
<button type="submit" class="button big-btn" value="insertemp.php" name="add" ><font
size="3"><strong>Add New
Employee</strong></font></button>
</form>
<form action="insertdep.php">
<button type="submit" class="button big-btn" value="insertdep.php" name="add" ><font
size="3"><strong>Add New
Department</strong></font></button>
</form>
<form action="insertgrade.php">
<button type="submit" class="button big-btn" value="insertgrade.php" name="add" ><font
size="3"><strong>Add New
Grade</strong></font></button>
</form>
<form action="insertgradedetails.php">
<button type="submit" class="button big-btn" value="insertgradedetails.php" name="add"
><font size="3"><strong>Employee Grade
Page 24 of 29
Employee Payroll Management System
Details</strong></font></button>
</form>
<form action="insertsalary.php">
<button type="submit" class="button big-btn" value="insertsalary.php" name="add" ><font
size="3"><strong>Prepare Monthly
Salary</strong></font></button>
</form>
<form action="report.php">
<button type="submit" class="button big-btn" value="#" name="add" ><font
size="3"><strong>Generate
Report</strong></font></button>
</form>
</center>
</body>
</html>
6. Software Testing:
We used following test data to check for errors from the system:
This is the correct data which was entered in the database. The system took the data and correctly
updated the tables. Below is an example of normal data entered without a system error text
message:
Page 25 of 29
Employee Payroll Management System
Invalid data was used to test whether the syntax of the software was followed or not.
Here we entered duplicated data in “Employee Title” field and it has not updated the data
in table. It means in that field we are not allowed to enter duplicated data.
Page 26 of 29
Employee Payroll Management System
Here we have not given the data in all the fields and it showed error message: “All fields
are required”. It means we cannot leave any field empty.
Page 27 of 29
Employee Payroll Management System
Here we entered “Date of birth” and “Date of joining” in wrong format and it has not
updated the data in table. Correct format is “yyyy-dd-mm”.
7. Conclusion:
Technology designed by a corporation for "Payroll management system” has been developed to
achieve optimum productivity and minimize payroll activities. It is designed to replace an
existing manual recording system, which eliminates calculation time and data storage time.
MySQL and PHP is used for the database by the framework as the front end. The device is
Page 28 of 29
Employee Payroll Management System
robust enough to survive regular regressive operations in conditions that sustain and clear the
database over a period of time. The operational implementation of the framework greatly
eliminates data entry, time and easily measured reports [4].
8. Refferences:
[1]https://meet.google.com/linkredirect?authuser=0&dest=https%3A%2F
%2Fwww.cp.eng.chula.ac.th%2F~chate%2F2110634%2Fhw1-Payroll-System-Problem-
Statement.pdf
[2]https://meet.google.com/linkredirect?authuser=0&dest=https%3A%2F
%2Ffaculty.kfupm.edu.sa%2Fics%2Fmwaslam%2FRich%2520Files%2Fdoc%2FPayroll
%2520Problem%2520Statement.htm
[3]https://meet.google.com/linkredirect?authuser=0&dest=https%3A%2F%2Fthescipub.com
%2Fpdf%2Fjcssp.2010.1531.1534.pdf
[4] https://www.coursehero.com/file/p6flr8p/11-Conclusion-Payroll-Management-System-
software-developed-for-a-company-has/
Page 29 of 29