Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Final Term Assesment: Employee and Payroll Management

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 17

FINAL TERM ASSESMENT

EMPLOYEE AND PAYROLL MANAGEMENT

SUBMITTED BY:
Rabbia Ramzan
2018-BCS-032

SUBMITTED TO:
Ma’am Qurat ul Ain
Employee Database and Payroll Management System

Table of Content
Abstract:...............................................................................................................................................................1
Introduction:......................................................................................................................................................2
Purpose:...............................................................................................................................................................2
Modules:..............................................................................................................................................................2
Advantages:.........................................................................................................................................................3
Disadvantages....................................................................................................................................................3
Project Category:..............................................................................................................................................4
Available Technologies:.......................................................................................................................................4
Tools Used:...........................................................................................................................................................4
Use Case Diagram:...........................................................................................................................................5
ERD DIAGRAM:................................................................................................................................................6
Screenshots.........................................................................................................................................................7
Database Tables:.............................................................................................................................................10
SAMPLE CODE................................................................................................................................................15

1
Employee Database and Payroll Management System

Abstract:

“Employee Database and Payroll Management System” is designed to make the existing manual system
automatic with the help of computerized equipment and full-edged computer software, fulfilling their
requirements, so that their valuable data and information can be stored for a longer period with easy
access and manipulation of the same. The required software is easily available and easy to work with.
This web application can maintain and view computerized records without getting redundant entries.
The project describes how to manage user data for good performance and provide better services for the
client

Introduction:
The proposed project “Employee Database and Payroll Management System” has been developed to
overcome the problems faced in the practicing of manual system. This software is built to eliminate and,
in some cases, reduce the hardships faced by the existing system. Moreover, this system is designed for
particular need of the company to carry out its operations in a smooth and effective manner. This web
application is reduced as much as possible to avoid errors while entering data. It also provides error
message while entering invalid data. It is user-friendly as no formal knowledge is required to use the
system. Human resource challenges are faced by every organization which must be overcome by the
organization. Every organization has different employee and payroll management needs. Therefore, I
have design exclusive Employee and payroll Management System that are adapted to the organization’s
Managerial Requirements.

Purpose:
The purpose of this document is to describe the functionality and specifications of the design of a web
application for Managing Employees and their payroll. The expected audiences of this document are the
developers and the admin of the web application. Now with the help of this system the admin has the
information on his finger tips and can easily prepare a good record based on their requirements. Finally,
we can say that this system will not only automate the process but save the valuable time of the manager
or the admin, which can be well utilized buy his institute. This will be an additional advantage and
management of power based on their free time from his normal duty.

2
Employee Database and Payroll Management System

Modules:
Admin
The Admin gets logged in by valid username and password. Admin can add new Employee, add new
Department, add new Pay Grade for the employees. Admin can set the ‘from’ and ‘to’ date worked by
an employee in a department with specific pay grade. The Admin can generate an automated monthly
salary of an employee. The admin can view all the past records of any recorded employee.

Advantages:
 It is cost effective as the user control the web application himself and does not go for professional
service.

 It saves time as it speeds up every aspect of the employee database management and payroll process
with a range of automated features.

 It is secure as the employee database and the payroll process is managed by the admin in house rather
than sending private information to a third party.

 Validating procedures and checks restrict user from making mistakes.

 The software is easy to use and is user friendly, so no expertise is required.

 The calculations are automated so no chance of error.

Disadvantages

 It requires an internet connection.

 It requires large database.

3
Employee Database and Payroll Management System

Project Category: Web-Based Application

Available Technologies:
Languages: HTML, PHP, JavaScript
RDBMS: Online MySQL
Web Server: WAMP server
Development Platform: Adobe Dreamweaver

Tools Used:
Editor Used: Dreamweaver for PHP, WAMP server for MySQL
Operating System: Windows 10

4
Employee Database and Payroll Management System

Use Case Diagram:

LOGIN

ADD NEW EMPLOYEE

ADD NEW DEPARTMENT

ADD NEW GRADE

MANAGE EMPLOYEE GRADE AND


DEPARTMENT
USER

MANAGE EMPLOYEE SALARY


DETAIL

GENERATE PAYROLL

5
Employee Database and Payroll Management System

