iptdevs-design-system 3.1.59 → 3.1.61

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.
@@ -1588,17 +1588,17 @@ class CreateUserFormComponent {
1588
1588
  }
1589
1589
  setPhoto(type) {
1590
1590
  if (type === 'student')
1591
- this.photo = '../../../assets/user-form-assets/estudiante.jpg';
1591
+ this.photo = '/platform/academic/assets/student.jpg';
1592
1592
  if (type === 'academic')
1593
- this.photo = '../../../assets/user-form-assets/academico.png';
1593
+ this.photo = '/platform/academic/assets/academico.png';
1594
1594
  if (type === 'administrative')
1595
- this.photo = '../../../assets/user-form-assets/administrativo.jpg';
1595
+ this.photo = '/platform/administrative/assets/administrativo.jpg';
1596
1596
  if (type === 'marketing')
1597
- this.photo = '../../../assets/user-form-assets/marketing.jpg';
1597
+ this.photo = '/platform/marketing/assets//marketing.jpg';
1598
1598
  if (type === 'commercial')
1599
- this.photo = '../../../assets/user-form-assets/comercial.jpg';
1599
+ this.photo = '/platform/commercial/assets/user-form-assets/comercial.jpg';
1600
1600
  if (type === 'treasure')
1601
- this.photo = '../../../assets/user-form-assets/administrativo.jpg';
1601
+ this.photo = '/platform/treasure/assets/administrativo.jpg';
1602
1602
  }
1603
1603
  selectRol(role) {
1604
1604
  if (role !== 'Seleccione el rol') {
@@ -4969,6 +4969,11 @@ class AcademicService extends IPTGeneralService {
4969
4969
  this.generateRequestParams(params);
4970
4970
  return this.http.post(serviceUrl, this.httpOptions);
4971
4971
  }
4972
+ getCodByStudentAndCourse(params) {
4973
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/cod/by/student/and/course';
4974
+ this.generateRequestParams(params);
4975
+ return this.http.post(serviceUrl, this.httpOptions);
4976
+ }
4972
4977
  }
4973
4978
  AcademicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AcademicService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
4974
4979
  AcademicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AcademicService, providedIn: 'root' });