+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, OnChanges } from '@angular/core';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Dialog Components */
|
||||
import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component';
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, OnChanges, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { animate, state, style, transition, trigger } from '@angular/animations';
|
||||
|
||||
/**
|
||||
@@ -37,7 +37,7 @@ export class FixedDepositAccountInterestRateChartStepComponent implements OnChan
|
||||
expandChartSlabIndex: number;
|
||||
|
||||
/** Interest Rate charts table reference */
|
||||
@ViewChild('chartsTable') chartsTableRef: MatTable<Element>;
|
||||
@ViewChild('chartsTable', { static: true }) chartsTableRef: MatTable<Element>;
|
||||
|
||||
constructor() { }
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ export class FixedDepositAccountTermsStepComponent implements OnInit, OnChanges
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
if (this.fixedDepositsAccountTemplate) {
|
||||
if (this.fixedDepositsAccountTemplate.interestCompoundingPeriodType) {
|
||||
this.fixedDepositAccountTermsForm.patchValue({
|
||||
'interestCompoundingPeriodType': this.fixedDepositsAccountTemplate.interestCompoundingPeriodType.id,
|
||||
'interestPostingPeriodType': this.fixedDepositsAccountTemplate.interestPostingPeriodType.id,
|
||||
|
||||
Reference in New Issue
Block a user