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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to