feat: edit, delete and enable/disable GL Account

Chart of Accounts:
  * Edit GL Account Component
  * Delete GL Account
  * Enable/Disable GL Account
This commit is contained in:
Abhay Chawla
2018-08-04 22:09:54 +05:30
parent 1707c2742c
commit 1390540474
9 changed files with 237 additions and 7 deletions
+8
View File
@@ -113,4 +113,12 @@ export class AccountingService {
return this.http.get(`/glaccounts/${glAccountId}`, { params: httpParams });
}
updateGlAccount(glAccountId: number, glAccount: any) {
return this.http.put(`/glaccounts/${glAccountId}`, glAccount);
}
deleteGlAccount(glAccountId: number) {
return this.http.delete(`/glaccounts/${glAccountId}`);
}
}