Fix Fixed Deposit product edition

This commit is contained in:
Jose Alberto Hernandez
2022-07-15 09:57:52 -05:00
parent 4a40b5eca7
commit 2b60ecf32a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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 });
@@ -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);