feat: cashier transactions list page (#1061)

Fixes: #760
This commit is contained in:
Karan Takalkar
2020-07-11 23:49:42 +05:30
committed by GitHub
parent 6b688b98dc
commit e74fdcf27b
10 changed files with 305 additions and 10 deletions
@@ -273,6 +273,17 @@ export class OrganizationService {
return this.http.get(`/tellers/${tellerId}/cashiers/${cashierId}`);
}
/**
* @param {string} tellerId Teller Id
* @param {string} cashierId Cashier Id
* @param {string} currencyCode Currency Code
* @returns {Observable<any>}
*/
getCashierSummaryAndTransactions(tellerId: string, cashierId: string, currencyCode: string): Observable<any> {
const httpParams = new HttpParams().set('currencyCode', currencyCode);
return this.http.get(`/tellers/${tellerId}/cashiers/${cashierId}/summaryandtransactions`, { params: httpParams });
}
/**
* @param {string} tellerId Teller ID of teller to be deleted.
* @returns {Observable<any>}