How to Allocate 1 Monthly Earned Leave and Accumulate Until Year End

Hi,

I want to allocate 12 annual earned leaves. Monthly 1 earned leave and they get accumulated until year end.

How can I implement this?