From f13c425fbc2312a35fe37158e5788c900cf3b07d Mon Sep 17 00:00:00 2001 From: Soni Jay Date: Mon, 23 Feb 2026 02:46:51 +0530 Subject: [PATCH] WEB-768 Decimal Places field in Fixed and Recurring Deposit forms allows negative values in Decimal Places (#3205) --- ...d-deposit-product-currency-step.component.html | 15 +++++++++++++-- ...xed-deposit-product-currency-step.component.ts | 2 ++ ...g-deposit-product-currency-step.component.html | 7 ++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.html b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.html index 903f65fc5..c8b70cc1c 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.html +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.html @@ -25,11 +25,22 @@ {{ 'labels.inputs.Decimal Places' | translate }} - - + + {{ 'labels.inputs.Decimal Places' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} + + {{ 'labels.inputs.Decimal Places' | translate }} {{ 'labels.commons.Minimum Value must be' | translate }} + 0 + diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts index 70e456747..494f2c6c3 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-currency-step/fixed-deposit-product-currency-step.component.ts @@ -12,6 +12,7 @@ import { startWith } from 'rxjs/operators'; import { UntypedFormGroup, UntypedFormBuilder, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatStepperPrevious, MatStepperNext } from '@angular/material/stepper'; import { MatCheckbox } from '@angular/material/checkbox'; +import { MatTooltip } from '@angular/material/tooltip'; import { FaIconComponent } from '@fortawesome/angular-fontawesome'; import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @@ -21,6 +22,7 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; styleUrls: ['./fixed-deposit-product-currency-step.component.scss'], imports: [ ...STANDALONE_SHARED_IMPORTS, + MatTooltip, MatStepperPrevious, FaIconComponent, MatStepperNext, diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.html b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.html index a9e852cc9..b85f5e28d 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.html +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-currency-step/recurring-deposit-product-currency-step.component.html @@ -31,15 +31,20 @@ {{ 'labels.inputs.Decimal Places' | translate }} - + {{ 'labels.inputs.Decimal Places' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} + + {{ 'labels.inputs.Decimal Places' | translate }} {{ 'labels.commons.Minimum Value must be' | translate }} + 0 +