-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Objective: Implement a full-scale payroll distribution system that calculates complex salary structures (Base, HRA, LTA, Perks) and handles statutory deductions.
Juggling Strategy: This will tap into the existing
ComplianceEngine
(from #573) to calculate professional taxes and TDS on salaries.
Key Files (9+):
models/SalaryStructure.js (New - Flexible component-based pay)
models/PayrollRun.js (New - Batch processing records)
models/EmployeePerk.js (New - Managing non-cash benefits)
services/payrollService.js (New - Massive batch disbursement engine)
services/deductionEngine.js (New - Tax-compute logic for different salary brackets)
routes/payroll.js (New - Admin endpoints for payroll approval)
public/payroll-management.html (New - Detailed employee pay-head UI)
public/js/payroll-controller.js (New - Multi-stage payroll workflow logic)
server.js
(Modified - Large block for salary-related cron initializations)