WEB-568 Negative Values Allowed for Arrears Ageing, Overdue Days for NPA, and Principal Threshold Fields in Loan Product Settings (#2983)
This commit is contained in:
+3
-3
@@ -384,7 +384,7 @@
|
|||||||
|
|
||||||
<mat-form-field class="flex-48">
|
<mat-form-field class="flex-48">
|
||||||
<mat-label>{{ 'labels.inputs.On arrears ageing' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.On arrears ageing' | translate }}</mat-label>
|
||||||
<input type="number" matInput formControlName="graceOnArrearsAgeing" />
|
<input type="number" min="0" matInput formControlName="graceOnArrearsAgeing" />
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<h4 class="flex-48">
|
<h4 class="flex-48">
|
||||||
@@ -400,7 +400,7 @@
|
|||||||
|
|
||||||
<mat-form-field class="flex-48">
|
<mat-form-field class="flex-48">
|
||||||
<mat-label>{{ 'labels.inputs.Overdue days for NPA' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.Overdue days for NPA' | translate }}</mat-label>
|
||||||
<input type="number" matInput formControlName="overdueDaysForNPA" />
|
<input type="number" min="0" matInput formControlName="overdueDaysForNPA" />
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-checkbox
|
<mat-checkbox
|
||||||
@@ -413,7 +413,7 @@
|
|||||||
|
|
||||||
<mat-form-field class="flex-48">
|
<mat-form-field class="flex-48">
|
||||||
<mat-label>{{ 'labels.inputs.Principal Threshold (%) for Last Instalment' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.Principal Threshold (%) for Last Instalment' | translate }}</mat-label>
|
||||||
<input type="number" matInput formControlName="principalThresholdForLastInstallment" />
|
<input type="number" min="0" matInput formControlName="principalThresholdForLastInstallment" />
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-checkbox
|
<mat-checkbox
|
||||||
|
|||||||
+12
-3
@@ -325,10 +325,19 @@ export class LoanProductSettingsStepComponent implements OnInit {
|
|||||||
Validators.required
|
Validators.required
|
||||||
],
|
],
|
||||||
canDefineInstallmentAmount: [false],
|
canDefineInstallmentAmount: [false],
|
||||||
graceOnArrearsAgeing: [''],
|
graceOnArrearsAgeing: [
|
||||||
overdueDaysForNPA: [''],
|
'',
|
||||||
|
[Validators.min(0)]
|
||||||
|
],
|
||||||
|
overdueDaysForNPA: [
|
||||||
|
'',
|
||||||
|
[Validators.min(0)]
|
||||||
|
],
|
||||||
accountMovesOutOfNPAOnlyOnArrearsCompletion: [false],
|
accountMovesOutOfNPAOnlyOnArrearsCompletion: [false],
|
||||||
principalThresholdForLastInstallment: [''],
|
principalThresholdForLastInstallment: [
|
||||||
|
'',
|
||||||
|
[Validators.min(0)]
|
||||||
|
],
|
||||||
allowVariableInstallments: [false],
|
allowVariableInstallments: [false],
|
||||||
disallowExpectedDisbursements: [false],
|
disallowExpectedDisbursements: [false],
|
||||||
canUseForTopup: [false],
|
canUseForTopup: [false],
|
||||||
|
|||||||
Reference in New Issue
Block a user