How to book cash payment for salary or wages?

In Payroll entry the only option for book salary is made bank entry and add journal entry and then try to use it it’s don’t link to Payroll Entry so how to book cash salary expenses