feat(chart-of-accounts): view GL Account component

Add view GL Account component.
This commit is contained in:
Abhay Chawla
2018-08-04 22:09:54 +05:30
parent 787c3b66d3
commit 1707c2742c
11 changed files with 217 additions and 18 deletions
+5
View File
@@ -108,4 +108,9 @@ export class AccountingService {
return this.http.post('/glaccounts', glAccount);
}
getGlAccount(glAccountId: string, template: boolean = false) {
const httpParams = new HttpParams().set('template', template.toString());
return this.http.get(`/glaccounts/${glAccountId}`, { params: httpParams });
}
}