Ty for ur help, sorry for my bad english
This might help you. https://erpnext.org/docs/user/manual/en/human-resources/payroll