feat(accounting): create journal entries component (#144)

Add create journal entries component for manual transactions.

Fixes #143
This commit is contained in:
Abhay Chawla
2018-07-22 17:05:07 +05:30
committed by GitHub
parent ccb2f009db
commit 4f095b76cf
9 changed files with 284 additions and 6 deletions
+8
View File
@@ -46,4 +46,12 @@ export class AccountingService {
return this.http.post(`/journalentries/${transactionId}`, data, { params: httpParams });
}
getGlAccounts() {
let httpParams = new HttpParams();
httpParams = httpParams.set('manualEntriesAllowed', 'true');
httpParams = httpParams.set('usage', '1');
httpParams = httpParams.set('disabled', 'false');
return this.http.get(`/glaccounts`, { params: httpParams });
}
}