iptdevs-design-system 3.1.340 → 3.1.342
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.
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +4 -2
- package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs +7 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +7 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/services/attendance-service/attendance.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3172,6 +3172,7 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3172
3172
|
this.communicatorService.setCurrentAgreement(this.localStorageCOD.getCodFormData(1, 'agreement_by_category'));
|
|
3173
3173
|
if (changes['initialData'] && this.initialData != null && !this.dataPreviusCodData && !this.isEditCod && this.isRenovation === false) {
|
|
3174
3174
|
this.processData(this.initialData);
|
|
3175
|
+
this.cdRef.detectChanges();
|
|
3175
3176
|
}
|
|
3176
3177
|
if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false) {
|
|
3177
3178
|
this.processData(this.dataPreviusCodData);
|
|
@@ -3188,8 +3189,9 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3188
3189
|
this.cdRef.detectChanges();
|
|
3189
3190
|
}
|
|
3190
3191
|
else if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && !this.isEditCod && this.courseSelectRenovation && this.isRenovation === true) {
|
|
3191
|
-
this.disableFormControls();
|
|
3192
3192
|
this.setDataCodRenovationSelect();
|
|
3193
|
+
this.isDisabledSel = true;
|
|
3194
|
+
this.disableFormControls();
|
|
3193
3195
|
this.cdRef.detectChanges();
|
|
3194
3196
|
}
|
|
3195
3197
|
}
|
|
@@ -5906,6 +5908,10 @@ class AttendanceService extends IPTGeneralService {
|
|
|
5906
5908
|
let serviceUrl = `${this.SERVICE_URL}obtain/attendances/students/by/course/${courseCode}`;
|
|
5907
5909
|
return this.http.get(serviceUrl);
|
|
5908
5910
|
}
|
|
5911
|
+
obtainAttendancessByCourse(courseCode) {
|
|
5912
|
+
let serviceUrl = `${this.SERVICE_URL}obtain/attendances/by/course/${courseCode}`;
|
|
5913
|
+
return this.http.get(serviceUrl);
|
|
5914
|
+
}
|
|
5909
5915
|
}
|
|
5910
5916
|
AttendanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AttendanceService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5911
5917
|
AttendanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AttendanceService, providedIn: 'root' });
|