/** Angular Imports */ import { Component } from '@angular/core' ; import { ActivatedRoute } from '@angular/router' ; /**
 * Office View General Tab
 */ @ Component ( { selector : 'mifosx-general-tab' , templateUrl : './general-tab.component.html' , styleUrls : [ './general-tab.component.scss' ] } ) export class GeneralTabComponent { /** Office data */ officeData : any ; param { ActivatedRoute } route constructor ( private route ) { this . route . parent . data . subscribe ( ( data ) => { this . officeData = data . office ; } ) ; } }