fix for MIFOSX-821
This commit is contained in:
+1
-1
@@ -1484,7 +1484,7 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
||||
for (final Loan loanToUpdate : loansToUpdateForLoanCounter) {
|
||||
// Update client loan counter if loan product includeInBorrowerCycle
|
||||
// is true
|
||||
if (includeInBorrowerCycle) {
|
||||
if (loanToUpdate.loanProduct().isIncludeInBorrowerCycle()) {
|
||||
Integer currentLoanCounter = loanToUpdate.getCurrentLoanCounter();
|
||||
if (newLoanCounter > currentLoanCounter) {
|
||||
newLoanCounter = currentLoanCounter;
|
||||
|
||||
Reference in New Issue
Block a user