GeneratePayslips now working

also automatically updates the count for clients and employees.