0% found this document useful (0 votes)
86 views16 pages

Final Pranab K Sharma Cs Project

This document describes a Python-based online employee payroll management system. The system automates salary calculations by taking inputs for basic pay, allowances, and deductions and computing the net salary. It aims to simplify payroll processes for small to medium businesses through a user-friendly interface and automated computations that reduce errors. The system focuses on capturing essential salary components like basic pay, HRA, DA, tax, and PF and outputs the payroll details in an organized manner.

Uploaded by

malhotran238
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views16 pages

Final Pranab K Sharma Cs Project

This document describes a Python-based online employee payroll management system. The system automates salary calculations by taking inputs for basic pay, allowances, and deductions and computing the net salary. It aims to simplify payroll processes for small to medium businesses through a user-friendly interface and automated computations that reduce errors. The system focuses on capturing essential salary components like basic pay, HRA, DA, tax, and PF and outputs the payroll details in an organized manner.

Uploaded by

malhotran238
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

COMPUTER SCIENCE

PROJECT ON

ONLINE EMPLOYEES PAYROLL


MANAGEMENT SYSTEM

AT
KENDRIYA VIDYALAYA

SUBMITTED BY
PRANAB KUMAR SHARMA
XI - A
CERTIFICATE

This is to certified to be the bonafide work of the


at Kendriya Vidyalaya Sainik Vihar, Delhi

Teacher's Signature :
ACKNOWLEDGEMENT

We would like to extend our sincere thanks and gratitude to our teacher Mr
Amar Singh, PGT CS Kendriya Vidyalaya…….. for extending all the support
and computing facilities needed for the completion of this project.

We also feel indebted to my friends in for their valuable suggestions and


feedback during the project work.

PRANAB KUMAR SHARMA


TABLE OF CONTENTS

1. INTRODUCTION ………………………. 1
2. OBJECTIVE AND SCOPE………….. 2
3. REQUIREMENTS ……………………….. 4
4. DESIGNING ………............……………. 5
5. SOURCE CODE………….....…………. 6
6. OUTPUT SCREENSHOTS..……….. 10
INTRODUCTION

Introducing a basic online employee payroll management


system: This user-friendly system simplifies payroll by
calculating employee salaries based on input details. Users
can input salary information such as basic pay, allowances,
and deductions, enabling the system to automatically
compute accurate net salaries. With an intuitive interface, it
aims to streamline payroll processes for small to medium-
sized businesses, ensuring simplicity and efficiency in
managing employee compensation.

Page | 1
OBJECTIVE AND SCOPE

Objective:

⮚ Automate Salary Calculations: Develop a system to


automate the calculation of employee salaries based on
provided details.
⮚ Simplify Payroll Processes: Streamline payroll management
for businesses with a straightforward and user-friendly
interface.
⮚ Reduce Manual Errors: Minimize human errors in salary
calculations through automated computation.
⮚ Improve Efficiency: Enhance efficiency in handling payroll
tasks, saving time and resources.
⮚ Facilitate Quick Deployment: Provide a simple solution that
can be easily implemented by businesses of various sizes.

Page | 2
Scope:

⮚ Basic Salary Structure: Focus on capturing essential salary


components like basic pay, allowances, and deductions.
⮚ User-Friendly Interface: Design an intuitive interface for
easy input of salary details and quick access to payroll
information.
⮚ Small to Medium-Sized Businesses: Tailor the system to
meet the payroll needs of small and medium-sized
enterprises.
⮚ Limited Complexity: Keep the system simple, with a primary
focus on salary calculations and minimal additional
features.
⮚ Data Security: Ensure the security of payroll data by
implementing necessary measures to protect sensitive
information.

Page | 3
REQUIREMENTS

The following software development tools were used:

Python:

The coding of the project is done in python IDLE.

Ms Word:

The project description file is made in Ms Word 2007.

DESIGNING
Page | 4
Flow Chart

Page | 5
SOURCE CODE

#ONLINE EMPLOYEE PAYROLL MANAGEMENT SYSTEM

def calculate_hra(basic_pay):
return 0.28 * basic_pay # 28% of basic pay for HRA

def calculate_da(basic_pay):
return 0.5 * basic_pay # 50% of basic pay for DA

def calculate_tax(gross_salary):
return 0.15 * gross_salary # 15% tax on gross salary

def calculate_pf(basic_pay):
return 0.05 * basic_pay # Fixed 5% PF deduction

def calculate_net_salary(basic_pay):
hra = calculate_hra(basic_pay)
da = calculate_da(basic_pay)

Page | 6
gross_salary = basic_pay + hra + da
tax_deduction = calculate_tax(gross_salary)
pf_deduction = calculate_pf(basic_pay)
net_salary = gross_salary - tax_deduction - pf_deduction
return net_salary, hra, da, tax_deduction, pf_deduction

def main():
# Input the number of employees
num_employees = int(input("Enter the number of employees:
"))

# List to store details for all employees


employees_details = []

# Loop through each employee


for i in range(1, num_employees + 1):
print("\n" + "="*30)
print(f"Details for Employee {i}:")

Page | 7
# User input for employee details
employee_id = input("Enter Employee ID: ")
employee_name = input("Enter Employee Name: ")
basic_pay = float(input("Enter Basic Pay: "))

# Calculate net salary and other details


net_salary, hra, da, tax_deduction, pf_deduction =
calculate_net_salary(basic_pay)

# Store details in a dictionary


employee_details = {
"Employee ID": employee_id,
"Employee Name": employee_name,
"Basic Pay": basic_pay,
"HRA": hra,
"DA": da,
"Tax Deduction": tax_deduction,
"PF Deduction": pf_deduction,
"Net Salary": net_salary }

Page | 8
# Append the dictionary to the list
employees_details.append(employee_details)

# Display two lines after entering details for each employee


print("="*30 + "\n" * 2)

# Display results for all employees


print("\nPayroll Details for All Employees:")
for i, employee in enumerate(employees_details):
print("\n" + "="*30)
print(f"Details for Employee {i + 1}:")
for key, value in employee.items():
print(f"{key}: {value}")
print("="*30 + "\n" * 2)

if __name__ == "__main__":
main()

OUTPUT SCREENSHOTS
Page | 9
Page | 10
Page | 11
Page | 12

You might also like