feat: add cashiers list page (#888)

Fixes: #757
This commit is contained in:
Karan Takalkar
2020-06-23 02:44:29 +05:30
committed by GitHub
parent e01897aa66
commit 02e2155f15
11 changed files with 218 additions and 6 deletions
+8 -1
View File
@@ -257,7 +257,14 @@ export class OrganizationService {
}
/**
* Get Cashier data.
* @param {string} tellerId Teller ID of teller.
* @returns {Observable<any>} Cashier data.
*/
getCashiers(tellerId: string): Observable<any> {
return this.http.get(`/tellers/${tellerId}/cashiers`);
}
/**
* @param {string} tellerId Teller ID of teller.
* @param {string} cashierId Cashier ID of cashier
* @returns {Observable<any>} Cashier data.