feat: add edit teller component (#598)

Fixes: #596
This commit is contained in:
Ashutosh Sharma
2020-05-14 12:25:27 +05:30
committed by GitHub
parent 519ef0f40d
commit 55d639f87a
8 changed files with 252 additions and 7 deletions
@@ -274,4 +274,12 @@ export class OrganizationService {
return this.http.put(`/staff/${employeeId}`, employee);
}
/**
* @param {string} tellerId Teller ID of Teller to be edited.
* @returns {Observable<any>}
*/
updateTeller(tellerId: string, teller: any): Observable<any> {
return this.http.put(`/tellers/${tellerId}`, teller);
}
}