iptdevs-design-system 3.1.372 → 3.1.374

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.
@@ -3199,17 +3199,7 @@ class CodFormStepOneComponent extends CodFormSteps {
3199
3199
  this.processData(this.initialData);
3200
3200
  this.cdRef.detectChanges();
3201
3201
  }
3202
- else {
3203
- console.log("llegue aqui por alguna razon del la condicion");
3204
- this.codFormStepOne.controls['academic_plan'].setValue(null);
3205
- this.codFormStepOne.controls['course_type'].setValue(null);
3206
- this.codFormStepOne.controls['agreement_by_category'].setValue(null);
3207
- this.codFormStepOne.controls['english_level'].setValue(null);
3208
- this.codFormStepOne.controls['availible_courses'].setValue(null);
3209
- this.codFormStepOne.controls['course_modality'].setValue(null);
3210
- // this.cdRef.detectChanges();
3211
- }
3212
- if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false) {
3202
+ else if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && this.isEditCod && this.isRenovation === false) {
3213
3203
  this.processData(this.dataPreviusCodData);
3214
3204
  if (this.isEditCod && !this.dataPreviusCodData.edit_course_payment) {
3215
3205
  this.isDisabledSel = true;
@@ -5989,6 +5979,10 @@ class AttendanceService extends IPTGeneralService {
5989
5979
  let serviceUrl = `${this.SERVICE_URL}obtain/attendances/by/assigned/${courseCode}`;
5990
5980
  return this.http.get(serviceUrl);
5991
5981
  }
5982
+ obtainCourseEventByCode(code) {
5983
+ let serviceUrl = `${this.SERVICE_URL}obtain/course/event/by/code/${code}`;
5984
+ return this.http.get(serviceUrl);
5985
+ }
5992
5986
  }
5993
5987
  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 });
5994
5988
  AttendanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AttendanceService, providedIn: 'root' });