iptdevs-design-system 3.1.37 → 3.1.39

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.
@@ -3157,9 +3157,12 @@ class CodFormStepOneComponent extends CodFormSteps {
3157
3157
  let courses = response.data;
3158
3158
  this.hasAvailableCourse = true;
3159
3159
  courses.forEach(course => {
3160
+ let scheduleParts = course.course_schedule[0].split(" ");
3161
+ let startTime = scheduleParts[3];
3160
3162
  this.availibleCourses.push({
3161
3163
  code: course.code,
3162
- name: `Curso ${course.modality === 1 ? 'Presencial' : 'Virtual'} ${course.course_type.name} (${course.english_level}) - Teacher ${course.teacher}, Fecha de inicio: ${course.to_start}`
3164
+ // name: `Curso ${course.modality === 1 ? 'Presencial' : 'Virtual'} ${course.course_type.name} (${course.english_level}) - Teacher ${course.teacher}, Fecha de inicio: ${course.to_start}`
3165
+ name: `Curso ${course.course_modality.name === 'Presencial' ? 'Presencial' : 'Virtual'} - Teacher ${course.teacher} - Fecha de inicio: ${course.to_start}, Hora de inicio: ${startTime}`
3163
3166
  });
3164
3167
  });
3165
3168
  }
@@ -5029,6 +5032,12 @@ class CertificateService extends IPTGeneralService {
5029
5032
  this.generateRequestParams(params);
5030
5033
  return this.http.post(serviceUrl, this.httpOptions);
5031
5034
  }
5035
+ getCertificateApiUrl() {
5036
+ return this.SERVICE_URL + '/post/certificate';
5037
+ }
5038
+ getCertificatesApiUrl() {
5039
+ return this.SERVICE_URL + 'post/certificates';
5040
+ }
5032
5041
  }
5033
5042
  CertificateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CertificateService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
5034
5043
  CertificateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CertificateService, providedIn: 'root' });