fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FINERACT-167) Implementation of loan foreclosure functionality
Date Thu, 09 Jun 2016 08:58:20 GMT

    [ https://issues.apache.org/jira/browse/FINERACT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322187#comment-15322187
] 

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_r66404578
  
    --- Diff: fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java
---
    @@ -5972,4 +5986,204 @@ public BigDecimal getDerivedAmountForCharge(LoanCharge loanCharge)
{
             return amount;
         }
     
    +    public LoanRepaymentScheduleInstallment fetchLoanForeclosureDetail(final LocalDate
closureDate) {
    +        Money totalPrincipal = Money.of(getCurrency(), this.getSummary().getTotalPrincipalOutstanding());
    +        Money[] receivables = retriveIncomeOutstandingTillDate(closureDate);
    +        final List<LoanInterestRecalcualtionAdditionalDetails> compoundingDetails
= null;
    +        return new LoanRepaymentScheduleInstallment(null, 0, LocalDate.now(), LocalDate.now(),
totalPrincipal.getAmount(),
    --- End diff --
    
    Use DateUtils to get the tenant date


> 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)

Mime
View raw message