Payroll calculation based on employee check-in

any one can explain step by step how salaries are calculated automatically based on the employee’s attendance check in&out , where through attendance employee check-in&out it is possible to calculate the monthly working hours, calculate the overtime hours and calculate the days of absence

@michelle