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(Payroll Bank Entry): deduct loan repayments from employee-wise accounting entries (backport #2403) #2404

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 8, 2024

Problem

In continuation to #2347, #2283 & #2324

#2347 deducts total loan repayments from salary payable but doesn't handle loan repayment deduction when Process Payroll Accounting Entry based on Employee is enabled in Payroll Settings.
This leads to difference in total debit and credit amount in Bank Entry

Before

Net Pay = 50000 - 2000 (loan repayment)

image

Bank Entry failing

image

This is the bank entry its trying to create

image

After

image


This is an automatic backport of pull request #2403 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from ruchamahabal as a code owner November 8, 2024 15:27
@ruchamahabal ruchamahabal merged commit afdac17 into version-15-hotfix Nov 8, 2024
8 checks passed
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.35.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ruchamahabal ruchamahabal deleted the mergify/bp/version-15-hotfix/pr-2403 branch November 25, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants