@idsoftsource/initial-process 4.0.7 → 4.0.8
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.
|
@@ -2899,8 +2899,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2899
2899
|
|
|
2900
2900
|
class UserDocumentService {
|
|
2901
2901
|
httpClient;
|
|
2902
|
-
// 🔹 Base controller name
|
|
2903
|
-
baseUrl = 'UserDocument';
|
|
2904
2902
|
baseUrlUpdated = 'FrontEndMaster';
|
|
2905
2903
|
constructor(httpClient) {
|
|
2906
2904
|
this.httpClient = httpClient;
|
|
@@ -2940,12 +2938,12 @@ class UserDocumentService {
|
|
|
2940
2938
|
});
|
|
2941
2939
|
return params;
|
|
2942
2940
|
}
|
|
2943
|
-
getDocumentTypes(maintype,
|
|
2941
|
+
getDocumentTypes(maintype, _providerId, searchText = '', professionId = null) {
|
|
2944
2942
|
let params = new HttpParams()
|
|
2945
2943
|
.set('MainType', maintype)
|
|
2946
2944
|
.set('IsActive', true);
|
|
2947
2945
|
if (searchText.trim()) {
|
|
2948
|
-
params = params.set('
|
|
2946
|
+
params = params.set('Name', `${searchText.trim()}`);
|
|
2949
2947
|
}
|
|
2950
2948
|
if (professionId) {
|
|
2951
2949
|
params = params.append('ProfessionIds', professionId);
|
|
@@ -9353,7 +9351,6 @@ class CertificationComponent {
|
|
|
9353
9351
|
});
|
|
9354
9352
|
}
|
|
9355
9353
|
loadDocumentTypesDefault(searchText = '') {
|
|
9356
|
-
searchText = '=';
|
|
9357
9354
|
this.userDocumentService
|
|
9358
9355
|
.getDocumentTypes('2', this.providerId, searchText, this.selectedProfessionId)
|
|
9359
9356
|
.subscribe(res => {
|
|
@@ -10935,7 +10932,6 @@ class LicensesComponent {
|
|
|
10935
10932
|
});
|
|
10936
10933
|
}
|
|
10937
10934
|
loadDocumentTypesDefault(searchText = '') {
|
|
10938
|
-
searchText = '=';
|
|
10939
10935
|
this.userDocumentService
|
|
10940
10936
|
.getDocumentTypes('1', this.providerId, searchText)
|
|
10941
10937
|
.subscribe(res => {
|