fix conflicts with recent commits.
This commit is contained in:
@@ -183,7 +183,7 @@ public class LoansApiResource {
|
||||
"repaymentFrequencyType", "interestRateFrequencyType", "amortizationType", "interestType", "interestCalculationPeriodType",
|
||||
"submittedOnDate", "approvedOnDate", "expectedDisbursementDate", "actualDisbursementDate",
|
||||
"expectedFirstRepaymentOnDate", "interestChargedFromDate", "closedOnDate", "expectedMaturityDate",
|
||||
"status", "lifeCycleStatusDate", "loanOfficerName", "loanOfficerId", "charges")
|
||||
"status", "lifeCycleStatusDate", "loanOfficerName", "loanOfficerId")
|
||||
);
|
||||
|
||||
Set<String> responseParameters = ApiParameterHelper.extractFieldsForResponseIfProvided(uriInfo.getQueryParameters());
|
||||
@@ -245,7 +245,7 @@ public class LoansApiResource {
|
||||
responseParameters.addAll(
|
||||
Arrays.asList("productOptions", "amortizationTypeOptions", "interestTypeOptions", "interestCalculationPeriodTypeOptions",
|
||||
"repaymentFrequencyTypeOptions", "interestRateFrequencyTypeOptions", "fundOptions",
|
||||
"repaymentStrategyOptions", "chargeOptions", "loanOfficerOptions")
|
||||
"repaymentStrategyOptions", "chargeOptions", "chargeTemplate", "loanOfficerOptions")
|
||||
);
|
||||
|
||||
productOptions = this.loanProductReadPlatformService.retrieveAllLoanProductsForLookup();
|
||||
|
||||
@@ -301,8 +301,7 @@ public class Loan extends AbstractAuditableCustom<AppUser, Long> {
|
||||
|
||||
if (command.isChargesChanged()) {
|
||||
this.charges.clear();
|
||||
|
||||
this.charges = associateChargesWithThisLoan(charges);
|
||||
this.charges.addAll(associateChargesWithThisLoan(charges));
|
||||
this.totalChargesDueAtDisbursement = deriveSumTotalOfChargesDueAtDisbursement();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user