Merge pull request #1098 from pramodn02/develop
MIFOSX-1513 : corrected reprocess check for loan repayment schedule
This commit is contained in:
+2
-1
@@ -2472,7 +2472,8 @@ public class Loan extends AbstractPersistable<Long> {
|
||||
.getTransactionDate());
|
||||
boolean reprocess = true;
|
||||
|
||||
if (adjustedTransaction == null && loanTransaction.getTransactionDate().isEqual(LocalDate.now()) && currentInstallment != null
|
||||
if (isTransactionChronologicallyLatest && adjustedTransaction == null
|
||||
&& loanTransaction.getTransactionDate().isEqual(LocalDate.now()) && currentInstallment != null
|
||||
&& currentInstallment.getTotalOutstanding(getCurrency()).isEqualTo(loanTransaction.getAmount(getCurrency()))) {
|
||||
reprocess = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user