feat(accounting-rules): edit and delete rule
Add edit accounting rule component and ability to delete accounting rule.
This commit is contained in:
@@ -157,4 +157,12 @@ export class AccountingService {
|
||||
return this.http.get(`/accountingrules/${accountingRuleId}`);
|
||||
}
|
||||
|
||||
deleteAccountingRule(accountingRuleId: number) {
|
||||
return this.http.delete(`/accountingrules/${accountingRuleId}`);
|
||||
}
|
||||
|
||||
updateAccountingRule(accoutingRuleId: number, accountingRule: any) {
|
||||
return this.http.put(`/accountingrules/${accoutingRuleId}`, accountingRule);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user