How to implement casual leave type with few conditions

Hi, I want to implement casual leave type in our organization and below are the conditions. How can I implement this?

Note: Total Leaves should be prorated based on date of joining.

Leave Type Total Leaves Allocation per month (Date of Join) Allowed per month Max Carry forward Elapsed on
CL 12 1 2 CL Max 12 31-Dec-24

Your kind support will be appreciated.

Hello !
Did you get any solution for this ? I too am stuck with CL issue as it has different leave Period (Jan-Dec) than PL period (Apr-Mar). ERPNext won’t allow overlapping Leave Periods.

Thanks & Regards
Ratninder