Leaves in erpnext

Hello, I can’t do a leaves issue on erpnext. From the date an employee enters, I need to be able to enter 14 days of leave for each year up to 5 years. but i can’t enter automatically. How do I enter automatically? Is it possible to add and write new leaves with the remaining leaves according to the entered date each year?