Remove the field recalculationCompountFrequenceyDate from loan product request
This commit is contained in:
@@ -148,14 +148,6 @@ export class CreateLoansAccountComponent implements OnInit {
|
||||
loansAccountData.recalculationRestFrequencyDate = this.dateUtils.formatDate(this.loansAccount.recalculationRestFrequencyDate, dateFormat);
|
||||
}
|
||||
|
||||
if (this.loansAccountProductTemplate.isInterestRecalculationEnabled) {
|
||||
if (loansAccountData.recalculationCompoundingFrequencyDate !== null) {
|
||||
loansAccountData.recalculationCompoundingFrequencyDate = this.dateUtils.formatDate(this.loansAccount.recalculationCompoundingFrequencyDate, dateFormat);
|
||||
}
|
||||
} else {
|
||||
delete loansAccountData.recalculationCompoundingFrequencyDate;
|
||||
}
|
||||
|
||||
if (loansAccountData.interestCalculationPeriodType === 0) {
|
||||
loansAccountData.allowPartialPeriodInterestCalcualtion = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user