27 lines
604 B
TypeScript
27 lines
604 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { ActivatedRoute } from '@angular/router';
|
|
|
|
@Component({
|
|
selector: 'mifosx-account-details',
|
|
templateUrl: './account-details.component.html',
|
|
styleUrls: ['./account-details.component.scss']
|
|
})
|
|
export class AccountDetailsComponent implements OnInit {
|
|
|
|
loanDetails: any;
|
|
dataObject: {
|
|
property: string,
|
|
value: string
|
|
}[];
|
|
|
|
constructor(private route: ActivatedRoute) {
|
|
this.route.parent.data.subscribe((data: { loanDetailsData: any, }) => {
|
|
this.loanDetails = data.loanDetailsData;
|
|
});
|
|
}
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
}
|