fix: not able to create recurring deposit product (#1712)

now we are able to create recurring deposit product by adding one slab and using information
from JIRA how to fill it

Fixes: #1705
This commit is contained in:
pc_11
2023-03-18 17:53:53 +05:30
committed by GitHub
parent 0f450262b9
commit 531c1377f7
2 changed files with 5 additions and 1 deletions
@@ -60,6 +60,10 @@
</button>
</div>
<div fxFlex="100%" *ngIf="chart.value.chartSlabs.length === 0">
<h3 class="mat-h3">It's required to add at least one Slab</h3>
</div>
<table fxFlex="98%" class="mat-elevation-z1" mat-table [dataSource]="chart.value.chartSlabs" *ngIf="chart.value.chartSlabs.length !== 0" multiTemplateDataRows>
<ng-container matColumnDef="period">
@@ -229,7 +229,7 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On
'fromDate': ['', Validators.required],
'endDate': [''],
'isPrimaryGroupingByAmount': [false],
'chartSlabs': this.formBuilder.array([])
'chartSlabs': this.formBuilder.array([], Validators.required)
});
}