Calculate leave without pay

How to calculate leave without pay for employee?

Make sure that Is Leave Without Pay is checked for the leave type.

I did it, but when create salary slip not found leave without pay

Have you read in the manual?
https://erpnext.org/docs/user/manual/en/human-resources

it would be better to attach a picture of the error or explain step by step how u make salary slip.

Look!
erpnext don’t calculate leave without pay !!