Managing payroll for over 150 contract workers and internal staff is no easy task, especially when it’s done manually using Excel sheets. This was the daily reality for TSP Manpower, a staffing company based in Colombo, Sri Lanka. Errors, inefficiencies, and the sheer amount of time it took to calculate salaries were becoming a significant burden for their team.
To solve this, we worked with TSP Manpower to design and develop a custom payroll management system that revolutionizes how they handle payroll. This system allows their admin team to add employee details, set pay rates, and calculate salaries with precision based on work categories like normal workdays, overtime, holidays, and Sundays. With everything centralized and automated, they no longer have to rely on error-prone spreadsheets.
This web application is built using cutting-edge tools like Next.js, React, and MySQL, making it fast, reliable, and secure. The user-friendly interface ensures that admin staff can easily navigate dashboards to manage employees, pay rates, and payroll records. Plus, with built-in features to generate pay slips in PDF format, the system makes reporting and documentation a breeze.
Since implementing this system, TSP Manpower has experienced a noticeable improvement in efficiency and accuracy. What once took hours of manual effort is now handled in just a few clicks, giving the team more time to focus on growing their business and supporting their employees.
Before adopting the payroll management system, TSP Manpower faced a host of challenges due to their reliance on Excel sheets for calculating salaries. As a staffing company managing over 150 employees—comprising both contract workers and internal staff—the manual nature of their payroll process created significant inefficiencies, inaccuracies, and frustration for the management team. Let’s dive deeper into the problems they were encountering:
Every month, the admin staff at TSP Manpower had to manually enter work hours for each employee into an Excel sheet. They had to input different types of work data, such as:
This process was not only repetitive but also incredibly time-intensive. For a workforce exceeding 150 employees, even small mistakes in data entry required hours of rechecking and recalculation, further delaying payroll generation.
Since everything was done manually, errors were inevitable:
The company’s pay structure included various rates for different types of work:
With employee details scattered across different files and sheets, finding or updating information was cumbersome. For example:
This lack of centralization meant that the team was wasting precious time on non-productive tasks, leaving less room for strategic decision-making.
TSP Manpower struggled to generate payslips and payroll reports quickly. With their manual system:
As the business grew, this lack of robust reporting became a critical bottleneck.
The reliance on Excel sheets worked when the company had fewer employees, but as the workforce grew, the limitations of this system became increasingly apparent. The admins found themselves overwhelmed by the sheer volume of data they had to manage manually. Without automation, the system could not keep up with the company’s scaling needs.
Errors in salary calculations frequently led to underpayments, which naturally upset employees. Handling these complaints meant even more work for the admin team, who had to double-check calculations and address concerns one by one. This created unnecessary friction between employees and management.
Imagine the admin team preparing the payroll for the month. The process starts with gathering data from attendance logs, which is often incomplete or misaligned. They spend hours compiling the work hours of each employee into the Excel sheet.
Next, they manually calculate salaries by applying different pay rates for overtime, Sunday work, and holidays. At this stage, errors begin to creep in. A wrong formula in the Excel sheet causes the overtime pay for several employees to be miscalculated. The team doesn’t notice this until employees start pointing it out after receiving their salaries. Now, the team must revisit the entire payroll, locate the errors, and correct them—a process that could take days.
Meanwhile, some employees are frustrated with their payslips. Since the payslip format is generated manually, discrepancies in salary breakdowns add to the confusion. Employees flood the admin team with questions, further delaying the payroll cycle. This not only affects the admin team’s productivity but also erodes employee morale and trust.
On top of this, the company is growing, and with every new hire, the workload increases. The manual system becomes increasingly unsustainable, and the admin staff struggle to keep up with the demands of payroll processing.
These personas were used to guide the design and development of the payroll system, ensuring it met the unique needs of both end users.
To address the challenges faced by TSP Manpower, we followed a structured and agile approach to develop the TSP Payroll Management System. This ensured that the system was delivered efficiently while meeting all the client’s needs. Below, we’ll explain the process step-by-step through the Software Development Life Cycle (SDLC) stages, emphasizing the agile methodology and incremental sprints.
The project began with an in-depth discussion with TSP Manpower’s management team. We held several meetings to understand their existing workflow, pain points, and future aspirations for the payroll process. Key stakeholders, including the HR and payroll teams, provided valuable input on:
Additionally, we reviewed samples of their existing Excel sheets, payroll records, and payslips to ensure the system would align with their current process but eliminate inefficiencies.
Using the gathered requirements, we performed a detailed business analysis to:
The analysis revealed that the project could be broken into six main modules: Employee Management, Pay Rates Management, Payroll Management, Payslip Report Generation, EPF Report Generation, and Payment Reports.
We translated the requirements into a high-level system design. This included:
The system was designed to allow seamless CRUD operations (Create, Read, Update, Delete) for all modules while integrating with NextAuth for secure user authentication.
Sprint 1: Employee Management Module
Sprint 2: Pay Rates Module
Sprint 3: Payroll Management Module
Sprint 4: Payslip Report Module
Sprint 5: EPF Report Module
Sprint 6: Payment Reports Module
At the end of each sprint, we held a demo session with TSP Manpower to showcase the completed module and gather feedback for improvements.
Throughout the development process, we ensured rigorous testing at each stage:
The iterative feedback loop ensured that any issues were resolved promptly and that the final product met the client’s expectations.
We deployed the system to TSP Manpower’s server, ensuring it was secure and optimized for performance. We also provided training sessions for the admin staff to familiarize them with the system. A user manual was included to guide them through everyday tasks like managing payroll and generating reports.
After deployment, we are currently providing ongoing support on a monthly basis to address any issues and make minor adjustments based on real-world usage. We also ensured the system was scalable, allowing TSP Manpower to handle an increasing workforce without issues.
By following an agile, sprint-based approach, we were able to deliver a robust payroll system within three months. The client appreciated the incremental delivery, which allowed them to start using the system even before the entire project was completed. This system has transformed TSP Manpower’s payroll process, saving time, improving accuracy, and reducing administrative headaches.
The TSP Payroll Management System was built using a modern and robust technology stack to ensure scalability, performance, and ease of use. Here’s a brief description of the technologies used:
This combination of technologies allowed us to create a scalable, user-friendly, and secure payroll management system tailored to TSP Manpower’s needs.