Hello Sir,
This is because if you pass a blank salary structure or generate salary without locking attendance then the system considers that as a left employee if not found data for the employee.
I have checked and delete those blank entries from DB now and all employees showing in payroll now. (attached screenshot)
Please check the salary structure once for all employees.
Regards,
Amit Aher