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 #2403

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

ruchamahabal
Copy link
Member

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

@ruchamahabal ruchamahabal merged commit 039e446 into frappe:develop Nov 8, 2024
7 checks passed
ruchamahabal added a commit that referenced this pull request Nov 8, 2024
…2403

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

1 participant