From 2b60ecf32a549aaad34af410e38fcea3f67d0630 Mon Sep 17 00:00:00 2001 From: Jose Alberto Hernandez Date: Fri, 15 Jul 2022 09:12:12 -0500 Subject: [PATCH] Fix Fixed Deposit product edition --- src/app/loans/loans.service.ts | 2 +- .../fixed-deposit-product-interest-rate-chart-step.component.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/loans/loans.service.ts b/src/app/loans/loans.service.ts index 8f944557c..1319031f5 100644 --- a/src/app/loans/loans.service.ts +++ b/src/app/loans/loans.service.ts @@ -273,7 +273,7 @@ export class LoansService { .set('staffInSelectedOfficeOnly', 'true'); httpParams = productId ? httpParams.set('productId', productId) : httpParams; httpParams = isGroup ? httpParams.set('groupId', entityId) - .set('templateType', 'group') : + .set('templateType', 'group') : httpParams.set('clientId', entityId) .set('templateType', 'individual'); return this.http.get('/loans/template', { params: httpParams }); diff --git a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts index 132cd5461..e15d615bc 100644 --- a/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts +++ b/src/app/products/fixed-deposit-products/fixed-deposit-product-stepper/fixed-deposit-product-interest-rate-chart-step/fixed-deposit-product-interest-rate-chart-step.component.ts @@ -151,6 +151,7 @@ export class FixedDepositProductInterestRateChartStepComponent implements OnInit fromDate: chartData.fromDate ? new Date(chartData.fromDate) : '', isPrimaryGroupingByAmount: chartData.isPrimaryGroupingByAmount, name: chartData.name, + description: chartData.description, chartSlabs: this.getChartSlabsData(chartData) }; this.chartsDetail.push(chart);