refactor: fixed deposits module (#1201)

See: #1196
This commit is contained in:
Karan Takalkar
2020-08-13 17:44:23 +05:30
committed by GitHub
parent a1cd561453
commit 572a07bf45
11 changed files with 34 additions and 10 deletions
@@ -22,6 +22,9 @@ export class FixedDepositAccountCurrencyStepComponent implements OnChanges {
/** Currency Data */
currencyData: any;
/**
* @param {FormBuilder} formBuilder Form Builder
*/
constructor(private formBuilder: FormBuilder) {
this.createFixedDepositAccountCurrencyForm();
}
@@ -36,6 +39,9 @@ export class FixedDepositAccountCurrencyStepComponent implements OnChanges {
}
}
/**
* Creates fd currency form.
*/
createFixedDepositAccountCurrencyForm() {
this.fixedDepositAccountCurrencyForm = this.formBuilder.group({
'currencyCode': [{ value: '', disabled: true}],
@@ -36,6 +36,7 @@ export class FixedDepositAccountInterestRateChartStepComponent implements OnChan
/** Expand Chart Slab Index used in the view */
expandChartSlabIndex: number;
/** Interest Rate charts table reference */
@ViewChild('chartsTable') chartsTableRef: MatTable<Element>;
constructor() { }