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: close employee loan on write off #110

Merged
merged 5 commits into from
Oct 24, 2023
Merged

fix: close employee loan on write off #110

merged 5 commits into from
Oct 24, 2023

Conversation

anandbaburajan
Copy link
Contributor

@anandbaburajan anandbaburajan commented Oct 23, 2023

A user did a write off for a loan but when he runs the payroll through Frappe HR, the system still fetches the loan which had been written off. The reason was that the loan wasn't closed after write off. Now, the loan would be closed after a write off if there's no pending principal amount.

@anandbaburajan anandbaburajan marked this pull request as draft October 23, 2023 12:09
@anandbaburajan anandbaburajan changed the title fix: exclude written off amount while calculating loan repayment amount fix: close employee loan on write off Oct 23, 2023
@anandbaburajan anandbaburajan marked this pull request as ready for review October 23, 2023 17:24
@anandbaburajan anandbaburajan merged commit d32ef21 into frappe:develop Oct 24, 2023
3 of 4 checks passed
@bosue
Copy link
Contributor

bosue commented Oct 24, 2023

Please note your two MariaDB commits slipped in. You might want to correct the git history.

mergify bot pushed a commit that referenced this pull request Oct 26, 2023
* fix: exclude written off amount while calculating loan repayment

* ci: use mariadb:10.6

* ci: use mariadb

* fix: revert exclude written off amount while calculating loan repayment

* fix: close employee loan on write off

(cherry picked from commit d32ef21)
@frappe frappe deleted a comment from mergify bot Oct 26, 2023
@frappe frappe deleted a comment from mergify bot Oct 26, 2023
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