Allow accounting mappings for fund source asset or liability

This commit is contained in:
Jose Alberto Hernandez
2022-08-04 15:57:49 +02:00
committed by Arnold Gálovics
parent 1c8a772de6
commit 01e60a0810
11 changed files with 84 additions and 41 deletions
@@ -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]);
}
}
}