feat(accounting-rules): create rule component

Add create rule component.
This commit is contained in:
Abhay Chawla
2018-08-06 00:57:30 +05:30
parent 7b8b91f10a
commit 0a092f1ed6
7 changed files with 260 additions and 2 deletions
+8
View File
@@ -145,4 +145,12 @@ export class AccountingService {
return this.http.put(`/glclosures/${accountingClosureId}`, accountingClosure);
}
getAccountingRulesTemplate() {
return this.http.get('/accountingrules/template');
}
createAccountingRule(accountingRule: any) {
return this.http.post('/accountingrules', accountingRule);
}
}