feat: add view cashier component (#796)

Fixes: #761
This commit is contained in:
Benura Abeywardena
2020-05-22 18:31:52 +05:30
committed by GitHub
parent 68c30cfa4d
commit 5e1b1aeae5
9 changed files with 200 additions and 1 deletions
@@ -176,6 +176,16 @@ export class OrganizationService {
return this.http.get(`/tellers/${tellerId}`);
}
/**
* Get Cashier data.
* @param {string} tellerId Teller ID of teller.
* @param {string} cashierId Cashier ID of cashier
* @returns {Observable<any>} Cashier data.
*/
getCashier(tellerId: string, cashierId: string): Observable<any> {
return this.http.get(`/tellers/${tellerId}/cashiers/${cashierId}`);
}
/**
* @param {string} tellerId Teller ID of teller to be deleted.
* @returns {Observable<any>}