feat: add tree view in chart of accounts component

Add tree view for GL accounts in chart of accounts component.
This commit is contained in:
Abhay Chawla
2018-08-02 01:18:03 +05:30
parent 6643e44afc
commit 6f6378aa0e
7 changed files with 294 additions and 3 deletions
@@ -0,0 +1,23 @@
export class GLAccountNode {
children: GLAccountNode[];
name: string;
glCode: string;
type: string;
usage: string;
manualEntriesAllowed: boolean;
description: string;
constructor(name: string,
glCode: string = '',
type: string = '',
usage: string = '',
manualEntriesAllowed: boolean = false,
description: string = '') {
this.name = name;
this.glCode = glCode;
this.type = type;
this.usage = usage;
this.manualEntriesAllowed = manualEntriesAllowed;
this.description = description;
this.children = [];
}
}