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

Leave Encashment Bug: The total no. of leave encashable is calulated based on the date of encashment & not on the current balance. #1455

Open
1 task done
mujeerhashmi opened this issue Feb 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mujeerhashmi
Copy link
Contributor

mujeerhashmi commented Feb 21, 2024

Information about bug

If employee has an en-cashable leave balance of 80 days. He applies for 7 days of these leaves in the next month which gets approved. When this employee applies for leave encashment today it shows 80 as en-cashable leaves whereas the net leave balance should be 73.
Basically the future dated approved leaves are not being considered while calculating total en-cashable leaves in a leave period.

Module

HR

Version

erpnext 15.14.0
frappe 15.14.0
hrms 15.11.1

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mujeerhashmi mujeerhashmi added the bug Something isn't working label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant