Fix: Changed formula of Service Charge to update the new way of keeping accounts

Fix: Changed the limit of ESI in line with govt. regulations
This commit is contained in:
tanshu
2018-07-16 17:32:44 +05:30
parent 1c10eec4ca
commit f8162f364d
4 changed files with 5 additions and 5 deletions

View File

@ -150,7 +150,7 @@ export class EmployeeBenefitsComponent implements OnInit, AfterViewInit {
}
getEsi(grossSalary, daysWorked, daysInMonth) {
const limit = 15000,
const limit = 21000,
employeeRate = 0.0175,
employerRate = 0.0475,
employee = (grossSalary > limit) ? 0 : Math.ceil(employeeRate * grossSalary * daysWorked / daysInMonth),