Allow accounting mappings for fund source asset or liability
This commit is contained in:
committed by
Arnold Gálovics
parent
1c8a772de6
commit
01e60a0810
@@ -84,7 +84,9 @@ export class GlAccountTreeService {
|
||||
glAccountTree[0].children[4].children.push(glAccounts[glAccount.id]);
|
||||
}
|
||||
} else {
|
||||
glAccounts[glAccount.parentId].children.push(glAccounts[glAccount.id]);
|
||||
if (glAccounts[glAccount.parentId]) {
|
||||
glAccounts[glAccount.parentId].children.push(glAccounts[glAccount.id]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user