feat: add tellers component (#520)

Fixes: #159
This commit is contained in:
punwai
2019-12-23 21:31:24 +03:00
committed by Abhay Chawla
parent 6b250f081a
commit 34e1f4da36
9 changed files with 224 additions and 4 deletions
+8 -1
View File
@@ -1,6 +1,6 @@
/** Angular Imports */
import { Injectable } from '@angular/core';
import { HttpClient, HttpParams } from '@angular/common/http';
import { HttpClient } from '@angular/common/http';
/** rxjs Imports */
import { Observable } from 'rxjs';
@@ -60,4 +60,11 @@ export class OrganizationService {
return this.http.get('/adhocquery');
}
/**
* @returns {Observable<any>} Tellers data
*/
getTellers(): Observable<any> {
return this.http.get('/tellers');
}
}