FINERACT-1724-Last-repayment-amount-date-closed-overpaid-loans
This commit is contained in:
committed by
Adam Saghy
parent
8a51abda78
commit
b555b35845
+2
-4
@@ -65,10 +65,8 @@ public class LoanBusinessEventSerializer extends AbstractBusinessEventSerializer
|
||||
data.setCharges(loanCharges);
|
||||
}
|
||||
|
||||
if (data.isActive()) {
|
||||
CollectionData delinquentData = delinquencyReadPlatformService.calculateLoanCollectionData(loanId);
|
||||
data.setDelinquent(delinquentData);
|
||||
}
|
||||
CollectionData delinquentData = delinquencyReadPlatformService.calculateLoanCollectionData(loanId);
|
||||
data.setDelinquent(delinquentData);
|
||||
|
||||
if (data.getSummary() != null) {
|
||||
final Collection<LoanTransactionData> currentLoanTransactions = service.retrieveLoanTransactions(loanId);
|
||||
|
||||
+2
-4
@@ -843,10 +843,8 @@ public class LoansApiResource {
|
||||
Collection<LoanTermVariationsData> emiAmountVariations = null;
|
||||
Collection<LoanCollateralResponseData> loanCollateralManagements;
|
||||
Collection<LoanCollateralManagementData> loanCollateralManagementData = new ArrayList<>();
|
||||
CollectionData collectionData = CollectionData.template();
|
||||
if (loanBasicDetails.isActive()) {
|
||||
collectionData = this.delinquencyReadPlatformService.calculateLoanCollectionData(resolvedLoanId);
|
||||
}
|
||||
CollectionData collectionData = this.delinquencyReadPlatformService.calculateLoanCollectionData(resolvedLoanId);
|
||||
|
||||
final Set<String> mandatoryResponseParameters = new HashSet<>();
|
||||
final Set<String> associationParameters = ApiParameterHelper.extractAssociationsForResponseIfProvided(uriInfo.getQueryParameters());
|
||||
final Collection<LoanTransactionData> currentLoanRepayments = this.loanReadPlatformService.retrieveLoanTransactions(resolvedLoanId);
|
||||
|
||||
Reference in New Issue
Block a user