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:
Jivjyot Singh
2019-12-01 23:20:51 +03:00
committed by Abhay Chawla
parent b80ef7910b
commit c2bd5d1444
20 changed files with 306 additions and 6 deletions
+9
View File
@@ -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`);
}