@idsoftsource/initial-process 4.0.4 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2941,15 +2941,15 @@ class UserDocumentService {
|
|
|
2941
2941
|
return params;
|
|
2942
2942
|
}
|
|
2943
2943
|
getDocumentTypes(maintype, providerId, searchText = '', professionId = null) {
|
|
2944
|
-
let
|
|
2944
|
+
let params = new HttpParams()
|
|
2945
|
+
.set('MainType', maintype)
|
|
2946
|
+
.set('IsActive', true);
|
|
2945
2947
|
if (searchText.trim()) {
|
|
2946
|
-
|
|
2948
|
+
params = params.set('Type', `*${searchText.trim()}/i`);
|
|
2947
2949
|
}
|
|
2948
2950
|
if (professionId) {
|
|
2949
|
-
|
|
2951
|
+
params = params.append('ProfessionIds', professionId);
|
|
2950
2952
|
}
|
|
2951
|
-
const params = new HttpParams().set('filter', filter);
|
|
2952
|
-
params.set('tagetProviderId', '00000000-0000-0000-0000-000000000000');
|
|
2953
2953
|
return this.httpClient.get(`${this.baseUrlUpdated}/GetDocumentType`, { params });
|
|
2954
2954
|
}
|
|
2955
2955
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UserDocumentService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|