Skip to content

Conversation

@peter-kovacs-dpc
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.

@alberto-art3ch alberto-art3ch force-pushed the FINERACT-2358/Backend-Advanced-accounting-rules-based-on-write-off-reason branch 2 times, most recently from 68d1b43 to f2cc6ce Compare October 13, 2025 15:19
@peter-kovacs-dpc peter-kovacs-dpc marked this pull request as ready for review October 13, 2025 15:35
this.helper.createDebitJournalEntryForLoan(office, currencyCode, AccrualAccountsForLoan.LOSSES_WRITTEN_OFF.getValue(),
loanProductId, paymentTypeId, loanId, transactionId, transactionDate, totalDebitAmount);
} else {
this.helper.createDebitJournalEntryForLoan(office, currencyCode, mapping.getGlAccount(), loanId, transactionId,
Copy link
Contributor

Choose a reason for hiding this comment

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

is it possible to have mapping but no glAcccount? What happens in this case?

Copy link
Contributor

Choose a reason for hiding this comment

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

If you have a mapping you must to have a GLAccount

@alberto-art3ch alberto-art3ch force-pushed the FINERACT-2358/Backend-Advanced-accounting-rules-based-on-write-off-reason branch from f2cc6ce to 60573bf Compare October 14, 2025 12:29
@galovics galovics merged commit 3b62d56 into apache:develop Oct 15, 2025
33 checks passed
@galovics galovics deleted the FINERACT-2358/Backend-Advanced-accounting-rules-based-on-write-off-reason branch October 15, 2025 07:52
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.

6 participants