Allow accounting mappings for fund source asset or liability
This commit is contained in:
committed by
Arnold Gálovics
parent
1c8a772de6
commit
01e60a0810
+1
-1
@@ -52,7 +52,7 @@
|
||||
<mat-label>Parent</mat-label>
|
||||
<mat-select formControlName="parentId">
|
||||
<mat-option *ngFor="let parent of parentData" [value]="parent.id">
|
||||
{{ parent.name }}
|
||||
({{ parent.glCode }}) {{ parent.name }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<mat-label>Parent</mat-label>
|
||||
<mat-select formControlName="parentId">
|
||||
<mat-option *ngFor="let parent of parentData" [value]="parent.id">
|
||||
{{ parent.name }}
|
||||
({{ parent.glCode }}) {{ parent.name }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,9 @@
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%" *ngIf="glAccount.parent">
|
||||
{{ glAccount.parent.name }}
|
||||
<a class="tab-link" [routerLink]="['/accounting/chart-of-accounts/gl-accounts/view/' + glAccount.parent.id]">
|
||||
({{ glAccount.parent.glCode }}) {{ glAccount.parent.name }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%" class="header" *ngIf="glAccount.tagId.id">
|
||||
@@ -82,7 +84,7 @@
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%">
|
||||
{{ glAccount.manualEntriesAllowed }}
|
||||
{{ glAccount.manualEntriesAllowed ? 'Yes' : 'No' }}
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%" class="header" *ngIf="glAccount.description">
|
||||
|
||||
Reference in New Issue
Block a user