feat: add datatable tabs in clients view component
- add datatable-tab component - add single-row component - add multi-row component fixes: #431
This commit is contained in:
committed by
Abhay Chawla
parent
b80ef7910b
commit
c2bd5d1444
@@ -28,6 +28,15 @@ export class ClientsService {
|
||||
return this.http.get(`/clients/${clientId}`);
|
||||
}
|
||||
|
||||
getClientDatatables() {
|
||||
const httpParams = new HttpParams().set('apptable', 'm_client');
|
||||
return this.http.get(`/datatables`, { params: httpParams });
|
||||
}
|
||||
getClientDatatable(clientId: string, datatableName: string) {
|
||||
const httpParams = new HttpParams().set('genericResultSet', 'true');
|
||||
return this.http.get(`/datatables/${datatableName}/${clientId}`, { params: httpParams });
|
||||
}
|
||||
|
||||
getClientAccountData(clientId: string) {
|
||||
return this.http.get(`/clients/${clientId}/accounts`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user