mirror of
https://github.com/openMF/web-app.git
synced 2026-02-06 14:11:48 +00:00
WEB-666 Recurring Deposit Product Form: Negative Values Allowed in SETTINGS fields
This commit is contained in:
parent
b7ef0fcbd9
commit
94be3e7361
@ -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">
|
||||
|
||||
@ -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]
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user