diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html index fef4eeb37a..f32de9ffa9 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html @@ -24,18 +24,12 @@ Currency in multiples of - - - Currency in multiples of is required - + Installment in multiples of - - - Installment in multiples of is required - + diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts index b8f7903651..572ab31bd9 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.ts @@ -24,17 +24,15 @@ export class LoanProductCurrencyStepComponent implements OnInit { this.loanProductCurrencyForm.patchValue({ 'currencyCode': this.loanProductsTemplate.currency.code || this.currencyData[0].code, 'digitsAfterDecimal': this.loanProductsTemplate.currency.decimalPlaces ? this.loanProductsTemplate.currency.decimalPlaces : 2, - 'inMultiplesOf': this.loanProductsTemplate.currency.inMultiplesOf ? this.loanProductsTemplate.currency.inMultiplesOf : 1, - 'installmentAmountInMultiplesOf': this.loanProductsTemplate.installmentAmountInMultiplesOf ? this.loanProductsTemplate.installmentAmountInMultiplesOf : 1 + 'inMultiplesOf': this.loanProductsTemplate.currency.inMultiplesOf, + 'installmentAmountInMultiplesOf': this.loanProductsTemplate.installmentAmountInMultiplesOf }); } createLoanProductCurrencyForm() { this.loanProductCurrencyForm = this.formBuilder.group({ 'currencyCode': ['', Validators.required], - 'digitsAfterDecimal': [2, Validators.required], - 'inMultiplesOf': [1, Validators.required], - 'installmentAmountInMultiplesOf': [1, Validators.required] + 'digitsAfterDecimal': [2, Validators.required] }); }