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:
@@ -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}`);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user