PMS
PMS
Submittedby
(REG.NO:2021128040)
& (REG.NO:20211280
12)
UndertheGuidanceof
(HeadandAssistantProfessor,Departmentofcomputerscience)
1
UGC2(f)&12(B)Approved&Accreditedwith‘B’GradebyNAAC
2
Weherebydeclarethattheworkentitled“PAYROLL
MANAGEMENTSYSTEM”is the project report of the original done by an during
the project priced December 2023- March 2024 this project work submitted
to ALAGAPPA UNIVERSITY, KARAIKUDI in partial fulfillment of the degree of
Bachelor of computer science during the academic year 2021- 2024.
Wefurtherdeclarethatthisprojectworkhasnotpreviouslyformedthebasisf
or
theawardofanydegree,diploma,associatesship,fellowshiporanyothersimilartitl
es and it represents wholly our independent work.
(REG.NO:2021128040)
&
(REG.NO:2021129028)
3
First of all, we would like to thank the ALMIGHTY GOD for giving us
the
strengthwisdomforcompletingtheprojectsuccessfully.Nextwethankourbelov
ed parent for their love, encourage and continuous support.
We wish to express our deep sense of gratitude to our Principal Dr.
S.RAJASEKAR M.Sc., M.Phil., Ph.D., for giving us an opportunity to do this
project with fullest spirit.
We express our sincere thanks to Mr.K.KASI KUMAR
MCA.,M.Phil.,NET Head and Assistant Professor, Department Of computer
science, who encourage us with his constant support and guidance
throughoutthe course ofstudy.
We take this opportunity to express our grateful thanks to our
internal guide Mrs. BRABHAVATHI MCA.,M.Phil. for his encouragement and
valuable guidance in completing this project timely and successfully.
We have great pleasure in giving our thankful words to Other Staff
Members who have shared for their ideas to produce a valuable project.
We convey our great pleasure in thanking all the rest of teaching
and non- teaching staff members for their kind co-operation.
Last but not least, we thank our friend who helped us in every
situation and gave us their valuable suggestionthroughout this course of
study.
4
.
5
6
ThisabstractpresentsacomprehensivePayrollManagementSystem(PMS)focusin
gon
employeemanagement,attendancetracking,salaryprocessing,payheadmanage
ment, and holiday listing.
ThePMSstreamlinesemployeedatamanagementbycentralizinginformationrelat
edto
attendancerecords,salarydetails,andpayheads.Itincorporatesanintuitiveinterfa
ce for easy employee access, allowing them to view and update personal
information, submittime-offrequests,andaccesssalary-relatedinformation.
7
8
S.NO CONTENTS PAGENO
1. INTRODUCTION
1.1IntroductionAboutproject
1.2Modulesandmodulesdescription
SYSTEMANALYSIS
2.1FeasibilityStudy
2.2ExistingSystem
2.
2.3ProposedSystem
SYSTEMSPECIFICATION
3.1HardwareSpecification
3.2SystemSpecification
3.
3.2.1SoftwareDescription
SYSTEMDESIGN
4.1Architectural Design
4.1.1SystemFlowDiagram
4.1.2DataFlowDiagram
4. 4.2DetailedDesign
4.2.1DatabaseDesign
SYSTEMIMPLEMENTATION
5. 5.1InputDesign
5.2OutputDesign
6. TESTING
6.1UnitTesting
6.2IntegrationTesting
7. FUTUREENHANCEMENT
8. CONCLUSION
APPENDIX
9. 9.1SampleCoding
9.2ScreenLayout
10. BIBLIOGRAPHY
9
10
AdminLogin
LOGINPAGE
Adminpage
Attendance
Employeedetails
Salary
Payheads
Listholiday
Leavemanagement
11
WelcometotheprojectdocumentforthePayrollManagementSystem(PMS)project.
In today'sfast-
pacedbusinesslandscape,efficientmanagementofpayrollprocessesis
crucialfororganizationalsuccess.ThePayrollManagementSystemprojectaimsto
addressthechallengesassociatedwithmanualpayrollprocessingbydevelopinga
comprehensivesoftwaresolutionthatautomatesandstreamlinespayroll-
relatedtasks.
Background:Payrollmanagementinvolvesvariouscomplextasks,includingsalary
calculation,taxdeductions,attendancetracking,andcompliancemanagement.Tr
aditional methods of payroll processing often lead to errors, delays, and
compliance issues, posing significant challenges for organizations.
Objectives: The primary objective of the Payroll Management System project
is to design, develop, and implement a user-friendly software solution that
automates key payroll tasks and enhances the overall payroll management
process.
Scope:ThescopeofthePayrollManagementSystemprojectencompassesthedesi
gn, development, testing, and deployment of a comprehensive software
solution. The system will include modules for employee management,
attendance tracking, salary processing, tax calculation, pay head
management, and reporting.
ProjectApproach:Theprojectwillfollowastructuredapproach,includingrequirem
ents
gathering,systemdesign,development,testing,deployment,andtraining.Collab
oration
betweenstakeholders,includingHRpersonnel,financeteams,andITprofessionals
,will be essential throughout the project lifecycle to ensure alignment with
organizational goals and objectives.
13
non-compliance.
4. : Customizable pay heads for bonuses, incentives,
allowances,anddeductions,allowingorganizationstoadaptthesystemtotheirspe
cific payroll policies.
5. : Feature to maintain a comprehensive list of
company- wide and regional holidays, facilitating scheduling and payroll
processing adjustments accordingly.
14
Purpose:Thismoduleservesastheentrypointforadministratorstoaccessthe
system. It ensuressecure access controland management capabilities.
Features:
Authentication:Secureloginforauthorizedadministrators.
Authorization:Role-basedaccesscontrol torestrictorgrantspecificprivileges.User
Features may include the ability to add, edit, and delete employee records,
add or remove holidays, define holiday policies, and view upcoming holidays .
15
This module facilitates the configuration and management of various pay
This module allows for the recording and monitoring of employee attendance
data, includingclock-in/outtimes,leaverequests,andattendancesummaries.
Features may include manual attendance entry, integration with biometric
devices or attendance tracking systems, leave management functionalities,
and generating attendance reports.
:
Thismoduleautomatestheprocessofgeneratingsalaryslipsorpayslipsforemployeesbas
ed on their attendance, pay heads, and other relevant factors.
Features may include customizable payslip templates, automatic calculation of
earnings and deductions, support for multiple pay periods (e.g., monthly, bi-weekly),
and the ability to generate, view, and distribute salary slips electronically.
16
17
In the modern business landscape, the effective management of
human resources is integral to the success and sustainability of any
organization. A crucial aspect of this management is the accurate and
efficient processing of employee compensation, encompassing various
elements such as attendance tracking, holiday management, pay heads
configuration, employee details management, and leave management.
Recognizing the significance of optimizing these processes, [Company
Name] endeavors to explore the feasibility of implementing a
comprehensive Payroll Management System (PMS)..
.EvaluatethetechnicalfeasibilityofimplementinganewPayrollManagementSyste
m. Assess compatibility with existing IT infrastructure and systems.
Determinethetechnicalrequirements,resources,andpotentialchallengesassociatedw
ith PMS implementation.
18
Assess the readiness of [Company Name] to adopt and
Developaplanforchangemanagementanduseradoptionto facilitate a
The Exiting System in the Payroll Management System for Attendance and
Leave Management ensures that employee departures are managed
accurately and efficiently with regard to attendance and leave balances. By
following the outlined procedures, the company maintains compliance with
employment regulations and ensures a smooth transition for departing
employees.
19
Automated calculation of salaries based on configured pay heads.Flexible
payment
optionsincludingdirectdepositandchecks.Detailedsalaryreportsfortransparenc
yand
20
compliance.
Employeeattendancetrackingsystem.Real-timemonitoringofemployee
attendance.Integrate with payroll for accurate calculation of wages.
ThePMSsystemminimizesdataentryerrors,ensuringtheaccuracyofpatientrecords.
Theproposedsystemisexpectedtosignificantlyreduceovercrowdinginwaitingareas
byoptimizing the registration and appointment processes.
Transitioningtoelectronicpatientrecordsimprovestheaccessibility,accuracy,and
overallmanagement of patient information.
Reducedwaitingtimes,efficientprocesses,andenhanceddataaccuracy contribute to
highersatisfaction levels among both patients and hospital staff.
21
22
ProcessorSpeed:2.00GHz.
RAM:4GB.
HardDiskDrive:500GB.
FloppyDiskDrive:1.44MB.
Monitor:“14.1”inches.
Mouse:Logitech.
Operatingsystem:Windows10.
CodingLanguage:PHP.
IDE:VisualStudioCode.
Database:MySQL.
WebServer:Apache2.
ScriptingLanguage:HTML,JavaScript.
Frontenddesign:CSS,Bootstrap.
23
— HTML, short for Hyper Text Markup Language, is the standard
markup language used to create web pages and web applications. It
provides a set of tags or elements that define the structure and content of a
web page. HTML documents consist of a series of nested elementsthat
define the different parts of the page such as headings, paragraphs, images,
links, forms, andmore.
— Php is a technology that lets you mix regular, static HTML with
dynamically- generatedHTML. Many Web pages that are builtby CGI
programs are mostly static, with the dynamic part limited to a few small
locations. But most CGI variations, including servlets, make you generate the
entire page via your program, even though most of it is always the same.
-
Apacheisawebcontainer,orapplicationserverdevelopedatthe Apache Software
Foundation (ASF) adds tools for configuration and management but can
alsobe configured by editing configuration files that are normally XML-
formatted. Apache includes its own internal HTTP server.
24
HTML(HypertextMark-UpLanguage)iswhatisknownasa"mark-
uplanguage” whose role is to prepare written documents using formatting
tags. The tags indicate howthedocument is presented and how it links to
other documents,HTMLisalso used forreading documents on the Internet
from differentcomputers, thanks to the HTTP protocol, which allows users to
remotely access documents stored at a specific address on the network,
called a URL. The World Wide Web (WWW for short), or simply the Web, is
the worldwide network formed by all the documents (called "web pages™)
which are connected to one another by hyperlinks, Web pages are usually
organized
aroundamainpage,whichactsasahubforbrowsingotherpageswithhyperlinks.Thi
s group of web pages joined by hyperlinks and centered around a main page
is called a website.
The Web is composed of web pages stored on web servers, which are
machines that areconstantly connected to the Internet and which provide
the pages that users request. Every web page, and more generally any
online resource, such as
images,video,music,andanimation,isassociatedwithauniqueaddresscalledaUR
L. The key element for viewing web pages is the browser, a software
program which sends requests to web servers, then processes the resulting
data and displays the informationas intended, based on instructions inthe
HTML page.
ThemostcommonlyusedbrowsersontheInternetinclude:
o MozillaFirefox
o MicrosoftInternetExplorer
o NetscapeNavigator
o Safari
25
It is important to understand that HTML is a standard, composed of
recommendations published by an international consortium: the World Wide
Web Consortium (W3C). The official specifications of HTML describe the
language's “instructions” but not how to follow them (the way they are
translated by computer programs), so that web pages can be viewed
regardless of what the user's operating system or computer architecture
may be.
27
A CSS (cascadingstyle sheets) file allows you to separate your web
sites
HTMLcontentfromit’sstyle.AsalwaysyouuseyourHTMLfiletoarrangethecontent,
but all of the presentation (fonts, colors, background, borders, text
formatting, link effects & so on...) are accomplished within aCSS. At this
point you have some choices of how to use the CSS, either internallyor
externally.
29
andfunctionality.
30
Safari, and Internet Explorer. It also supports a wide range of devices, from
desktops and laptopsto smartphones and tablets.
31
input, and page navigation. Usefullibrariesfortheclient-sideareAngularJS,
ReactJS, VueJSandso manyothers.
32
ItsuppliesobjectsrelevanttorunningJavaScriptonaserver.Likeiftheserver- side
33
extensions allow an application to communicate with a database, and
provide continuity of information from one invocation to another of
theapplication, or perform file manipulations on a server. The useful
framework which is the most famous these days is node.js.
OneoftheprimaryreasonsforPHP'spopularityisitssimplicityandeaseofuse.It
is a scripting language, which means that it is interpreted at runtime rather
than compiled like C or Java. This makes it easy to learn and quick to get
started with. PHP scripts can be embedded directly into HTML pages, which
makes it easy to mix dynamic content with static HTML markup. PHP also
supports a wide range of database systems, including MySQL, PostgreSQL,
Oracle, and Microsoft SQL Server, makingitapopularchoiceforbuildingdata-
drivenwebapplications.
35
being friendly and supportive, with manyonline resources available to help
developers learn and troubleshoot their
36
code.
One of the key features of PHP is its ability to generate dynamic web
pages. This means that PHP scripts can interact with databases, file systems,
and other web services to generate custom content for each user. For
example, a PHP script could pull data from a database and display
itonawebpage inreal-time, orit couldgenerate personalized content based on
auser's preferences or location. This makes PHP a powerfultool for building
complex web applications,such as e-commerce sites, social networks, and
content management systems.
OneofthedownsidesofPHPisthatitcanbepronetosecurityvulnerabilitiesifnot
used correctly. Because PHP scripts are interpreted at runtime, they can be
vulnerable toattacks such as SQL injectionand cross-site scripting (XSS).
However, there are many best practices and security measures that
developers can use to help protect their PHP applications fromthese types
ofattacks.
Despitethesechallenges,PHPremainsoneofthemostwidelyusedandversati
le web development languages in the world. It has a large and active
community of developers who continue to innovate and improve the
language, making it an exciting and dynamic platform for building web
applications. Some of the most popular websites and web applicationsin the
world, including Facebook, Wikipedia, and WordPress, are built using PHP,
making it a proven and trusted platform for building reliable, scalable, and
dynamic web applications.
37
PHPisaserver-sidescriptinglanguage,whichisusedtodesignthedynamic
webapplications with MySQL database.
o Ithandlesdynamiccontent, databaseaswellassessiontrackingforthewebsite.
o Youcancreatesessions inPHP.
o Itcanaccesscookiesvariableandalsosetcookies.
o Ithelpstoencryptthedataandapplyvalidation.
o UsingPHPlanguage,youcancontroltheusertoaccesssomepagesofyourwebsite.
o AsPHPiseasytoinstallandsetup,thisisthemainreasonwhyPHPis
thebestlanguage to learn.
o PHP can handle the forms, such as - collect the data fromusers using
forms,
saveitintothedatabase,andreturnusefulinformationtotheuser.Forexamp
le- Registration form.
38
One of the key features of MySQL is its support for the SQL (Structured
Query Language)standard.SQLisalanguagethatisusedtointeractwithrelational
39
databases,allowingdeveloperstoretrieve,insert,update,anddeletedata.MySQL
supports a wide range of SQL
40
commands, making iteasyfordeveloperstoworkwiththedatabaseandmanipulatedata.
One of the benefits of using MySQL is its flexibility. It can be used with a
wide range of programming languages, including PHP, Python, Ruby, and
Java. It also supports a variety of platforms, including Windows, Linux, and
macOS. MySQL can be used for a variety of applications, including web-
based applications, content management systems, and e-commerce sites.
41
asusingstrongpasswords,restrictingaccess,andregularlyapplyingsecurityupda
tes.
Despite these challenges, MySQL remains one of the most popular and
widely used database systems in the world. It is a powerful and flexible tool
for managing largeamountsofdata,andisaprovenplatformforbuildingweb-
basedapplications
42
andsystems.Whetheryouareadeveloperlookingtobuildanewwebapplication,or
an administrator looking to manage an existing database, MySQL offers a
reliable and scalable platform for your needs.
43
MySQL is a fast, easy-to-use RDBMS being used for many small and big
businesses. MySQL is developed,marketed and supported by MySQL AB, which is a
Swedish company.
MySQLisbecomingsopopularbecauseofmanygoodreasons
o MySQLisreleasedunderanopen-sourcelicense.Soyouhavenothingtopaytouseit.
o MySQLusesastandardformofthewell-knownSQLdatalanguage.
o MySQLworksveryquicklyandworkswellevenwithlargedatasets.
o MySQLisveryfriendlytoPHP,themostappreciatedlanguageforwebdevelopment.
45
One ofthe keyfeatures of XAMPPis its cross-platform
compatibility.XAMPPcan be installed on Windows, Linux, and macOS, making
it a versatile tool for web developers. It also provides a consistent
development environment across different platforms, making it easier to
develop and test applications on multiple operating systems.
XAMPPisalsoknownforitseaseofuse.Itcanbeinstalledandconfiguredquickly
and easily, even by developers with limited technical expertise.
XAMPPincludes a control panel that allows users to start and stop the
Apache web server and MySQL database, and to configureother settings and
options.
One of the benefits of using XAMPP is its flexibility. It can be used for a
variety of web development tasks, including developing and testing
websites, building web applications, and creating content management
systems. XAMPP is also highly customizable, with a wide rangeof plugins and
extensions available to extend its functionality.
AnotherbenefitofXAMPPisitscompatibilitywithpopularwebdevelopmentto
ols and frameworks. XAMPP works well with popular content management
systems such as WordPress,Joomla, and Drupal, as well as with popular PHP
frameworks such as Laravel and CodeIgniter. This makes XAMPP a versatile
tool for web developers who use a variety of technologies and frameworks.
46
resources and maynot perform aswell as other dedicatedwebserver software
packages.However, XAMPPis
designedfordevelopmentandtestingpurposes,andperformancemaynotbea
47
primaryconcerninthosecontexts.
48
is a powerful tool for web developers of all levels of expertise. Whether you
are a beginner learning to develop websites or an experienced developer
building complex web applications, XAMPP offers a versatile and flexible
platform for your needs.
ItisanHTTPacross-platformwebserver.Itisusedworldwidefordelivering
web content. The server application has made free for installation and used
for the community of developers under the aegis of Apache Software
Foundation. The remote serverofApachedeliverstherequestedfiles,
images,andotherdocumentstotheuser.
Originally, MySQL DBMS was a part of XAMPP, but now it has been
replacedby MariaDB. It is one of the most widely used relational DBMS,
developed by MySQL. It offersonline services of data storage, manipulation,
retrieval, arrangement, and deletion.
It is the backend scripting language primarily used for web
development. PHP allows users to create dynamic websites and applications.
49
It can be installed on every platform and supports a variety of database
management systems. It was implemented using C language. PHPstands for
Hypertext Processor. It is said to be
derivedfromPersonalHomePagetools,whichexplainsitssimplicityandfunctionali
ty.
50
It isa combinationoftwohigh-leveldynamic languages, namelyPerl5 andPerl6.
Perl
51
canbeappliedforfindingsolutionsforproblemsbasedonsystemadministration,w
eb development, and networking. Perl allows its users to program dynamic
web applications. It is very flexible and robust.
Itistheopen-sourceimplementationoftheSecureSocketLayerProtocol
and Transport Layer Protocol. Presently version0.9.8 is a part ofXAMPP.
Itisamailtransportsystem,anditslatestversionis4.62.It isamail
server, whichhelps to manage the mails across the web.
Version7.0.42iscurrentlybeingusedinXAMPP.Itisaservlet basedon
JAVA toprovide JAVA functionalities.
52
XAMPPissupportedinthreefileformats:
Thus .EXE is the most straightforward format to install, while the other two formats
are quitecomplicated and complex to install.
53
54
55
A graphical tool used to describe and analyze the moment of data
through a system manual or automated including the process, stores of
data, and delays in the system. Data Flow Diagrams are the central tool and
the basis from which other components are developed. The transformation
of data from input to output, through processes, may be described logically
and independently of the physical components associated with the system.
The DFD is alsoknown as a data flow graph or a bubble chart.
DataFlowDiagramsareoftwotypesasfollows:
(a)PhysicalDFD
(b)LogicalDFD
56
e
thatthecurrentsystemhasbeenclearlyunderstood.PhysicalDFDsshowsactual
57
devices,departments,andpeopleetc.,involvedinthecurrentsystem.
58
Logical DFDs are the model of the proposed system. They clearly
should show the requirements on which the new system should be built.
Later during designactivitythisis takenasthebasis for
drawingthesystem’sstructurecharts.
TheBasicNotationusedtocreateaDFD’sareasfollows:
Datamoveinaspecificdirectionfromanorigintoadestination.
People,procedures,ordevicesthatuseorproduce(Transfor
Externalsourcesordestinationofdata,whichmaybePeople,programs,
organizations or other entities.
59
HeredataarestoredorreferencedbyaprocessintheSystem
Design is the first step in moving from problem domain to the solution
domain. Design isessentially the bridge between requirements
specification and the final solution.
60
61
62
5
52
53
54
Inputdesignistheprocessofconvertingauser-orienteddescriptionoftheinputs
to acomputer based business systeminto a program-oriented specification.
Theobjectivesintheinputdesign:
Toproduceacost-effectivemethodofinput
Toachieveahighestpossiblelevelofaccuracy.
Toensurethatinputisacceptabletoandunderstoodbytheuserstaff.
DataRecording-Collectionofdataatitssource.
DataDescription-Transferofdatatoaninputform
DataConversion-Conversionoftheinputdatatoacomputer
acceptablemedium
Data Verification-Checkingtheconversion
DataTransmission-Transmissionortransferringthedatatothecomputer.
DataValidation-Checkingtheinputdatabyprogramwhenitenters
thecomputer system.
55
DataCorrection-Correctiontheerrorsthatarefoundatanyearlystages
TheTypesofoutputusedinthesystemare:
Internaloutputs:Whosedestinationis
withintheorganizationand is the user'smain interface with
the computer.
Interactiveoutputs:Whichinvolvestheuserincommunicatingdire
ctly with thecomputer.
Externaloutputs:Whosedestinationisoutsidetheorganization
and whichrequire special attentionsince theyproject the
image ofthe organization.
The database design is a must for any developed especially more for
the data
storeprojects,sincethechattingmethodinvolvesstoringthemessageinhetablean
d producedtothesender and receiver, proper handling of the table is a must.
In the
project,admintableisdesignedtobeuniqueinacceptingtheusernameandtheleng
th of the username and password should be greater than zero.
56
57
Thecompletionofasystemisachievedonlyafterithasbeenthoroughlyteste
d. Though this gives a feel the project is completed, there cannot be any
project without going through this stage. Though the programmer may have
taken many precautions not to commit any mistakes that crop up during the
execution stage. Hence in this
stageitisdecidedwhethertheprojectcanundergotherealtimeenvironmentexecu
tion without any break downs, therefore a package can be rejected evenat
this stage.
Duringtheimplementationofthesystemeachmoduleofthesystemwastest
ed separately to uncover errors within its boundaries. User interface was
used as a guide in the process.
58
and interaction between units within a module. It checks the
functionality of each
programwithrelationtootherprogramswithinthesamemodule.Itthentests
59
theoverallfunctionalityofeach module.
60
Integration testing is a systematic technique for constructing the
program structure while conducting tests to uncover errors associated
with interfacing. The objectiveistotakeunit-
testedmoduleandbuildaprogramstructurethat hasbeen dictated by design.
61
62
Enhancements in a payroll management system can significantly
improve efficiency,accuracy, and user experience. Here are some
future enhancement ideas:
:Createamobileapplicationorresponsivewebinterface
to allow employees and managers to access payroll-related information
and performtaskson-the-go,enhancingaccessibilityandconvenience.
63
compliant with the latest regulations and tax laws, reducing the risk of
penalties and errors.
64
Offerflexiblepaymentoptionssuchasdirectdeposi
t, paper checks, prepaid cards, and mobile wallets to accommodate
diverse employee preferences and improve payment efficiency.
:Utilizepredictiveanalyticstoforecastfuturepayrollexpens
es based on historical data, seasonal trends, and workforce changes,
enabling better budget planning and resource allocation.
:Integrateachatbotorvirtualassistanttoprovideimmedi
ate support and answers to common payroll-related queries from
employees and managers, improving user experience and reducing
support overhead.
65
66
In conclusion, the Payroll Management System (PMS) project presents a
comprehensivesolutiontailoredtoaddresstheintricaterequirementsofmodernp
ayroll administration. Through the integration of modules dedicated to
attendance tracking, salary management, employee data management,
holiday listing, and pay heads, the PMS offers a cohesive platform to
streamline payroll processes and enhance organizational efficiency.
The Attendance module ensures accurate recording and monitoring of
employee attendance, leveraging advanced biometric or time-tracking
systems to facilitate precise payroll calculations based on actual work hours.
This module not only minimizes errors but also promotes transparency and
accountability in workforce management.
TheSalaryManagementmoduleautomatessalarycalculation,allowanceanddedu
ction management, and bonus processing, ensuring timely and accurate
disbursement of
employeewages.Bycustomizingpaycomponentsbasedonorganizationalpolicies
and employee contracts, the system accommodates diverse compensation
structures and enhances payroll accuracy.
The Employee module serves as a centralized repository for storing and
managing employee information, streamlining HR processes and facilitating
efficient workforce management. From personal details to employment
history, this module provides comprehensive insights into employee profiles,
enabling administrators to make informed decisions.
TheListHolidaymoduleoffersaconvenientwaytomaintainacomprehensivecalen
dar of company-wide and regional holidays. By facilitating scheduling
adjustments and payroll processing based on holiday data, this module
ensures compliance with regulatory requirements and promotes workforce
productivity.
The Pay Heads module allows for the customization and management of
various pay components, including allowances, deductions, bonuses, and
incentives. By defining and configuring pay heads according to
organizational policies, administrators can tailor the payroll system to meet
specificbusiness needs and regulatorystandards.
67
68
<?php require_once(dirname( FILE
).'/config.php'); if
( isset($_SESSION['Admin_ID']) &&
$_SESSION['Login_Type'] == 'admin' ) {
header('location:'.BASE_URL.'attendanc
e/');
}
if(isset($_SESSION['Admin_ID'])&&
$_SESSION['Login_Type'] == 'emp' ) {
header('location:'.BASE_URL.'profile
/');
}?>
<!DOCTYPEhtml>
<html>
<head>
<metacharset="utf-8">
<metahttp-equiv="X-UA-
Compatible"content="IE=edge">
<meta content="width=device-width, initial-
scale=1, maximum-scale=1, user-scalable=no"
name="viewport">
<title>Login-Payroll</title>
69
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>bootstrap/css/bootstrap.min.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
70
?>dist/css/
AdminLTE.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>dist/css/skins/_all-skins.min.css">
<!--[ifltIE9]>
<script
src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"
></script>
<script
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.j
s"></ script>
<![endif]-->
</head>
<bodyclass="hold-transitionlogin-page">
<divclass="login-box">
<divclass="login-logo">
<ahref="<?phpechoBASE_URL;?>"><b>Payroll</
b> Management</a>
</div>
<divclass="login-box-body">
<pclass="login-box-msg">Pleaselogintostartyour
session</p>
<formmethod="POST"role="form"data-
toggle="validator"id="login-form">
71
<divclass="form-grouphas-feedback">
<inputtype="text"class="form-
control"id="code"name="code"placeholder="AdminCode
"required/>
<spanclass="glyphiconglyphicon-user
form- control-feedback"></span>
</div>
<divclass="form-grouphas-feedback">
<inputtype="password"class="form-
control"id="password"name="password"placeholder="P
assword" required />
<spanclass="glyphiconglyphicon-lock
form- control-feedback"></span>
</div>
<button type="submit" class="btn btn-
success btn- block btn-flat">Login</button>
</form>
</div>
</div>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/jQuery/jquery-2.2.3.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>bootstrap/js/bootstrap.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;?>plugins/
bootstrap- notify/bootstrap-notify.min.js"></script>
72
<scriptsrc="<?phpechoBASE_URL;?>plugins/jquery-
73
validator/validator.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;?>plugins/
bootstrap- notify/bootstrap-notify.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>dist/js/app.min.js"></script>
<scripttype="text/javascript">varbaseurl='<?phpecho
BASE_URL; ?>';</script>
<scriptsrc="<?phpechoBASE_URL;
?>dist/js/script.js?rand=<?phpechorand();?>"></script>
</body>
</html>
<?php require_once(dirname( FILE
).'/config.php'); if ( !
isset($_SESSION['Admin_ID']) ||
!isset($_SESSION['Login_Type']) ) {
header('location:'.BASE_URL);
}?>
<!DOCTYPEhtml>
<html>
<head>
<metacharset="utf-8">
<meta http-equiv="X-UA-
Compatible"content="IE=edge">
<meta content="width=device-width, initial-
scale=1, maximum-scale=1, user-scalable=no"
74
name="viewport">
75
<title>Leaves-Payroll</title>
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>bootstrap/css/bootstrap.min.css">
<link
rel="stylesheet"href="https://cdnjs.cloudfla
re.com/ajax/libs/font-
awesome/4.5.0/css/font-
awesome.min.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>plugins/datatables/dataTables.bootstrap.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>plugins/datatables/
jquery.dataTables_themeroller.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>dist/css/
AdminLTE.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>plugins/datepicker/
datepicker3.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>dist/css/skins/_all-skins.min.css">
<!--[ifltIE9]>
<script
src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"
></script>
76
<script
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.j
s"></ script>
<![endif]-->
77
</head>
<bodyclass="hold-transitionskin-bluesidebar-mini">
<divclass="wrapper">
<?php require_once(dirname(
FILE ).
'/partials/topnav.php'); ?>
<?php require_once(dirname(
FILE ).
'/partials/sidenav.php'); ?>
<divclass="content-wrapper">
<sectionclass="content-header">
<h1>Leaves</h1>
<olclass="breadcrumb">
<li><ahref="<?phpechoBASE_URL;
?>"><iclass="fafa-dashboard"></i>Home</a></li>
<liclass="active">Leaves</li>
</ol>
</section>
<sectionclass="content">
<divclass="row">
<?phpif($_SESSION['Login_Type']
=='admin')
{?>
78
<divcla
ss="col
-xs-
12">
<divcl
ass="
box">
79
<divclass="box-
header">
<h3class="box
-title">AllLeaves</
h3>
</div>
<divclass="box-
body">
<table
id="allleaves"class="tabletable-borderedtable-stripe">
<thead>
<tr>
<th>#</th>
<th>EMPCODE</th>
<th>SUBJECT</th>
<th>DATES</th>
<th>MESSAGE</th>
<th>TYPE</th>
<th>STATUS</th>
80
<th>ACTIONS</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<?php}else{ ?>
<divclass="col-lg-4">
<divclass="box">
<divclass="box-
header">
<h3class="box
-title">ApplyforLeave</
h3>
</div>
<divclass="box-
body">
<form
method="post" role="form" data-toggle="validator"
id="leave- form">
<div
class="form-group">
<labelfor="leave_subject">LeaveSubject</label>
<inputtype="text"class="form-control"name="leave_subject"
81
id="leave_subject"require
d/>
</div>
<div
class="form-group">
<labelfor="leave_dates">LeaveDates(MM/DD/YYYY)</label>
<inputtype="text"class="form-
controlmultidatepicker"name="leave_dates" id="leave_dates"
required />
<smallclass="text-
muted">Youcanselectmultipledates separated by
comma.</small>
</div>
<div
class="form-group">
<labelfor="leave_message">LeaveMessage</
label>
<textarea class="form-control"
name="leave_message"id="leave_message" rows="10"
required></textarea>
class="form-
group">
82
</div>
<labelfor="leave_type">LeaveType</
<div
label>
83
<selectclass="form-
control"name="leave_type"id="leave_type"required>
<optionvalue="">Pleasemakeachoice</option>
<optionvalue="EarnedLeave">Privileged/Earned
Leave</option>
<optionvalue="SickLeave">Medical/SickLeave</option>
<optionvalue="Maternity Leave">MaternityLeave</option>
<optionvalue="LeaveWithoutPay">LeaveWithoutPay</
option>
</select>
</div>
<div
class="form-
group">
<buttontype="submit"class="btnbtn-primary">Applyfor
Leave</button>
</div>
</form>
84
</div>
85
</div>
</div>
<divclass="col-lg-8">
<divclass="box">
<divclass="box-
header">
<h3class="box
-title">MyLeaves</
h3>
</div>
<divclass="box-
body">
<table
id="myleaves"class="tabletable-borderedtable-stripe">
<thead>
<tr>
<th>#</th>
<th>SUBJECT</th>
<th>DATES</th>
<th>MESSAGE</th>
<th>TYPE</th>
86
<th>STATUS</
th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<?php}?>
</div>
</
section>
</div>
<footerclass="main-footer">
<strong>© <?php echo date("Y");?>
Payroll
ManagementSystem|</strong>DevelopedBySurajitPram
anik
</footer>
</div>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/jQuery/jquery-2.2.3.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>bootstrap/js/bootstrap.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
87
?>plugins/datatables/jquery.dataTables.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/datatables/dataTables.bootstrap.min.js"></script>
88
<scriptsrc="<?phpechoBASE_URL;?>plugins/jquery-
validator/validator.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/bootstrap-notify/bootstrap-notify.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/datepicker/bootstrap-datepicker.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>dist/js/app.min.js"></script>
<scripttype="text/javascript">varbaseurl='<?
phpecho BASE_URL; ?>';</script>
<scriptsrc="<?phpechoBASE_URL;
?>dist/js/script.js?rand=<?phpechorand();?>"></script>
</body>
</html>
<?phprequire_once(dirname( FILE ).'/config.php');
if(!isset($_SESSION['Admin_ID'])||$_SESSION['Login_Type']
!='admin'){
header('location:' .BASE_URL);
}?>
<!DOCTYPEhtml>
<html>
<head>
<metacharset="utf-8">
<meta http-equiv="X-UA-
Compatible"content="IE=edge">
89
<meta content="width=device-width, initial-
scale=1, maximum-scale=1, user-scalable=no"
name="viewport">
<title>PayHeads-Payroll</title>
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>bootstrap/css/bootstrap.min.css">
<link
rel="stylesheet"href="https://cdnjs.cloudfla
re.com/ajax/libs/font-
awesome/4.5.0/css/font-
awesome.min.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>plugins/datatables/dataTables.bootstrap.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>plugins/datatables/
jquery.dataTables_themeroller.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>dist/css/
AdminLTE.css">
<linkrel="stylesheet"href="<?phpechoBASE_URL;
?>dist/css/skins/_all-skins.min.css">
<!--[ifltIE9]>
<script
src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"
90
></script>
<script
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.j
s"></ script>
91
<![endif]-->
</head>
<bodyclass="hold-transitionskin-bluesidebar-mini">
<divclass="wrapper">
<?php require_once(dirname(
FILE ).
'/partials/topnav.php'); ?>
<?php require_once(dirname(
FILE ).
'/partials/sidenav.php'); ?>
<divclass="content-wrapper">
<sectionclass="content-header">
<h1>Pay Heads</h1>
<olclass="breadcrumb">
<li><ahref="<?phpechoBASE_URL;
?>"><iclass="fafa-dashboard"></i>Home</a></li>
<liclass="active">PayHeads</li>
</ol>
</section>
<sectionclass="content">
<divclass="row">
<divclass="col-xs-12">
92
<divclass="box">
<divclass="box-header">
93
<h3class="box-
title">ListofPayHeads</
h3>
<button
type="button" class="btn btn-xs btn-primary pull-right" data-
toggle="modal"data-target="#PayheadsModal">
<iclass="fafa-
plus"></
i>AddPayHead
</button>
</div>
<divclass="box-body">
<divclass="table-
responsiove">
<table
id="payheads"class="tabletable-borderedtable-striped">
<thead>
<tr>
<thclass="text-center">#</th>
<th>HEADNAME</th>
<th>DESCRIPTION</th>
<thclass="text-center">HEADTYPE</th>
94
<thclass="text-center">ACTIONS</th>
95
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<divclass="modalfadein"id="PayheadsM
odal" tabindex="-1">
<divclass="modal-dialog">
<divclass="modal-content">
<divclass="modal-header">
<buttontype="butt
on"class="close"data-dismiss="modal"aria-
label="Close">
<spanaria-
hidden="true">×</
span>
</button>
<h4class="modal-title">Pay
Heads</h4>
</div>
<formmethod="POST"role="f
96
orm" data-toggle="validator"id="payhead-form">
97
<divclass="modal-body">
<divclass="form-group">
<lab
elfor="payhead_name">Pay Head
Name</label>
<input
type="text"class="form-
control"id="payhead_name"name="payhead_name"plac
eholder="Pay Head Name" required />
</div>
<divclass="form-group">
<label
for="payhead_desc">PayHeadDescription</label>
<textarea
class="form-
control"id="payhead_desc"name="payhead_desc"place
holder="Pay Head Description" required></textarea>
</div>
<divclass="form-group">
<labelfor="payhead_type">Pay
HeadType:</label>
<selectclass="form-control"
id="payhead_type"name="payhead_type"required>
<optionvalue="">---SelectPay
HeadType---</option>
<option
98
value="earnings">Earnings</option>
<optio
n
value="deductions">Deductions</o
ption>
99
</select>
</div>
</div>
<divclass="modal-footer">
<inputtype="hidden"
name="payhead_id"id="payhead_id"/>
<buttontype="submit"
name="submit" class="btn btn-primary">Save Pay
Head</button>
</div>
</form>
</div>
</div>
</div>
<footerclass="main-footer">
<strong>© <?php echo date("Y");?>
Payroll
ManagementSystem|</strong>DevelopedBySurajitPram
anik
</footer>
</div>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/jQuery/jquery-2.2.3.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
10
0
?>bootstrap/js/bootstrap.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
10
1
?>plugins/datatables/jquery.dataTables.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/datatables/dataTables.bootstrap.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;?>plugins/jquery-
validator/validator.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>plugins/bootstrap-notify/bootstrap-notify.min.js"></script>
<scriptsrc="<?phpechoBASE_URL;
?>dist/js/app.min.js"></script>
<scripttype="text/javascript">varbaseurl='<?
phpecho BASE_URL; ?>';</script>
<scriptsrc="<?phpechoBASE_URL;
?>dist/js/script.js?rand=<?phpechorand();?>"></script>
</body>/html>
10
2
10
3
10
4
10
5
10
6
10
7
10
8
10
9
11
0
www.google.com
www.w3schools.com
www.tutorialspoint.com
www.stackoverflow.com
www.github.com
www.sourcecoder.com
www.dotnettutorials.com
11
1