How to stop/prevent any leave application for certain days

Introduction

Admins can disallow employees to apply for a leave on certain days without deactivating them as users of the Leave module.

This works especially in cases wherein the administrators need to update any leave information before the new year comes.

Steps

Step 1: Go to leave.png

Step 2: Click on configuration.pngand you will be brought to the company_settings.pngpage

Step 3: Scroll down and look for Employee_leave_policy.png

Step 4: Make sure not to put a tick on the Allow employee to apply different leave types on the same day.

15.png

Note: This feature disallows employees to apply for a leave on the same day at the same time.

Step 5: Look for this question and set it to the last option.

16.png

Step 6: Make sure to update the changes made by clicking on save.png

Step 7: Still under Configuration, look for the leave_typess.png tab at the top

Step 8: Create a new leave type. This will be used to disallow employees to apply for a leave. Please do not forget to save the settings for the leave type you have just created.

17.png

Step 9: Head over to admin.pngand you will be directed to the block_leave.png page

Step 10: Perform a block leave using the leave type created earlier and set the date to which you would like to prevent any leave application to be done by the users.

18.png

Step 11: Click on the submit_blue.pngbutton to execute the process and hit on "Confirm Action".

19.png

A confirmation message will then show after:

20.png

When an employee logs in and attempts to apply for leave within the dates that are blocked, he won’t be able to successfully submit it and will show the message as below:

21.png

Once all necessary updates in the system are done and the employees can start applying for leaves, the admin has to follow the steps below:

Step 1: Proceed to admin.png

Step 2: Choose leave_actions.png and you will be directed to the leave_cancellation.png page.

Step 3: Set the filters according to the leave type used and date range applied. Then click on "GO"

23.png

Step 4: It will show the list of users with leave applied. Choose all users by clicking on the top-most box and click on Cancel Leave.

22.png

Step 5: The admin can also go back to the Configuration page and put back the original settings.     

15.png

16.png

Once the blocked leave is canceled, employees can then apply for leave anytime without any error message.

 

Was this article helpful?
1 out of 1 found this helpful