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

Hi, I’m facing the same issue for custom comp off implementation. My idea was to create an allocation for 2 days(frappe doesn’t allow same day period) in the leave period by our custom code. We may have to do it for other leave types. Would like to hear your solution.

Thanks