@@ -295,6 +295,7 @@ export class OrganizationService {
|
||||
|
||||
/**
|
||||
* Settle Cash.
|
||||
* Allocate Cash.
|
||||
* @param {string} tellerId Teller Id.
|
||||
* @param {string} cashierId Cashier Id.
|
||||
* @param {string} cashData Cash Data.
|
||||
@@ -305,6 +306,11 @@ export class OrganizationService {
|
||||
return this.http.post(`/tellers/${tellerId}/cashiers/${cashierId}/settle`, cashData, {params: httpParams});
|
||||
}
|
||||
|
||||
allocateCash(tellerId: string, cashierId: string, cashData: any): Observable<any> {
|
||||
const httpParams = new HttpParams().set('command', 'allocate');
|
||||
return this.http.post(`/tellers/${tellerId}/cashiers/${cashierId}/allocate`, cashData, {params: httpParams});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} tellerId Teller ID of teller to be deleted.
|
||||
* @returns {Observable<any>}
|
||||
|
||||
Reference in New Issue
Block a user