WEB-277: Collection sheet and Productive collection sheet part I

This commit is contained in:
Jose Alberto Hernandez
2025-09-02 21:36:31 -05:00
parent f1adfaf9e1
commit dbf551fcd1
25 changed files with 412 additions and 21 deletions
@@ -702,6 +702,21 @@ export class OrganizationService {
return this.http.put(`/funds/${fundId}`, fundData);
}
getStaffs(officeId: any): Observable<any> {
const httpParams = new HttpParams().set('officeId', officeId).set('status', 'all');
return this.http.get(`/staff`, { params: httpParams });
}
getCenters(officeId: any): Observable<any> {
const httpParams = new HttpParams().set('officeId', officeId).set('status', 'all');
return this.http.get(`/centers`, { params: httpParams });
}
getGroups(officeId: any): Observable<any> {
const httpParams = new HttpParams().set('officeId', officeId).set('status', 'all');
return this.http.get(`/groups`, { params: httpParams });
}
/*
* @param {any} officeId ID of office to retrieve staff from.
* @returns {Observable<any>} Staff data.