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

FINERACT-2148: Add 'Accelerate maturity' charge-off behaviour option #4195

Conversation

leksinomi
Copy link
Contributor

Description

Describe the changes made and why they were made.

Ignore if these details are present on the associated Apache Fineract JIRA ticket.

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per https://github.com/apache/fineract/#pull-requests

  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

  • Create/update unit or integration tests for verifying the changes made.

  • Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@leksinomi leksinomi marked this pull request as draft November 28, 2024 14:59
@leksinomi leksinomi force-pushed the feature/FINERACT-2148/add-accelerate-maturity-charge-off-behaviour-option branch from e69e146 to c14d5a9 Compare December 13, 2024 13:55
|| transaction.isAccrualActivity() || transaction.isReAmortize() || !transaction.isNonMonetaryTransaction());
return transaction -> (transaction.isNotReversed() && (transaction.isChargeOff() || transaction.isReAge()
|| transaction.isAccrualActivity() || transaction.isReAmortize() || !transaction.isNonMonetaryTransaction()))
|| (transaction.isReversed() && transaction.isChargeOff() && LoanChargeOffBehaviour.ZERO_INTEREST
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes are not needed! Please undo them

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@leksinomi leksinomi force-pushed the feature/FINERACT-2148/add-accelerate-maturity-charge-off-behaviour-option branch 6 times, most recently from d80525d to fa8958a Compare December 27, 2024 10:04
| 3 | 31 | 01 April 2024 | | 33.32 | 16.72 | 0.29 | 0.0 | 0.0 | 17.01 | 0.0 | 0.0 | 0.0 | 17.01 |
| 4 | 30 | 01 May 2024 | | 16.40 | 16.82 | 0.19 | 0.0 | 0.0 | 17.01 | 0.0 | 0.0 | 0.0 | 17.01 |
| 5 | 31 | 01 June 2024 | | 0.05 | 16.35 | 0.1 | 0.0 | 0.0 | 16.45 | 0.0 | 0.0 | 0.0 | 16.45 |
| 6 | 30 | 01 July 2024 | | -16.96 | 17.01 | 0.0 | 0.0 | 0.0 | 17.01 | 17.01 | 0.0 | 0.0 | 0.0 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minus balance of the loan cannot be correct!

| 3 | 31 | 01 April 2024 | | 33.17 | 16.72 | 0.29 | 0.0 | 0.0 | 17.01 | 0.0 | 0.0 | 0.0 | 17.01 |
| 4 | 30 | 01 May 2024 | | 16.35 | 16.82 | 0.19 | 0.0 | 0.0 | 17.01 | 0.0 | 0.0 | 0.0 | 17.01 |
| 5 | 31 | 01 June 2024 | | 0.0 | 16.35 | 0.1 | 0.0 | 0.0 | 16.45 | 0.0 | 0.0 | 0.0 | 16.45 |
| 6 | 30 | 01 July 2024 | | -17.01 | 17.01 | 0.0 | 0.0 | 0.0 | 17.01 | 0.0 | 0.0 | 0.0 | 0.0 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Negative balance of the loan cannot be correct!

@leksinomi leksinomi force-pushed the feature/FINERACT-2148/add-accelerate-maturity-charge-off-behaviour-option branch 2 times, most recently from 04787f8 to 2c59e2c Compare January 7, 2025 10:29
@leksinomi leksinomi marked this pull request as ready for review January 7, 2025 10:30
@leksinomi leksinomi force-pushed the feature/FINERACT-2148/add-accelerate-maturity-charge-off-behaviour-option branch 4 times, most recently from dedeb8a to 29971b8 Compare January 7, 2025 11:56
@leksinomi leksinomi force-pushed the feature/FINERACT-2148/add-accelerate-maturity-charge-off-behaviour-option branch from 29971b8 to 876f9c5 Compare January 7, 2025 15:11
@adamsaghy adamsaghy merged commit 2fbdbe9 into apache:develop Jan 7, 2025
10 checks passed
@leksinomi leksinomi deleted the feature/FINERACT-2148/add-accelerate-maturity-charge-off-behaviour-option branch January 7, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants