Enhacement to management funds (#1735)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-04-07 20:35:27 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 452a1adc17
commit bf700cc100
28 changed files with 530 additions and 270 deletions
@@ -10,7 +10,7 @@ export class DatatableTabComponent {
entityId: string;
/** Loan Datatable */
entityDatatable: any;
entityDatatable: any = null;
/** Multi Row Datatable Flag */
multiRowDatatableFlag: boolean;
@@ -20,9 +20,10 @@ export class DatatableTabComponent {
*/
constructor(private route: ActivatedRoute) {
this.entityId = this.route.parent.parent.snapshot.paramMap.get('loanId');
this.entityDatatable = null;
this.route.data.subscribe((data: { loanDatatable: any }) => {
this.entityDatatable = data.loanDatatable;
console.log(this.entityDatatable);
this.multiRowDatatableFlag = this.entityDatatable.columnHeaders[0].columnName === 'id' ? true : false;
});
}