Payroll Entry Get Employee Button feature

i hope if this feature does not found made it
if the employee have Salary Slip
did not give it when click button
because this will solve this message error
duplicate Entry
Salary Slip already exists for >>>|

So you’re saying that when someone clicks the “Get Employee” button in Payroll Entry, the system should show if the employee’s salary slip has already been created?

i mean do not insert them to the Employee Details table

it wont insert if salary slips are submitted

i want for draft too