The document discusses the development of a computerized payroll system for Barangay Dita. It provides background information on computerized payroll systems and discusses the objectives, significance, scope, and definitions related to developing such a system for the barangay. The objectives are to fasten transactions, minimize manual employee checks, monitor employee deductions and charges, and generate essential reports. It will cover payroll processes like preparing pay slips, monitoring loans and deductions, and computing pay amounts. The methodology used will be collecting data through interviews and developing the software using Visual Basic.
Presentation on student attendance system using Android device. I will used this presentation for viva voce practical examination for implementing my project.
I will explain all the topics to teacher. You can refer this and try to create more innovative ideas.
For best Payroll Management System - Visit at Remunance Systems Pvt. Ltd offers comprehensive Payroll Management System. We provide Payroll Services at affordable rates in Pune.
Software Engineering Project On School Management System. its Presentation .Data flow diagram , use case diagram of SMS , class diagram of school management system , functional and non-functional requirements
Download completer BS Computer Science Degree Study Data
http://studyofcs.blogspot.com/p/bs.html
online school management system
The main purpose of our website is to Providing Online admission form for the Parents & students .This application will automate admission procedure .
Admin can manage all the school details online, admin can manage all employees, faculty
, classes, subject, faculty , employee attendance details online. Employee can manage their attendance online and they can also manage their profile information online.
Payroll Insights - Employee Self Service portal empowers your Employees with its real time information access. It allows Employees to apply, approve, cancel, reject leaves on line. It also allows employee to see their payslips, tax sheets on line and much more functionalities.
Campus Management System mainly concentrates on managing Institutional information, Department/Programme Summary and many other related data needs in a colleges or universities. Campus Management System is an very efficient data analysis and report generation system. The system contains crystal report technique for generating reports. The proposed system is user friendly because the retrieval and storing of data is fast and data is maintained efficiently.
For project source code visit www.studentprojectguide.com
Presentation on student attendance system using Android device. I will used this presentation for viva voce practical examination for implementing my project.
I will explain all the topics to teacher. You can refer this and try to create more innovative ideas.
For best Payroll Management System - Visit at Remunance Systems Pvt. Ltd offers comprehensive Payroll Management System. We provide Payroll Services at affordable rates in Pune.
Software Engineering Project On School Management System. its Presentation .Data flow diagram , use case diagram of SMS , class diagram of school management system , functional and non-functional requirements
Download completer BS Computer Science Degree Study Data
http://studyofcs.blogspot.com/p/bs.html
online school management system
The main purpose of our website is to Providing Online admission form for the Parents & students .This application will automate admission procedure .
Admin can manage all the school details online, admin can manage all employees, faculty
, classes, subject, faculty , employee attendance details online. Employee can manage their attendance online and they can also manage their profile information online.
Payroll Insights - Employee Self Service portal empowers your Employees with its real time information access. It allows Employees to apply, approve, cancel, reject leaves on line. It also allows employee to see their payslips, tax sheets on line and much more functionalities.
Campus Management System mainly concentrates on managing Institutional information, Department/Programme Summary and many other related data needs in a colleges or universities. Campus Management System is an very efficient data analysis and report generation system. The system contains crystal report technique for generating reports. The proposed system is user friendly because the retrieval and storing of data is fast and data is maintained efficiently.
For project source code visit www.studentprojectguide.com
Introduction on Workday Payroll Management System and Software SolutionsERP Cloud Training
Workday Payroll training Management system helps any organization to calculate the wages & compensation of any employee in a detailed & organized manner. We all know that Workday plays a vital role in each organization. Even small organizations began to deal with things with Workday. Workday is becoming increasingly popular daily.
GTM's remote software, Evolution, is a true web-based payroll software allowing unfettered access to your employee, payroll, and HR related data. GTM's Evolution is the most robust full-featured payroll software on the market offering scalability, flexibility, customization, security, and ease of use. You remain in control, while GTM handles all of the processing and compliance issues.
It’s a common goal to find a job that you love, but it’s not sheer conviction that keeps us going to work day after day, year after year—it’s money. Your hard work, and that of your employees, deserves to be rewarded with consistent and dependable pay. Though at face value, paying your employees for their hours worked seems relatively straight-forward, there are many important factors to consider concerning your company’s payroll.
A variety of payroll services and solutions have long existed to aid companies in their payroll management needs, a new wave of web-based options have emerged to give businesses even more functionality. These new solutions can not only help you save money as compared to their older counterparts, but can also help with headache-inducing federal and state taxes.
Complete Guide to Payroll Management in 2024 | ShrmproShrmpro
By implementing a payroll management system, you can easily overcome your challenges of inefficient payroll processing and focus on making your organization's vision and mission a reality.
So, if you are looking for a cloud-based HR software that can simplify workforce processes and provide solutions to all your HR problems, SHRMpro is the one-stop location for you.
With a user-friendly interface, we have automated tasks like Payroll Management, Application Tracking, Employee Data Management, Attendance Management, Training Sessions, etc., catering to all HRMS problems, to all our clients across the globe.
To know more about our Payroll Management System and how we can solve your Payroll processing challenges in your HR, book a demo of our HR software today!
TASC Corporate Services may assist with the compliance needs of companies operating in Dubai and also provides continuous support for businesses, such as accounting and bookkeeping services.
CSIS 375
Final Project Instructions
Instructions:
General Background Information:
CMS Systems, Inc. is a company that provides information systems consulting services to companies in the telecom industry in the United States and the United Kingdom. Due to its success, CMS is hoping to expand its operations into other parts of Europe. Despite its large size, CMS currently uses a manual/spreadsheet-based process for maintaining employee hours worked, employee benefits, employee payroll, project management, and customer billing. It also uses a file based system to manage its legal documents and other client information.
Management has now decided to implement a company-wide application that will keep track of all of its employee, project, and client information. Employee information will include such items as employee name, address, hire date, and salary. It will also keep track of employee hours spent working on various projects, employee benefits, employee payroll, and produce invoices for clients based on hours worked by employees. Client information will include such items as client name, legal location (i.e., country), billing address, office locations, client contact information , and contracts associated with each client. Project information will also have to be maintained, which will keep track of employee assignments to projects.
Employee Management
CMS currently employs 1,500 individuals (900 in the US and 600 in the UK) who serve as systems analysts, developers, managers, testers, maintenance engineers, accountants, lawyers, sales representatives, and office staff.
The new system will enable the Human Resources department to maintain all employee information such as name, address, hire date, termination date, emergency contact information, marital status, tax withholding information, 401 K participation, insurance participation, other tax-related deductions, and salary/wage rates.
Only members of the Human Resources department will be allowed to edit employee information.
Recording Hours Worked
All CMS employees must keep a record of the time they spend working for each client on a weekly basis. Because employees can work for more than one client and perform different functions for each client, CMS utilizes “project management” to keep track of employee assignments to client contracts. Employees can be assigned to work on more than one project at a given time. In fact, it is not unusual for an employee to spend time on two or more different projects within the same day.
The number of hours worked for each employee on each project must be recorded on a weekly basis. Employees currently log their time using an Excel worksheet. An example of this worksheet is presented below. Notice that the employee’s supervisor is listed on the worksheet. A supervisor is currently required to approve his employees’ timesheets by placing his initials beside his name.
All employees in the company should be allowed to enter information on their timesh.
Time and Attendance Software- A Business.com GuideBusiness.com
The days of the punch clock have gone the way of the rotary dial phone and Atari computer games. Instead of laboriously compile paper cards and manually recording hours, save yourself the headache and invest in Time and Attendance Software. Use this Business.com guide to help you manage your employees- from clocking time sheets to payroll processing and managing absences.
A Payroll Management System is software that streamlines the process of paying employees. It automates recurring tasks like calculating pay and managing taxes and benefits. A Payroll System can save time, reduce errors, and improve employee satisfaction. Moreover, it ensures that the business complies with legal regulations to avoid penalties. Employees may mistrust the company's economic stability if salaries are not paid on time or if there are any unjustified delays. Furthermore, it may have an impact on the morale of the company's workers, which can ultimately reduce productivity. So, it becomes crucial to implement a payroll system to streamline the payment mechanism in the company.
Know more details here: https://sites.google.com/view/nyggs-payroll-system/home
A payroll system involves everything that has to do with the payment of employees and the filing of ¬employment taxes. This includes keeping track of hours, calculating wages, withholding taxes and other deductions, printing and delivering checks and paying employment taxes to the government.
What are the key features and functionalities offered by payroll software i...HR365 India
Payroll software in India typically offers a range of key features and functionalities to simplify and automate the payroll process. Here are some of the common features found in cloud –based payroll software used in India:
Payroll is often complicated by employee turnover,
changing regulations, and other factors.
Fortunately, various payroll tools are available to simplify
the process.
Similar to Thesis in Computerized Payroll System for Brangay Hall, Dita (20)
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteGoogle
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-pilot-review/
AI Pilot Review: Key Features
✅Deploy AI expert bots in Any Niche With Just A Click
✅With one keyword, generate complete funnels, websites, landing pages, and more.
✅More than 85 AI features are included in the AI pilot.
✅No setup or configuration; use your voice (like Siri) to do whatever you want.
✅You Can Use AI Pilot To Create your version of AI Pilot And Charge People For It…
✅ZERO Manual Work With AI Pilot. Never write, Design, Or Code Again.
✅ZERO Limits On Features Or Usages
✅Use Our AI-powered Traffic To Get Hundreds Of Customers
✅No Complicated Setup: Get Up And Running In 2 Minutes
✅99.99% Up-Time Guaranteed
✅30 Days Money-Back Guarantee
✅ZERO Upfront Cost
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
AI Genie Review: World’s First Open AI WordPress Website CreatorGoogle
AI Genie Review: World’s First Open AI WordPress Website Creator
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-genie-review
AI Genie Review: Key Features
✅Creates Limitless Real-Time Unique Content, auto-publishing Posts, Pages & Images directly from Chat GPT & Open AI on WordPress in any Niche
✅First & Only Google Bard Approved Software That Publishes 100% Original, SEO Friendly Content using Open AI
✅Publish Automated Posts and Pages using AI Genie directly on Your website
✅50 DFY Websites Included Without Adding Any Images, Content Or Doing Anything Yourself
✅Integrated Chat GPT Bot gives Instant Answers on Your Website to Visitors
✅Just Enter the title, and your Content for Pages and Posts will be ready on your website
✅Automatically insert visually appealing images into posts based on keywords and titles.
✅Choose the temperature of the content and control its randomness.
✅Control the length of the content to be generated.
✅Never Worry About Paying Huge Money Monthly To Top Content Creation Platforms
✅100% Easy-to-Use, Newbie-Friendly Technology
✅30-Days Money-Back Guarantee
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIGenieApp #AIGenieBonus #AIGenieBonuses #AIGenieDemo #AIGenieDownload #AIGenieLegit #AIGenieLiveDemo #AIGenieOTO #AIGeniePreview #AIGenieReview #AIGenieReviewandBonus #AIGenieScamorLegit #AIGenieSoftware #AIGenieUpgrades #AIGenieUpsells #HowDoesAlGenie #HowtoBuyAIGenie #HowtoMakeMoneywithAIGenie #MakeMoneyOnline #MakeMoneywithAIGenie
Atelier - Innover avec l’IA Générative et les graphes de connaissancesNeo4j
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Allez au-delà du battage médiatique autour de l’IA et découvrez des techniques pratiques pour utiliser l’IA de manière responsable à travers les données de votre organisation. Explorez comment utiliser les graphes de connaissances pour augmenter la précision, la transparence et la capacité d’explication dans les systèmes d’IA générative. Vous partirez avec une expérience pratique combinant les relations entre les données et les LLM pour apporter du contexte spécifique à votre domaine et améliorer votre raisonnement.
Amenez votre ordinateur portable et nous vous guiderons sur la mise en place de votre propre pile d’IA générative, en vous fournissant des exemples pratiques et codés pour démarrer en quelques minutes.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Launch Your Streaming Platforms in MinutesRoshan Dwivedi
The claim of launching a streaming platform in minutes might be a bit of an exaggeration, but there are services that can significantly streamline the process. Here's a breakdown:
Pros of Speedy Streaming Platform Launch Services:
No coding required: These services often use drag-and-drop interfaces or pre-built templates, eliminating the need for programming knowledge.
Faster setup: Compared to building from scratch, these platforms can get you up and running much quicker.
All-in-one solutions: Many services offer features like content management systems (CMS), video players, and monetization tools, reducing the need for multiple integrations.
Things to Consider:
Limited customization: These platforms may offer less flexibility in design and functionality compared to custom-built solutions.
Scalability: As your audience grows, you might need to upgrade to a more robust platform or encounter limitations with the "quick launch" option.
Features: Carefully evaluate which features are included and if they meet your specific needs (e.g., live streaming, subscription options).
Examples of Services for Launching Streaming Platforms:
Muvi [muvi com]
Uscreen [usencreen tv]
Alternatives to Consider:
Existing Streaming platforms: Platforms like YouTube or Twitch might be suitable for basic streaming needs, though monetization options might be limited.
Custom Development: While more time-consuming, custom development offers the most control and flexibility for your platform.
Overall, launching a streaming platform in minutes might not be entirely realistic, but these services can significantly speed up the process compared to building from scratch. Carefully consider your needs and budget when choosing the best option for you.
May Marketo Masterclass, London MUG May 22 2024.pdfAdele Miller
Can't make Adobe Summit in Vegas? No sweat because the EMEA Marketo Engage Champions are coming to London to share their Summit sessions, insights and more!
This is a MUG with a twist you don't want to miss.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeAftab Hussain
Understanding variable roles in code has been found to be helpful by students
in learning programming -- could variable roles help deep neural models in
performing coding tasks? We do an exploratory study.
- These are slides of the talk given at InteNSE'23: The 1st International Workshop on Interpretability and Robustness in Neural Software Engineering, co-located with the 45th International Conference on Software Engineering, ICSE 2023, Melbourne Australia
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppGoogle
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-fusion-buddy-review
AI Fusion Buddy Review: Key Features
✅Create Stunning AI App Suite Fully Powered By Google's Latest AI technology, Gemini
✅Use Gemini to Build high-converting Converting Sales Video Scripts, ad copies, Trending Articles, blogs, etc.100% unique!
✅Create Ultra-HD graphics with a single keyword or phrase that commands 10x eyeballs!
✅Fully automated AI articles bulk generation!
✅Auto-post or schedule stunning AI content across all your accounts at once—WordPress, Facebook, LinkedIn, Blogger, and more.
✅With one keyword or URL, generate complete websites, landing pages, and more…
✅Automatically create & sell AI content, graphics, websites, landing pages, & all that gets you paid non-stop 24*7.
✅Pre-built High-Converting 100+ website Templates and 2000+ graphic templates logos, banners, and thumbnail images in Trending Niches.
✅Say goodbye to wasting time logging into multiple Chat GPT & AI Apps once & for all!
✅Save over $5000 per year and kick out dependency on third parties completely!
✅Brand New App: Not available anywhere else!
✅ Beginner-friendly!
✅ZERO upfront cost or any extra expenses
✅Risk-Free: 30-Day Money-Back Guarantee!
✅Commercial License included!
See My Other Reviews Article:
(1) AI Genie Review: https://sumonreview.com/ai-genie-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIFusionBuddyReview,
#AIFusionBuddyFeatures,
#AIFusionBuddyPricing,
#AIFusionBuddyProsandCons,
#AIFusionBuddyTutorial,
#AIFusionBuddyUserExperience
#AIFusionBuddyforBeginners,
#AIFusionBuddyBenefits,
#AIFusionBuddyComparison,
#AIFusionBuddyInstallation,
#AIFusionBuddyRefundPolicy,
#AIFusionBuddyDemo,
#AIFusionBuddyMaintenanceFees,
#AIFusionBuddyNewbieFriendly,
#WhatIsAIFusionBuddy?,
#HowDoesAIFusionBuddyWorks
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Crescat
Crescat is industry-trusted event management software, built by event professionals for event professionals. Founded in 2017, we have three key products tailored for the live event industry.
Crescat Event for concert promoters and event agencies. Crescat Venue for music venues, conference centers, wedding venues, concert halls and more. And Crescat Festival for festivals, conferences and complex events.
With a wide range of popular features such as event scheduling, shift management, volunteer and crew coordination, artist booking and much more, Crescat is designed for customisation and ease-of-use.
Over 125,000 events have been planned in Crescat and with hundreds of customers of all shapes and sizes, from boutique event agencies through to international concert promoters, Crescat is rigged for success. What's more, we highly value feedback from our users and we are constantly improving our software with updates, new features and improvements.
If you plan events, run a venue or produce festivals and you're looking for ways to make your life easier, then we have a solution for you. Try our software for free or schedule a no-obligation demo with one of our product specialists today at crescat.io
Software Engineering, Software Consulting, Tech Lead, Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Transaction, Spring MVC, OpenShift Cloud Platform, Kafka, REST, SOAP, LLD & HLD.
Thesis in Computerized Payroll System for Brangay Hall, Dita
1. A Computerized Payroll System for the
Barangay Dita
1.1 Background of the study
HISTORY OF PAYROLL SYSTEM
A computerized payroll system, the employer invests in a computerized payroll software.
Using a software such as quickbooks allows the employer to enter the wages into the system
after he has manually calculated them. The payroll and check printing are processed through
the system. The employer has access to payroll reports that he/she can print and use to
double-check against what she has entered before printing the checks. This allows his/her
to correct any detectable errors beforehand. Computerized payroll system allow you to
process all your normal payroll task via a computerized system, rather than by hand.
Essentials like name, address, Social Security number and withholding rate for each
employee are automatically filled in for every pay period until you make an employee’s
record inactive. Many different vendors offer computerized payroll system. Like different
word processors or other computer programs, they largely offer the same types of features
with slightly different interfaces. Payroll is essentially how employees are paid. It’s the legal
paperwork involved. There's more to payroll than just handing out cash or checks. However,
after gathering data on what the employees did and compared it to their salaries, some simple
payday mathematics will let the employer hand out the dough.
1.2 Objectives
1.2.1 General Objective
The main objective of the study is to design and develop a Computerizes Payroll
System for Barangay Hall, Dita that fast transactions, minimize the manual checking of
employees, monitor the status of employee’s charges, deductions and generate the
essential reports.A computerized payroll system must be able to keep and generate
accurate reports on employee income.An equally important objective of any payroll
system is to generate paychecks and pay stubs. Computerizing this task saves managers
and business owners time and money; rather than reviewing time cards manually and
calculating a check amount based on the hours worked, the payroll system should be
designed to automatically calculate these figures.A computerized payroll system must
automatically factor in the overtime pay. This helps employers stay within the law when
it comes time to pay overtime. Additionally, since an employer can use the system to
check the number of hours an employee works, the employer can shift schedules to avoid
paying additional overtime.
1.2.2 Specific Objectives
To minimize the manual checking of each daily time record.
2. To develop a module that will generate essentials reports.
To develop that will monitor the status of employee’s loan and other
deductions such as cash advance and charges.
1.3 Significance of the study
This part of the study discusses about the importance of creating computerized Payroll
System. It provides sample discussed how to run a Computerized Payroll System and here
are some examples of how it run. Many employers use a timekeeping system, such as clock
time, to track work hours employees '. Can separate this system regular hours from overtime
hours worked. Payroll all people will do is make edits / adjustments, if necessary. If time
employees are imported into the computerized Payroll system, the latter rounds up and
down time employees appropriately, as the nearest quarter hour. It calculates the total hours
worked and paid. It is saving the time spent manually calculating time and reduces errors. If
the person enters Payroll time system itself, automatically calculates its income, based on its
input. The system calculates all pay frequencies, such as weekly, biweely, and twice a
month. Only people attended Payroll data which the reduction is based, such as form for
withholding information federal income tax.Necessary you a manual payroll system to print
paychecks on a typewriter or by hand.
A computerized Payroll system has direct deposit capability, which saves money spent
on live checks and reconciliation. Moreover, paycheck and pay stub generation occurs
rapidly, regardless of the quantity. developing a computerized system and Prints Payroll
reports . If you want to double - check before printing Payroll stubs paychecks / pay, just
refer to the corresponding report. A computerized payroll system allows hard - copy
printing of Payroll registers pertaining to each pay period. Also saves its information
systems without boundaries .The system generates reports to ensure compliance with tax
Payroll tax. This includes quarterly and annual wage reporting and development of
employee forms. If a related departments such as accounting office holding Payroll taxes
and reconciliation of the company, print the required reports would require the department
through the computerized system. Furthermore, these days, such as vacation and personal
time, taken and paid to benefit the track system .
1.4 Scope
The study will covers the process of preparing the pay slip of each employee, monitors
loans, cash advances, charges, keeping the records and easily computers the basic pay,
regular overtime pay, pay during day off, special and legal holiday pay, gross pay, SSS
contributions, PhilHealth contributions, Pag-Ibig contributions, cash advances, charges,
deductions, lates, and net pay.
1.5 Delimitation
The study does not cover any other not employee of the Barangay Hall,Dita.This is not a
group pay slip.This system is not cover by any deduction that may not belong to the pay
slip. And also the other income that not belong in Barangay Hall, Dita.
3. 1.6 Definition of Terms
1.6.1 Operational Terms
Computerized Payroll System- A computerized payroll system has many prominent
advantages over paper systems. They prevent clerical error in calculating hours and a
gross payment. They also automatically deduct taxes based on the gross payment.
Work Hours- is the period of time that an individual spends at paid occupational labor.
Unpaid labors such as personal housework or caring for children/pets are not considered
part of the working week.
Overtime hours- is the amount of time someone works beyond normal working hours.
Normal hours may be determined in several ways.
Regular Hours- is usually when a store opens and closes.
Total Hours- compute the number of hours you work every week counting overtime and
then average these hours over a set period.
Income Tax- is a government levy (tax) imposed on individuals or entities (taxpayers)
that varies with the income or profits (taxable income) of the taxpayer. Details vary
widely by jurisdiction. Many jurisdictions refer to income tax on business entities as
companies tax or corporation tax.
Deposit- account is a savings account, current account, or other type of bank account, at a
banking institution that allows money to be deposited and withdrawn by the account
holder.
Paychecks- is traditionally a paper document (a cheque) issued by an employer to pay an
employee for services rendered. In recent times, the physical paycheck has been
increasingly replaced by electronic to bank accounts. Such employees may still receive a
pay slip, but any attached cheque is marked as non-negotiable and cannot be cashed.
Payslip- a slip of paper included with your pay that records how much money you have
earned and how much tax or insurance etc. has been taken out.
1.6.2 Technical Terms
Data- is a set of value of qualitative or quantitative variables; restated, dataare individual
pieces of information. Data in computing or data processing are represented in
a structure.Data consists of a series of facts or statements that may have been collected,
stored, processed and/or manipulated but have not been organized or placed into context.
When data is organized, it becomes information. Information can be processed and used
to draw generalized conclusions or knowledge.
4. 1.7 Methodology Used in Developing the Software Product
Data Gathering :
Conducting of 5 interview, involving of 30 personnel of the Barangay Hall, Dita to
understand the roles, the procedures, issues, opportunities, and challenges of payroll process.
VB orVisual Basic is a Programming tool that user to develop Windows or GUI(Graphical
User Interface) applications. It means that rather than writing numerous line for code to describe
the appearance and location for interface elements like C, C++, or Basic. User can simply drag
and drop pre-built objects into the form window on computer screen.
VB is a enhanced version of BASIC programming language(NASIC is Predecessor of VB)/
The main difference is that the VB can create windows programs by just Drag & Drop where as
BASIC could only create DOS programs or work only in CUI (Command User Interface)
1.8 User’s Manual
PublicClass dbSelect
Inherits System.Windows.Forms.Form
PublicShared StartUp As dbSelect
PrivateSub btnNSM_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnNSM.Click
Dim Login AsNew Login
5. CompDB = "NSM"
Login.Show()
Me.Hide()
EndSub
PrivateSub btnPPE_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPPE.Click
Dim Login AsNew Login
CompDB = "PPE"
Login.Show()
Me.Hide()
EndSub
PrivateSub btnSW_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSW.Click
Dim Login AsNew Login
CompDB = "S&W"
Login.Show()
Me.Hide()
EndSub
PrivateSub btnSDOM_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSDOM.Click
Dim Login AsNew Login
CompDB = "SDOM"
Login.Show()
Me.Hide()
EndSub
PrivateSub btnSSN_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSSN.Click
Dim Login AsNew Login
CompDB = "SSn"
Login.Show()
Me.Hide()
EndSub
PrivateSub btnExit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExit.Click
Application.Exit()
EndSub
PrivateSub dbSelect_Load(ByVal sender AsObject, ByVal e As System.EventArgs)
HandlesMyBase.Load
dbSelect.StartUp = Me
EndSub
PrivateSub Panel1_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint
EndSub
PrivateSub Panel3_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel3.Paint
EndSub
EndClass
6. PublicClass Menu
Inherits System.Windows.Forms.Form
PrivateSub Menu_Load(ByVal sender AsObject, ByVal e As System.EventArgs)
HandlesMyBase.Load
SelectCase CompDB
Case"NSM"
Label2.Text = "Admin"
Case"PPE"
Label2.Text = "Lupon"
Case"S&W"
Label2.Text = "Barangay Health Worker"
Case"SDOM"
Label2.Text = "Barangay Tanod"
Case"SSN"
Label2.Text = "Security Aide"
EndSelect
EndSub
PrivateSub btnQuit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnQuit.Click
Me.Close()
EndSub
PrivateSub btnCompProfile_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnCompProfile.Click
Dim Company AsNew Company
Company.Show()
EndSub
PrivateSub btnEmployees_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnEmployees.Click
Dim Employees AsNew Employees
Employees.Show()
EndSub
PrivateSub btnPayroll_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPayroll.Click
Dim Payroll AsNew Payroll
Payroll.Show()
EndSub
PrivateSub btnReports_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnReports.Click
Dim ReportDialog AsNew ReportDialog
7. ReportDialog.Show()
EndSub
PrivateSub btnSecurity_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSecurity.Click
Dim Password AsNew Password
Password.Show()
EndSub
PrivateSub btnAbout_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnAbout.Click
Dim About AsNew About
About.ShowDialog()
EndSub
PrivateSub Menu_Closed(ByVal sender AsObject, ByVal e As System.EventArgs)
HandlesMyBase.Closed
dbSelect.StartUp.Show()
EndSub
PrivateSub Panel1_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint
EndSub
PrivateSub Label5_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label5.Click
EndSub
EndClass
8. PublicClass Company
Inherits System.Windows.Forms.Form
ProtectedOverridesFunction ProcessCmdKey(ByRef msg As
System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys)
AsBoolean
SelectCase msg.WParam.ToInt32()
Case 13 ' enter Key
IfTypeOfMe.ActiveControl Is TextBox Then
SendKeys.Send("{Tab}")
ReturnTrue
EndIf
EndSelect
ReturnMyBase.ProcessCmdKey(msg, keyData)
EndFunction'ProcessCmdKey
PrivateSub btnExit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExit.Click
Me.Close()
EndSub
PrivateSub Company_Load(ByVal sender AsObject, ByVal e As System.EventArgs)
HandlesMyBase.Load
cnPayroll.ConnectionString = cnSettings()
daCompany.Fill(DsPayroll)
Me.BindingContext(DsPayroll, "Company").Position = 0
EndSub
PrivateSub btnSave_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSave.Click
Me.BindingContext(DsPayroll, "Company").EndCurrentEdit()
daCompany.Update(DsPayroll)
EndSub
EndClass
10. Dim oldcbDivision AsString
ProtectedOverridesFunction ProcessCmdKey(ByRef msg As
System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys)
AsBoolean
SelectCase msg.WParam.ToInt32()
Case 13 ' enter Key
IfTypeOfMe.ActiveControl Is TextBox OrTypeOfMe.ActiveControl Is ComboBox Then
SendKeys.Send("{Tab}")
ReturnTrue
EndIf
EndSelect
ReturnMyBase.ProcessCmdKey(msg, keyData)
EndFunction'ProcessCmdKey
PrivateSub btnExit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExit.Click
Me.Close()
EndSub
PrivateSub Employees_Load(ByVal sender AsObject, ByVal e As System.EventArgs)
HandlesMyBase.Load
cnPayroll.ConnectionString = cnSettings()
daEmployees.Fill(DsPayroll)
daDivision.Fill(DsPayroll)
With cbStatus
.Items.Add("ACTIVE")
.Items.Add("RESIGNED")
.Items.Add("RETIRED")
EndWith
With cbDivision
.DataSource = DsPayroll
.DisplayMember = "Division.Division"
.ValueMember = "Division.DivisionID"
.DataBindings.Add("Tag", DsPayroll.Tables("Employees"),
"Division")
.DataBindings.Add(New Binding("SelectedValue", _
DsPayroll, "Employees.Division"))
EndWith
With cbPayMethod
.Items.Add("MONTHLY")
.Items.Add("DAILY")
EndWith
BindEmpList()
Me.BindingContext(DsPayroll, "Employees").Position = 0
AddHandlerMe.BindingContext(DsPayroll, "Employees").PositionChanged, _
AddressOf Employee_PositionChanged
DisplayNav(sender, e)
EndSub
Sub BindEmpList()
With grdEmpList
.CaptionText = "Employees"
.DataMember = "Employees"
.DataSource = DsPayroll
EndWith
' You must clear out the TableStyles collection before
grdEmpList.TableStyles.Clear()
Dim grdTableStyle1 AsNew DataGridTableStyle
11. With grdTableStyle1
.MappingName = "Employees"
EndWith
Dim grdColStyle1 AsNew DataGridTextBoxColumn
With grdColStyle1
.MappingName = "AssignCode"
.HeaderText = "Assign Code"
.Width = 140
EndWith
Dim grdColStyle2 AsNew DataGridTextBoxColumn
With grdColStyle2
.MappingName = "LastName"
.HeaderText = "Last Name"
.Width = 140
EndWith
Dim grdColStyle3 AsNew DataGridTextBoxColumn
With grdColStyle3
.MappingName = "FirstName"
.HeaderText = "First Name"
.Width = 140
EndWith
Dim grdColStyle4 AsNew DataGridTextBoxColumn
With grdColStyle4
.MappingName = "MiddleName"
.HeaderText = "M.I."
.Width = 75
EndWith
Dim grdColStyle5 AsNew DataGridTextBoxColumn
With grdColStyle5
.MappingName = "Section"
.HeaderText = "Section"
.Width = 75
EndWith
Dim grdColStyle6 AsNew DataGridTextBoxColumn
With grdColStyle6
.MappingName = "DateHired"
.HeaderText = "Date Hired"
.Width = 75
EndWith
Dim grdColStyle7 AsNew DataGridTextBoxColumn
With grdColStyle7
.MappingName = "Phone"
.HeaderText = "Phone"
.Width = 75
EndWith
Dim grdColStyle8 AsNew DataGridTextBoxColumn
With grdColStyle8
.MappingName = "Status"
.HeaderText = "Status"
.Width = 75
EndWith
grdTableStyle1.GridColumnStyles.AddRange _
(New DataGridColumnStyle() {grdColStyle1, grdColStyle2, _
grdColStyle3, grdColStyle4, grdColStyle5, _
grdColStyle6, grdColStyle7, grdColStyle8})
grdEmpList.TableStyles.Add(grdTableStyle1)
12. EndSub
PrivateSub DisplayNav(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnFirst.Click, btnPrev.Click, btnNext.Click,
btnLast.Click, btnDelete.Click
'Update record position when Update & Delete events
lblNavLocation.Text = Me.BindingContext(DsPayroll,
"Employees").Position + 1 &" of "&Me.BindingContext(DsPayroll,
"Employees").Count
EndSub
PrivateSub btnNext_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnNext.Click
Save_Record()
Me.BindingContext(DsPayroll, "Employees").Position += 1
EndSub
PrivateSub btnPrev_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPrev.Click
Save_Record()
Me.BindingContext(DsPayroll, "Employees").Position -= 1
EndSub
PrivateSub btnLast_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnLast.Click
Save_Record()
Me.BindingContext(DsPayroll, "Employees").Position =
Me.BindingContext(DsPayroll, "Employees").Count - 1
EndSub
PrivateSub btnFirst_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnFirst.Click
Save_Record()
Me.BindingContext(DsPayroll, "Employees").Position = 0
EndSub
PrivateSub btnAdd_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnAdd.Click
If btnAdd.Text = "&Add"Then
Me.BindingContext(DsPayroll, "Employees").AddNew()
Else
Me.BindingContext(DsPayroll, "Employees").CancelCurrentEdit()
Change_Button(True)
btnAdd.Text = "&Add"
DisplayNav(sender, e)
EndIf
EndSub
PrivateSub btnSave_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSave.Click
Try
If btnAdd.Text = "&Revert"Then
If txtCode.Text = ""Then
MessageBox.Show("Please don't leave assign code field
blank.", "Error", MessageBoxButtons.OK)
ExitSub
EndIf
EndIf
Save_Record()
Change_Button(True)
btnAdd.Text = "&Add"
DisplayNav(sender, e)
13. Catch ex As Exception
MsgBox(ex.Message)
EndTry
EndSub
PrivateSub btnDelete_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnDelete.Click
Try
If MsgBox("Are you sure you want to delete this record?", MsgBoxStyle.YesNo)
= MsgBoxResult.No ThenExitSub
Me.BindingContext(DsPayroll,
"Employees").RemoveAt(Me.BindingContext(DsPayroll, "Employees").Position)
Save_Record()
DisplayNav(sender, e)
Catch ex As Exception
MsgBox(ex.Message)
EndTry
EndSub
PrivateSub Save_Record()
Try
Me.BindingContext(DsPayroll, "Employees").EndCurrentEdit()
daEmployees.Update(DsPayroll)
Catch ex As Exception
MsgBox(ex.Message)
EndTry
EndSub
PrivateSub Change_Button(ByVal bval AsBoolean)
btnFirst.Enabled = bval
btnPrev.Enabled = bval
btnNext.Enabled = bval
btnLast.Enabled = bval
btnDelete.Enabled = bval
btnExit.Enabled = bval
EndSub
PrivateSub txtDailyRate_LostFocus(ByVal sender AsObject, ByVal e As
System.EventArgs) Handles txtDailyRate.LostFocus
If IsValidTextbox(txtDailyRate) = FalseThenExitSub
EndSub
PrivateSub txtAllowance_LostFocus(ByVal sender AsObject, ByVal e As
System.EventArgs) Handles txtAllowance.LostFocus
If IsValidTextbox(txtAllowance) = FalseThenExitSub
EndSub
PrivateSub txtIncentives_LostFocus(ByVal sender AsObject, ByVal e As
System.EventArgs) Handles txtIncentives.LostFocus
If IsValidTextbox(txtIncentives) = FalseThenExitSub
EndSub
PrivateSub cbDivision_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles cbDivision.SelectedIndexChanged
oldcbDivision = cbDivision.Text
EndSub
PrivateSub cbDivision_SelectionChangeCommitted(ByVal sender AsObject, ByVal e
As System.EventArgs) Handles cbDivision.SelectionChangeCommitted
14. If cbDivision.Text = "Add Division"Then
Dim Division AsNew Division
cbDivision.Text = oldcbDivision
Division.ShowDialog()
daDivision.Fill(DsPayroll)
EndIf
EndSub
PrivateSub Employee_PositionChanged(ByVal sender AsObject, ByVal e As
System.EventArgs)
DisplayNav(sender, e)
EndSub
PrivateSub Label8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label8.Click
EndSub
PrivateSub lblNavLocation_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles lblNavLocation.Click
EndSub
PrivateSub Panel2_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel2.Paint
EndSub
PrivateSub Panel3_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel3.Paint
EndSub
PrivateSub TabData_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TabData.Click
EndSub
PrivateSub GroupBox2_Enter(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles GroupBox2.Enter
EndSub
EndClass
15. OptionExplicitOn
Imports System.Data.OleDb
PublicClass Payroll
Inherits System.Windows.Forms.Form
Dim ACCESS_CONNECTION_STRING AsString = cnSettings()
Dim strSelectedAssignCode AsString
Dim dblAllowance AsDouble
Dim dblIncentives AsDouble
Dim intIndex AsInteger
ProtectedOverridesFunction ProcessCmdKey(ByRef msg As
System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys)
AsBoolean
SelectCase msg.WParam.ToInt32()
Case 13 ' enter Key
IfTypeOfMe.ActiveControl Is TextBox Then
SendKeys.Send("{Tab}")
ReturnTrue
EndIf
EndSelect
ReturnMyBase.ProcessCmdKey(msg, keyData)
EndFunction'ProcessCmdKey
PrivateSub Payroll_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) HandlesMyBase.Load
PopulateNameList()
EndSub
PrivateSub PopulateNameList()
Dim Connection AsNew OleDbConnection(ACCESS_CONNECTION_STRING)
lvName.Items.Clear()
lvName.Sorting = SortOrder.Ascending
Dim cmdfill AsNew OleDbCommand("SELECT AssignCode, LastName & ', ' &
FirstName & ' ' & MiddleName as Name FROM Employees", Connection)
Try
Connection.Open()
16. Dim datareader As OleDbDataReader
datareader = cmdfill.ExecuteReader
While datareader.Read
Dim lvi AsNew ListViewItem
lvi.Text = CStr(datareader("AssignCode"))
lvi.SubItems.Add(CStr(datareader("Name")))
lvName.Items.Add(lvi)
EndWhile
If datareader.HasRows Then
lvName.TopItem.Selected = True
lvName.TopItem.Focused = True
lvName.TopItem.EnsureVisible()
lvName.Select()
'lvName.Items(0).Selected = True
'strSelectedAssignCode = lvName.Items(0).SubItems(0).Text
lvName_SelectedIndexChanged(Nothing, Nothing)
EndIf
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
Finally
Connection.Close()
EndTry
EndSub
PrivateSub lvName_SelectedIndexChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles lvName.SelectedIndexChanged
Dim cnOleDb As OleDbConnection
Dim cmSQL As OleDbCommand
Dim drSQL As OleDbDataReader
Dim strSQL AsString
'Dim strID As String
Dim ThisItem As ListViewItem
If IsNothing(lvName.FocusedItem) ThenExitSub
ForEach ThisItem In lvName.SelectedItems
strSelectedAssignCode =
lvName.Items(ThisItem.Index).SubItems(0).Text
Next
'strSelectedAssignCode = lvName.FocusedItem.Text
Try
strSQL = "SELECT AssignCode, "& _
"DailyRate, "& _
"Allowance, "& _
"Incentives "& _
"FROM Employees "& _
"WHERE AssignCode = '"& strSelectedAssignCode &"'"
cnOleDb = New OleDbConnection(ACCESS_CONNECTION_STRING)
cnOleDb.Open()
cmSQL = New OleDbCommand(strSQL, cnOleDb)
drSQL = cmSQL.ExecuteReader()
drSQL.Read()
txtDailyRate.Text =
Format(Convert.ToDouble(drSQL.Item("DailyRate").ToString()), "0.00")
dblAllowance =
Format(Convert.ToDouble(drSQL.Item("Allowance").ToString()), "0.00")
txtAllowance.Text = dblAllowance
dblIncentives =
Format(Convert.ToDouble(drSQL.Item("Incentives").ToString()), "0.00")
txtIncentives.Text = dblIncentives
17. ' Close and Clean up objects
drSQL.Close()
cnOleDb.Close()
cmSQL.Dispose()
cnOleDb.Dispose()
GetPayslip()
txtTotal.Text = Format(txtWorkDays.Text * txtDailyRate.Text,
"0.00")
Calc_Gross()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "General Error")
EndTry
EndSub
PrivateSub GetPayslip()
Dim cnOleDb As OleDbConnection
Dim cmSQL As OleDbCommand
Dim drSQL As OleDbDataReader
Dim strSQL AsString
'Dim strID As String
If IsNothing(lvName.FocusedItem) ThenExitSub
'strSelectedAssignCode = lvName.FocusedItem.Text
Try
strSQL = "SELECT * "& _
"FROM Payroll "& _
"WHERE AssignCode = '"& strSelectedAssignCode &"' And FromPay = #"&
dtpFromPay.Text &"# And ToPay = #"& dtpToPay.Text &"#"
cnOleDb = New OleDbConnection(ACCESS_CONNECTION_STRING)
cnOleDb.Open()
cmSQL = New OleDbCommand(strSQL, cnOleDb)
drSQL = cmSQL.ExecuteReader()
If drSQL.HasRows Then
drSQL.Read()
txtWorkDays.Text = drSQL.Item("NoWorkDays").ToString()
txtWorkDays.Text = Format(CDbl(txtWorkDays.Text), "0.0000")
txtRegOT.Text = Format(CDbl(drSQL.Item("RegOT").ToString()),
"0.0000")
txtSunOT.Text = Format(CDbl(drSQL.Item("SunOT").ToString()),
"0.0000")
txtHolPay.Text =
Format(Convert.ToDouble(drSQL.Item("HolOT").ToString()), "0.00")
txtAdd1.Text =
Format(Convert.ToDouble(drSQL.Item("Add1").ToString()), "0.00")
txtAdd2.Text =
Format(Convert.ToDouble(drSQL.Item("Add2").ToString()), "0.00")
txtAdd3.Text =
Format(Convert.ToDouble(drSQL.Item("Add3").ToString()), "0.00")
txtAddDesc1.Text = drSQL.Item("AddDesc1").ToString()
txtAddDesc2.Text = drSQL.Item("AddDesc2").ToString()
txtAddDesc3.Text = drSQL.Item("AddDesc3").ToString()
txtSSS.Text =
Format(Convert.ToDouble(drSQL.Item("SSS_MCR").ToString()), "0.00")
txtTax.Text =
Format(Convert.ToDouble(drSQL.Item("WTax").ToString()), "0.00")
18. txtSSSLoan.Text =
Format(Convert.ToDouble(drSQL.Item("SSS_Loans").ToString()), "0.00")
txtLates.Text =
Format(Convert.ToDouble(drSQL.Item("Lates").ToString()), "0.00")
txtDed1.Text =
Format(Convert.ToDouble(drSQL.Item("Ded1").ToString()), "0.00")
txtDed2.Text =
Format(Convert.ToDouble(drSQL.Item("Ded2").ToString()), "0.00")
txtDed3.Text =
Format(Convert.ToDouble(drSQL.Item("Ded3").ToString()), "0.00")
txtDedDesc1.Text = drSQL.Item("DedDesc1").ToString()
txtDedDesc2.Text = drSQL.Item("DedDesc2").ToString()
txtDedDesc3.Text = drSQL.Item("DedDesc3").ToString()
' Close and Clean up objects
drSQL.Close()
cnOleDb.Close()
cmSQL.Dispose()
cnOleDb.Dispose()
EndIf
txtRegOTTotal.Text = Format(((txtDailyRate.Text / 8) * 1.25) *
txtRegOT.Text, "0.00")
txtSunOTTotal.Text = Format(((txtDailyRate.Text / 8) * 1.3) *
txtSunOT.Text, "0.00")
txtHolPayTotal.Text = Format(txtDailyRate.Text * txtHolPay.Text,
"0.00")
txtIncentives.Text = Format(txtIncentives.Text *
txtWorkDays.Text, "0.00")
txtAllowance.Text = Format(txtAllowance.Text * txtWorkDays.Text,
"0.00")
Calc_Gross()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "General Error")
EndTry
EndSub
PrivateSub btnExit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExit.Click
Me.Close()
EndSub
PrivateSub btnSave_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSave.Click
If strSelectedAssignCode = ""Then
MsgBox("Please select employee", MsgBoxStyle.OKOnly)
ExitSub
EndIf
If txtWorkDays.Text > 0 Then
Dim ReturnValue AsString = isRecordExist()
If ReturnValue = "Exist"Then
If MsgBox("Payslip already exist for this employee."& vbCrLf & vbCrLf &"Do
you want to overight existing record?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes
Then
UpdatePaySlip()
EndIf
SelectIndex()
lvName_SelectedIndexChanged(sender, e)
ElseIf ReturnValue <>"Error"Then
AddPaySlip()
SelectIndex()
22. txtNetIncome.Text = Convert.ToDouble(IIf(txtGross.Text = "",
"0.00", txtGross.Text) - IIf(txtTotalDed.Text = "", "0.00",
txtTotalDed.Text))
txtNetIncome.Text = Format(CDbl(txtNetIncome.Text), "0.00")
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "General Error")
EndTry
EndSub
PrivateSub txtWorkDays_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtWorkDays.LostFocus
If IsNumeric(txtWorkDays.Text) = FalseThen
MsgBox("Please enter correct information", MsgBoxStyle.OKOnly)
txtWorkDays.Focus()
txtWorkDays.SelectAll()
ExitSub
EndIf
txtWorkDays.Text = Format(CDbl(txtWorkDays.Text), "0.0000")
txtAllowance.Text = Format(dblAllowance * txtWorkDays.Text, "0.00")
txtIncentives.Text = Format(dblIncentives * txtWorkDays.Text, "0.00")
txtTotal.Text = Format(txtWorkDays.Text * txtDailyRate.Text, "0.00")
Calc_Gross()
EndSub
PrivateSub txtRegOT_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtRegOT.LostFocus
If IsNumeric(txtRegOT.Text) = FalseThen
MsgBox("Please enter correct information", MsgBoxStyle.OKOnly)
txtRegOT.Focus()
txtRegOT.SelectAll()
ExitSub
EndIf
txtRegOT.Text = Format(CDbl(txtRegOT.Text), "0.0000")
txtRegOTTotal.Text = Format(((txtDailyRate.Text / 8) * 1.25) *
txtRegOT.Text, "0.00")
Calc_Gross()
EndSub
PrivateSub txtSunOT_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtSunOT.LostFocus
If IsNumeric(txtSunOT.Text) = FalseThen
MsgBox("Please enter correct information", MsgBoxStyle.OKOnly)
txtSunOT.Focus()
txtSunOT.SelectAll()
ExitSub
EndIf
txtSunOT.Text = Format(CDbl(txtSunOT.Text), "0.0000")
txtSunOTTotal.Text = Format(((txtDailyRate.Text / 8) * 1.3) *
txtSunOT.Text, "0.00")
Calc_Gross()
EndSub
PrivateSub txtHolPay_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtHolPay.LostFocus
If IsNumeric(txtHolPay.Text) = FalseThen
MsgBox("Please enter correct information", MsgBoxStyle.OKOnly)
txtHolPay.Focus()
txtHolPay.SelectAll()
ExitSub
EndIf
If IsValidTextbox(txtHolPay) = FalseThenExitSub
23. txtHolPayTotal.Text = Format(txtDailyRate.Text * txtHolPay.Text,
"0.00")
Calc_Gross()
EndSub
rivateSub txtAllowance_LostFocus(ByVal sender AsObject, ByVal e As
System.EventArgs) Handles txtAllowance.LostFocus
If IsValidTextbox(txtAllowance) = FalseThenExitSub
Calc_Gross()
EndSub
PrivateSub txtIncentives_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtIncentives.LostFocus
If IsValidTextbox(txtIncentives) = FalseThenExitSub
Calc_Gross()
EndSub
PrivateSub txtAdd1_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtAdd1.LostFocus
If IsValidTextbox(txtAdd1) = FalseThenExitSub
Calc_Gross()
EndSub
PrivateSub txtAdd2_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtAdd2.LostFocus
If IsValidTextbox(txtAdd2) = FalseThenExitSub
Calc_Gross()
EndSub
PrivateSub txtAdd3_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtAdd3.LostFocus
If IsValidTextbox(txtAdd3) = FalseThenExitSub
Calc_Gross()
EndSub
PrivateSub txtSSS_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtSSS.LostFocus
If IsValidTextbox(txtSSS) = FalseThenExitSub
Calc_Deductions()
EndSub
PrivateSub txtTax_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtTax.LostFocus
If IsValidTextbox(txtTax) = FalseThenExitSub
Calc_Deductions()
EndSub
PrivateSub txtSSSLoan_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtSSSLoan.LostFocus
If IsValidTextbox(txtSSSLoan) = FalseThenExitSub
Calc_Deductions()
EndSub
PrivateSub txtLates_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtLates.LostFocus
If IsValidTextbox(txtLates) = FalseThenExitSub
Calc_Deductions()
EndSub
PrivateSub txtDed1_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtDed1.LostFocus
If IsValidTextbox(txtDed1) = FalseThenExitSub
Calc_Deductions()
EndSub
PrivateSub txtDed2_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtDed2.LostFocus
If IsValidTextbox(txtDed2) = FalseThenExitSub
24. Calc_Deductions()
EndSub
PrivateSub txtDed3_LostFocus(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtDed3.LostFocus
If IsValidTextbox(txtDed3) = FalseThenExitSub
Calc_Deductions()
EndSub
PrivateSub SelectIndex()
Dim ThisItem As ListViewItem
Dim intNumRows AsInteger
Try
ForEach ThisItem In lvName.SelectedItems
intNumRows = lvName.Items.Count
If ThisItem.Index + 1 <> intNumRows Then
lvName.Items(ThisItem.Index + 1).Selected = True
strSelectedAssignCode = lvName.Items(ThisItem.Index +
1).SubItems(0).Text
EndIf
Next
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OKOnly)
EndTry
EndSub
PrivateSub dtpFromPay_ValueChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles dtpFromPay.ValueChanged
lvName_SelectedIndexChanged(sender, e)
EndSub
PrivateSub dtpToPay_ValueChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles dtpToPay.ValueChanged
lvName_SelectedIndexChanged(sender, e)
EndSub
PrivateSub Label22_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label22.Click
EndSub
PrivateSub GroupBox2_Enter(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles GroupBox2.Enter
EndSub
PrivateSub GroupBox4_Enter(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles GroupBox4.Enter
EndSub
PrivateSub Label8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label8.Click
EndSub
PrivateSub Label7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label7.Click
EndSub
PrivateSub Panel2_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel2.Paint
EndSub
PrivateSub Label21_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label21.Click
EndSub
PrivateSub txtDailyRate_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtDailyRate.TextChanged
EndSub
EndClass
25. PublicClass ReportDialog
Inherits System.Windows.Forms.Form
PrivateSub btnCancel_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnCancel.Click
Me.Close()
EndSub
PrivateSub btnPreview_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPreview.Click
Dim frmReport As Reports
If optVoucher.Checked = TrueThen
frmReport = New Reports(Me, "Voucher.rpt")
frmReport.Show()
ElseIf optPayrollSum.Checked = TrueThen
frmReport = New Reports(Me, "PayrollSum.rpt")
frmReport.Show()
Else
Dim frmListofEmpReport As ListofEmpReport
frmListofEmpReport = New ListofEmpReport(Me, "EmployeesList.rpt")
frmListofEmpReport.Show()
EndIf
EndSub
PrivateSub optVoucher_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles optVoucher.CheckedChanged
If optVoucher.Checked = TrueThen
GroupBox1.Enabled = True
EndIf
EndSub
PrivateSub optPayrollSum_CheckedChanged(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles optPayrollSum.CheckedChanged
If optPayrollSum.Checked = TrueThen
GroupBox1.Enabled = True
EndIf
EndSub
PrivateSub optListofEmp_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles optListofEmp.CheckedChanged
If optListofEmp.Checked = TrueThen
GroupBox1.Enabled = False
EndIf
EndSub
PrivateSub Panel1_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint
EndSub
PrivateSub Panel2_Paint(ByVal sender As System.Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles Panel2.Paint
EndSub
27. Imports System.Data.OleDb
PublicClass Password
Inherits System.Windows.Forms.Form
Dim ACCESS_CONNECTION_STRING AsString = cnSettings()
Dim strSelectedAssignCode AsString
Dim strOldPassword AsString
ProtectedOverridesFunction ProcessCmdKey(ByRef msg As
System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys)
AsBoolean
SelectCase msg.WParam.ToInt32()
Case 13 ' enter Key
IfTypeOfMe.ActiveControl Is TextBox Then
SendKeys.Send("{Tab}")
ReturnTrue
EndIf
EndSelect
ReturnMyBase.ProcessCmdKey(msg, keyData)
EndFunction'ProcessCmdKey
PrivateSub Password_Load(ByVal sender AsObject, ByVal e As System.EventArgs)
HandlesMyBase.Load
PopulateUser()
EndSub
PrivateSub PopulateUser()
Dim Connection AsNew OleDbConnection(ACCESS_CONNECTION_STRING)
28. lvUserName.Items.Clear()
lvUserName.Sorting = SortOrder.Ascending
Dim cmdfill AsNew OleDbCommand("SELECT UserName, [Password] FROM [Password]",
Connection)
Try
Connection.Open()
Dim datareader As OleDbDataReader
datareader = cmdfill.ExecuteReader
While datareader.Read
Dim lvi AsNew ListViewItem
lvi.Text = CStr(datareader("UserName"))
lvUserName.Items.Add(lvi)
EndWhile
If datareader.HasRows Then
lvUserName.TopItem.Selected = True
lvUserName.TopItem.Focused = True
lvUserName.TopItem.EnsureVisible()
lvUserName.Select()
EndIf
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
Finally
Connection.Close()
EndTry
EndSub
PrivateSub RetrieveUser()
Dim Connection AsNew OleDbConnection(ACCESS_CONNECTION_STRING)
Dim cmdfill AsNew OleDbCommand("SELECT UserName, [Password] FROM [Password]
Where UserName = '"& strSelectedAssignCode &"'", Connection)
Try
Connection.Open()
Dim datareader As OleDbDataReader
datareader = cmdfill.ExecuteReader
datareader.Read()
txtUserName2.Text = CStr(datareader("UserName"))
strOldPassword = CStr(datareader("Password"))
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
Finally
Connection.Close()
EndTry
EndSub
PrivateSub AddUser()
Try
'Dim dbCommand As OleDbCommand
Dim DBConn As OleDbConnection
Dim DBInsert AsNew OleDbCommand
DBConn = New OleDbConnection(ACCESS_CONNECTION_STRING)
DBInsert.CommandText = "INSERT INTO [Password] VALUES (" _
&"'"& txtUserName1.Text &"', " _
&"'"& txtPassword1.Text &"')"
Dim lvi AsNew ListViewItem
lvi.Text = txtUserName1.Text
lvUserName.Items.Add(lvi)
clearTxtBox()
DBInsert.Connection = DBConn
DBInsert.Connection.Open()
29. DBInsert.ExecuteNonQuery()
DBConn.Close()
DBConn.Dispose()
Catch ex As System.Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "General Error")
EndTry
EndSub
PrivateSub UpdateUser()
Try
'Dim dbCommand As OleDbCommand
Dim DBConn As OleDbConnection
Dim DBUpdate AsNew OleDbCommand
DBConn = New OleDbConnection(ACCESS_CONNECTION_STRING)
DBUpdate.CommandText = "UPDATE [Password] SET "& _
"[Password] = '"& txtPassword2.Text &"' "& _
"WHERE UserName = '"& txtUserName2.Text &"'"
clearTxtBox()
DBUpdate.Connection = DBConn
DBUpdate.Connection.Open()
DBUpdate.ExecuteNonQuery()
DBConn.Close()
DBConn.Dispose()
Catch ex As System.Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "General Error")
EndTry
EndSub
PrivateSub DeleteUser()
Try
Dim DBConn As OleDbConnection
Dim dbCommand AsNew OleDbCommand
'Dim strPath As String
DBConn = New OleDbConnection(cnSettings())
dbCommand.CommandText = "DELETE FROM [Password] " _
&"WHERE UserName = '"& strSelectedAssignCode &"'"
dbCommand.Connection = DBConn
dbCommand.Connection.Open()
dbCommand.ExecuteNonQuery()
lvUserName.Items.Remove(lvUserName.FocusedItem)
DBConn.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
EndTry
EndSub
PrivateSub clearTxtBox()
txtUserName1.Text = ""
txtUserName2.Text = ""
txtPassword1.Text = ""
txtPassword2.Text = ""
txtConfirmPassword1.Text = ""
txtConfirmPassword2.Text = ""
txtOldPassword.Text = ""
EndSub
PrivateSub lvUserName_MouseDown(ByVal sender AsObject, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles lvUserName.MouseDown
Try
If IsNothing(lvUserName.FocusedItem) ThenExitSub
strSelectedAssignCode = lvUserName.FocusedItem.Text
30. If e.Button = MouseButtons.Right Then
If lvUserName.SelectedItems.Count > 0 Then
ContextMenu1.Show(lvUserName, New Point(e.X, e.Y))
EndIf
EndIf
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OKOnly)
EndTry
EndSub
PrivateSub lvUserName_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles lvUserName.SelectedIndexChanged
Try
'If IsNothing(lvUserName.FocusedItem) Then Exit Sub
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OKOnly)
EndTry
EndSub
PrivateSub btnExit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExit.Click
Me.Close()
EndSub
PrivateSub MenuItem2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
grpEdit.Hide()
grpAdd.Show()
EndSub
PrivateSub mnuAdd_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuAdd.Click
grpAdd.Visible = True
grpEdit.Visible = False
btnUpdate.Text = "&Save"
EndSub
PrivateSub mnuEdit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuEdit.Click
grpEdit.Visible = True
grpAdd.Visible = False
btnUpdate.Text = "&Update"
RetrieveUser()
EndSub
PrivateSub btnUpdate_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnUpdate.Click
If btnUpdate.Text = "&Save"Then
If txtPassword1.Text <> txtConfirmPassword1.Text Then
MsgBox("Password does not match.", MsgBoxStyle.OKOnly)
ExitSub
EndIf
AddUser()
Else
If txtOldPassword.Text <> strOldPassword Then
MsgBox("Please enter the correct password in the Old Password
field.", MsgBoxStyle.OKOnly)
ExitSub
EndIf
If txtPassword2.Text <> txtConfirmPassword2.Text Then
MsgBox("Password does not match.", MsgBoxStyle.OKOnly)
ExitSub
EndIf
31. UpdateUser()
EndIf
EndSub
PrivateSub mnuDelete_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuDelete.Click
If strSelectedAssignCode = "Admin"Then
MsgBox("Sorry you can't delete this account.",
MsgBoxStyle.OKOnly)
ExitSub
EndIf
If MsgBox("Are you sure you want to delete this user?", MsgBoxStyle.YesNo) =
MsgBoxResult.Yes Then _
DeleteUser()
EndSub
PrivateSub Label23_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label23.Click
EndSub
EndClass