The pro-rate leave function within the admin section calculates the accrued leave balance for employees by considering their first month of employment within a specified date range. Here is the guideline on how to set it up.
Navigate to admin menu > leaves, and go to pro rate tab


Enable the pro rate setup by selecting 'yes'

Enter the specific date range and its equivalent earned leave

Click the add button. You can add as many based on your company policy

Click the save button