Error when validating the days of payment in entry to payroll

Hello, I am using the Human Resources module and in my case when creating the payroll I observe that it does not validate the attendance correctly.

Attendance from an employee
Month april
Present: 19 days
Absent: 5 days
Holidays and Sundays: 6

Salary Structure

image

Salary structure assignment
image

Before creating pay stubs

image

Payroll

As can be seen, even though the employee has 5 absences, he is not subtracting them from the pay days.

Version de ERP
image

Is there an option that you are ignoring or what solution could you give it?