This commit is contained in:
Soni Jay 2026-02-05 16:12:41 -06:00 committed by GitHub
commit 97b060995c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 6 deletions

View File

@ -26,6 +26,7 @@
<mat-label>{{ 'labels.inputs.Frequency' | translate }}</mat-label>
<input
type="number"
min="0"
matInput
formControlName="lockinPeriodFrequency"
matTooltip="{{ 'tooltips.The number at which lock in period occurs' | translate }}"
@ -49,6 +50,7 @@
<mat-label>{{ 'labels.inputs.Frequency' | translate }}</mat-label>
<input
type="number"
min="0"
matInput
formControlName="minDepositTerm"
matTooltip="{{ 'tooltips.The number at which minimum deposit occurs' | translate }}"
@ -81,6 +83,7 @@
<mat-label>{{ 'labels.inputs.Frequency' | translate }}</mat-label>
<input
type="number"
min="0"
matInput
formControlName="inMultiplesOfDepositTerm"
matTooltip="{{ 'tooltips.The number at which multiple deposits occurs' | translate }}"
@ -104,6 +107,7 @@
<mat-label>{{ 'labels.inputs.Frequency' | translate }}</mat-label>
<input
type="number"
min="0"
matInput
formControlName="maxDepositTerm"
matTooltip="{{ 'tooltips.The number at which minimum deposit occurs' | translate }}"
@ -131,7 +135,7 @@
<mat-form-field class="flex-48">
<mat-label>{{ 'labels.inputs.Penal Interest' | translate }} (%)</mat-label>
<input type="number" matInput formControlName="preClosurePenalInterest" />
<input type="number" min="0" matInput formControlName="preClosurePenalInterest" />
</mat-form-field>
<mat-form-field class="flex-48">

View File

@ -102,22 +102,37 @@ export class RecurringDepositProductSettingsStepComponent implements OnInit {
isMandatoryDeposit: [false],
adjustAdvanceTowardsFuturePayments: [false],
allowWithdrawal: [false],
lockinPeriodFrequency: [''],
lockinPeriodFrequency: [
'',
Validators.min(0)
],
lockinPeriodFrequencyType: [''],
minDepositTerm: [
'',
Validators.required
[
Validators.required,
Validators.min(0)
]
],
minDepositTermTypeId: [
'',
Validators.required
],
inMultiplesOfDepositTerm: [''],
inMultiplesOfDepositTerm: [
'',
Validators.min(0)
],
inMultiplesOfDepositTermTypeId: [''],
maxDepositTerm: [''],
maxDepositTerm: [
'',
Validators.min(0)
],
maxDepositTermTypeId: [''],
preClosurePenalApplicable: [false],
preClosurePenalInterest: [''],
preClosurePenalInterest: [
'',
Validators.min(0)
],
preClosurePenalInterestOnTypeId: [''],
withHoldTax: [false]
});