feat (clients): add client's address page

fixes: #258
This commit is contained in:
Jivjyot Singh
2019-12-01 23:20:51 +03:00
committed by Abhay Chawla
parent 636ccb74b0
commit d18097107a
13 changed files with 259 additions and 4 deletions
+13
View File
@@ -39,6 +39,7 @@ export class ClientsService {
return this.http.get(`/datatables/${datatableName}/${clientId}`, { params: httpParams });
}
getClientAccountData(clientId: string) {
return this.http.get(`/clients/${clientId}/accounts`);
}
@@ -138,4 +139,16 @@ export class ClientsService {
deleteClientNote(clientId: string, noteId: string) {
return this.http.delete(`/clients/${clientId}/notes/${noteId}`);
}
getAddressFieldConfiguration() {
return this.http.get(`/fieldconfiguration/ADDRESS`);
}
getClientAddressData(clientId: string) {
return this.http.get(`/client/${clientId}/addresses`);
}
getClientAddressTemplate() {
return this.http.get(`/client/addresses/template`);
}
}