Enable leave application even after salary has been processed erpnext

Hello there, Is there a way to allow leave application in a particular month even when the salary has already been processed.? check image below
leave

You know, for paid leaves this would be required.

But if you are trying to post a leave applications for Leave Type with Is Leave Without Pay option off, ERPNext skips this validation.

Edit: Is Leave Without Pay option off

Thanks for getting back to me @akurungadam , But for my case it is Leave Without Pay. see below image
leave3