[ https://issues.apache.org/jira/browse/FINERACT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322225#comment-15322225 ]
ASF GitHub Bot commented on FINERACT-167: ----------------------------------------- Github user nazeer1100126 commented on a diff in the pull request: https://github.com/apache/incubator-fineract/pull/130#discussion_r66408640 --- Diff: fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanTransaction.java --- @@ -212,17 +214,25 @@ public static LoanTransaction accrueInterest(final Office office, final Loan loa principalPortion, interestPortion, feesPortion, penaltiesPortion, overPaymentPortion, reversed, paymentDetail, externalId, createdDate, appUser); } + + public static LoanTransaction accrual(final Loan loan, final Office office, final Money amount, final Money interest, --- End diff -- This method is not required. > Implementation of loan foreclosure functionality > ------------------------------------------------ > > Key: FINERACT-167 > URL: https://issues.apache.org/jira/browse/FINERACT-167 > Project: Apache Fineract > Issue Type: New Feature > Components: Loan > Reporter: Vishwanath R > Assignee: Markus Geiss > > On foreclosure of the active loan application, the following things should > happen, > 1) Repay total loan outstanding principal amount. > 2) Repay total Interest amount (accrued and due) till Foreclosure date. > 3) Repay total Fee, Charges or Penalties due, if any till Foreclosure date. > 4) Accounting entries will be made as per product configuration for interest > and loan portfolio payments. > 5) Future installment Interest, Fee, Charge, or Penalty, if any, is waived > off (there won’t be any accounting entries for these transactions). -- This message was sent by Atlassian JIRA (v6.3.4#6332)