WEB-567 Negative Values Allowed in Loan Product Currency Step Fields (#2982)
This commit is contained in:
+4
-2
@@ -260,12 +260,12 @@
|
|||||||
|
|
||||||
<mat-form-field class="flex-48">
|
<mat-form-field class="flex-48">
|
||||||
<mat-label>{{ 'labels.inputs.Grace on principal payment' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.Grace on principal payment' | translate }}</mat-label>
|
||||||
<input type="number" matInput formControlName="graceOnPrincipalPayment" />
|
<input type="number" min="0" matInput formControlName="graceOnPrincipalPayment" />
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-form-field class="flex-48">
|
<mat-form-field class="flex-48">
|
||||||
<mat-label>{{ 'labels.inputs.Grace on interest payment' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.Grace on interest payment' | translate }}</mat-label>
|
||||||
<input type="number" matInput formControlName="graceOnInterestPayment" />
|
<input type="number" min="0" matInput formControlName="graceOnInterestPayment" />
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-divider class="flex-98"></mat-divider>
|
<mat-divider class="flex-98"></mat-divider>
|
||||||
@@ -298,6 +298,7 @@
|
|||||||
<mat-label>{{ 'labels.inputs.Interest free period' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.Interest free period' | translate }}</mat-label>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
|
min="0"
|
||||||
matInput
|
matInput
|
||||||
matTooltip="{{ 'tooltips.If the Interest Free Period' | translate }}"
|
matTooltip="{{ 'tooltips.If the Interest Free Period' | translate }}"
|
||||||
formControlName="graceOnInterestCharged"
|
formControlName="graceOnInterestCharged"
|
||||||
@@ -308,6 +309,7 @@
|
|||||||
<mat-label>{{ 'labels.inputs.Arrears tolerance' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.Arrears tolerance' | translate }}</mat-label>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
|
min="0"
|
||||||
matInput
|
matInput
|
||||||
matTooltip="{{ 'tooltips.With Arrears tolerance' | translate }}"
|
matTooltip="{{ 'tooltips.With Arrears tolerance' | translate }}"
|
||||||
formControlName="inArrearsTolerance"
|
formControlName="inArrearsTolerance"
|
||||||
|
|||||||
+16
-4
@@ -300,10 +300,22 @@ export class LoanProductSettingsStepComponent implements OnInit {
|
|||||||
'',
|
'',
|
||||||
Validators.required
|
Validators.required
|
||||||
],
|
],
|
||||||
graceOnPrincipalPayment: [''],
|
graceOnPrincipalPayment: [
|
||||||
graceOnInterestPayment: [''],
|
'',
|
||||||
graceOnInterestCharged: [''],
|
[Validators.min(0)]
|
||||||
inArrearsTolerance: [''],
|
],
|
||||||
|
graceOnInterestPayment: [
|
||||||
|
'',
|
||||||
|
[Validators.min(0)]
|
||||||
|
],
|
||||||
|
graceOnInterestCharged: [
|
||||||
|
'',
|
||||||
|
[Validators.min(0)]
|
||||||
|
],
|
||||||
|
inArrearsTolerance: [
|
||||||
|
'',
|
||||||
|
[Validators.min(0)]
|
||||||
|
],
|
||||||
daysInYearType: [
|
daysInYearType: [
|
||||||
'',
|
'',
|
||||||
Validators.required
|
Validators.required
|
||||||
|
|||||||
Reference in New Issue
Block a user