Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restricting Multiple Leave Requests for the Same Day #476

Open
SathishPR18 opened this issue Jan 28, 2025 · 3 comments
Open

Restricting Multiple Leave Requests for the Same Day #476

SathishPR18 opened this issue Jan 28, 2025 · 3 comments

Comments

@SathishPR18
Copy link

Hi @horilla-opensource

While creating a leave request, it is only allowed to apply for the first half of the leave on a single date. If the employee tries to apply for a second leave on the same day, it is not accepted.

Example: An employee can apply for today's leave with the start breakdown as "First Half" and the end breakdown as "First Half." However, if the employee wants to apply for a second leave (e.g., the second half) on the same day, it will not be allowed.

Image

@horilla-opensource
Copy link
Owner

Hi @SathishPR18 ,

Thank you for bringing this issue to our attention! We appreciate your detailed report.

We will be updating the source code to resolve this limitation.

To resolve this case, we will implemented a feature where employees will have the option to cancel their first leave request. Once canceled, they will be able to request a full-day leave for the same day.

Thank you again for reporting this, and we’ll keep you updated on the progress of the fix!

Best regards,
Team Horilla

horilla-opensource added a commit that referenced this issue Feb 6, 2025
@SathishPR18
Copy link
Author

hi @horilla-opensource

I hope you're doing well. I wanted to follow up on my previous inquiry regarding the limitation on leave requests. As mentioned, employees are currently only allowed to apply for the first half of the leave on a single date, and any attempt to apply for a second leave on the same day is not accepted.

Could you please provide an update on the status of this request? Is there any progress on allowing employees to apply for both halves of the leave on the same day?

Thank you for your help!

@horilla-opensource
Copy link
Owner

Hi @SathishPR18 ,

We updated the code regards the limitation on leave request.

Please pull the latest code.

Best Regards,
Team Horilla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants