feat(closing-entries): edit and delete closure

Add edit closure component and ability to delete an accounting closure
to backdate a transaction.
This commit is contained in:
Abhay Chawla
2018-08-04 23:03:39 +05:30
parent fcb8dce131
commit 6c80e86c0c
10 changed files with 182 additions and 6 deletions
+8
View File
@@ -133,4 +133,12 @@ export class AccountingService {
return this.http.get(`/glclosures/${accountingClosureId}`);
}
deleteAccountingClosure(accountingClosureId: number) {
return this.http.delete(`/glclosures/${accountingClosureId}`);
}
updateAccountingClosure(accountingClosureId: number, accountingClosure: any) {
return this.http.put(`/glclosures/${accountingClosureId}`, accountingClosure);
}
}