/** Angular Imports */ import { Component } from '@angular/core' ; import { ActivatedRoute } from '@angular/router' ; import { MatDialog } from '@angular/material/dialog' ; /**
 * View Transaction Component.
 */ @ Component ( { selector : 'mifosx-view-transaction' , templateUrl : './view-transaction.component.html' , styleUrls : [ './view-transaction.component.scss' ] } ) export class ViewTransactionComponent { /** Transaction data. */ transactionData : any ; param { ActivatedRoute } route param { MatDialog } dialog constructor ( private route , public dialog ) { this . route . data . subscribe ( ( data ) => { this . transactionData = data . fixedDepositsAccountTransaction ; } ) ; } }