ERD DIAGRAM:

Contact_no

Company Company_id
Grade_id
Grade_bonus
Company_name
Grade_da
Has ==
Grade_pf
Company_address
Grade_ta ==

Departments Has Pay grades

dep_name Grade_ pt
dep_id Grade_name

Determines
Has

emp_state
emp_id
Transaction_id emp_net_salary

Employees Receipts Payroll

emp_doj
emp_name emp_state

emp_gross
emp_dob
emp_salary_month
emp_city

emp_id
Emp_mobile_no emp_salary_year

6
Employee Database and Payroll Management System

Screenshots

Login Page:

Welcome Page:

7
Employee Database and Payroll Management System

Employee Details page:

Department Details Page:

Grade Details Page:

8
Employee Database and Payroll Management System

Employee Salary Details page:

Database Tables:

User Table Database Structure:

user_id (Primary key) Integer Id for the user.


user_name varchar Enter the name of the user.
password varchar Enter the password of the user.
email_id varchar Enter the email_id of the user.
usertype varchar Enter the usertype of the user.

9
Employee Database and Payroll Management System

Department Table Database Structure:

dep_id (Primary key) Integer Id for the user.


dep _name varchar Enter the name of the user.

Grade Table Database Structure:

grade_id – Primary Key Integer Id of the pay grade.


grade_name varchar Name of the pay grade.
grade_short_name varchar Short name of the pay grade.
grade_basic Integer Enter the basic amount.
grade_ta Integer The amount of the Travel Allowance.
grade_da Integer The amount of the Dearness Allowance.
grade_hra Integer The amount of the House Rent Allowance.

10
Employee Database and Payroll Management System

grade_ma Integer The amount of Medical Allowance.


grade_bonus Integer The amount of bonus received.
grade_pf Integer Amount of Provident Fund to be deducted.
grade_pt Integer Amount of Professional Tax to be deducted.

Employee Table Database Structure:

emp_id (Primary Key) Integer Id of the employee.


emp_title varchar Enter the title of employee.
emp_name varchar Enter the name of employee.
emp_dob Date Enter the date of birth of employee.
emp_doj Date Enter the date of join of employee.
emp_address varchar Enter the address of the employee.
emp_city varchar Enter the city of the employee.

11
Employee Database and Payroll Management System

emp_pincode Integer Enter the pin code of the employee.


emp_mobile_no Integer Enter the mobile number of the employee.
emp_state varchar Enter the state of the employee.
emp_mail_id varchar Enter the mail id of the employee.
emp_pan_no varchar Enter the Pan number of the employee.

Employee Grade Details Table Database Structure:

transaction_id- Primary Integer Key Unique transaction id.


emp_id Integer Employee id of employee.
emp_dept_id Integer Department Id of employee.
emp_grade_id Integer Grade Id of employee.
emp_from_date Date Date of join of employee in a department.
emp_to_date varchar Last date of an employee in a department.

12
Employee Database and Payroll Management System

Employee Salary Details Table Database Structure:

emp_id (Primary Key) Integer Id of the employee.


emp_name varchar Enter the name of employee.
emp_dept_name varchar Department name of the employee
emp_grade_name varchar Grade id of the employee
emp_salary_month varchar Employee Salary month.
emp_salary_year varchar Employee salary year.
13
Employee Database and Payroll Management System

grade_basic Integer Enter the basic amount.


grade_ta Integer The amount of the Travel Allowance.
grade_da Integer The amount of the Dearness Allowance.
grade_hra Integer The amount of the House Rent Allowance.
grade_ma Integer The amount of Medical Allowance.
grade_bonus Integer The amount of bonus received.
grade_pf Integer Amount of Provident Fund to be deducted.
emp_pt Integer The amount of Professional Tax to be deducted.
emp_gross Integer The gross total received by employee.
emp_total_salary Integer The total salary received after deduction.

SAMPLE CODE

Welcome.php

<?php
session_start();

include "header0.php";

14
Employee Database and Payroll Management System

include "header.php";
?>
<!doctype html>
<html>
<head>
<style>
.button {
background-color: #000000;
color: #FFFFFF;
padding: 8px;
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>

15
Employee Database and Payroll Management System

<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
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>

16

You might also like