Leave are not allocated during policy assignment

Hi,
I have created a leave policy with 12 sick leave and 12 paid leave and assigned it to an employee. 12 sick leave is allocated but 12 paid leave is not allocated in leave allocation.

What error coming there?

HI @NCP ,
The error has been resolved. The leaves were not allocated because earned leave was enabled.
Thank you