- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.1k
 
FINERACT-2354: Re-aging Interest Handling Option: Equal Amortization #5102
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
base: develop
Are you sure you want to change the base?
FINERACT-2354: Re-aging Interest Handling Option: Equal Amortization #5102
Conversation
57ebadc    to
    acc6f6e      
    Compare
  
    1a8c3d3    to
    9f0c90c      
    Compare
  
    162e543    to
    90f37e7      
    Compare
  
    | createPaymentAllocation("MERCHANT_ISSUED_REFUND", "REAMORTIZATION"), // | ||
| createPaymentAllocation("PAYOUT_REFUND", "NEXT_INSTALLMENT")))// | ||
| .multiDisburseLoan(true)// | ||
| .disallowExpectedDisbursements(false)// | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need "expected disbursements"?
| AND lt.typeOf = :type | ||
| AND lt.dateOf <= :onDate | ||
| """) | ||
| Optional<LoanTransaction> findNonReversedTransactionActiveOnDate(@Param("loan") Loan loan, @Param("type") LoanTransactionType type, | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what findNonReversedTransactionActiveOnDate method is for?
| || !transaction.isNonMonetaryTransaction() || transaction.isContractTermination()); | ||
| } | ||
| 
               | 
          ||
| public Optional<LoanTransaction> getActiveReageTransactionOnDate(Loan loan, LocalDate onDate) { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A loan can have multiple reage txn. The only restriction is we cannot have multiple reage on the same date, but otherwise we can have as many reage as many we need.
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!
FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.