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

fix(Income Tax Computation): consideration of new employees without preexisting salary slips (backport #2197) #2206

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 18, 2024

While generating the Income Tax Computation report, if an employee does not have pre-existing salary slips, the system looks for salary structure assignments on or before the selected Payroll Period start date. But an employee might not have a salary structure assignment till from when they joined, which could be after the aforementioned Payroll Period start date. In such a case, the system throws an error.

This PR fixes this by looking for assignments on or before the date of joining for such employees.


This is an automatic backport of pull request #2197 done by Mergify.

…rexisting salary slips

(cherry picked from commit a98ba04)
@krantheman krantheman merged commit fa91264 into version-14-hotfix Sep 18, 2024
8 checks passed
@mergify mergify bot deleted the mergify/bp/version-14-hotfix/pr-2197 branch September 18, 2024 07:56
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.31.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants