Fix: Allow Loan account creation that uses Floating rate
This commit is contained in:
committed by
Adam Saghy
parent
66d81e1f64
commit
4117b45aff
+1
-1
@@ -100,7 +100,7 @@
|
||||
<mat-datepicker #interestPicker></mat-datepicker>
|
||||
</mat-form-field>
|
||||
|
||||
<ng-container *ngIf="!loansAccountTemplate?.isLoanProductLinkedToFloatingRate">
|
||||
<ng-container *ngIf="!loansAccountTermsData?.isLoanProductLinkedToFloatingRate">
|
||||
|
||||
<mat-form-field fxFlex="48%">
|
||||
<mat-label>{{"labels.inputs.Nominal interest rate" | translate}}</mat-label>
|
||||
|
||||
+4
@@ -136,6 +136,10 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
|
||||
'multiDisburseLoan': this.loansAccountTermsData.multiDisburseLoan
|
||||
});
|
||||
|
||||
if (this.loansAccountTermsData.isLoanProductLinkedToFloatingRate) {
|
||||
this.loansAccountTermsForm.removeControl('interestRatePerPeriod');
|
||||
}
|
||||
|
||||
this.multiDisburseLoan = this.loansAccountTermsData.multiDisburseLoan;
|
||||
if (this.loansAccountTermsData.disbursementDetails) {
|
||||
this.disbursementDataSource = this.loansAccountTermsData.disbursementDetails;
|
||||
|
||||
Reference in New Issue
Block a user