Fixed Carry Forward Days(Leave Application)

Hi!

I currently want to implement a scenario where the company can only offer a limited number of leave days that can be carried forward. For example setting a fixed number of the days carried forward would limit the days in which they’d carry forward their leave say if they took two leaves in one year. Kindly help.

Did you found solution for this?