iptdevs-design-system 3.1.58 → 3.1.60

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.
@@ -4173,7 +4173,7 @@ class CodFormComponent {
4173
4173
  this.commercialService = commercialService;
4174
4174
  this.okCreatedCOD = new EventEmitter();
4175
4175
  this.allowedRoles = [
4176
- 30, 31, 32, 40, 41, 42,
4176
+ 30, 31, 32, 40, 41, 42, 50, 51, 52
4177
4177
  ];
4178
4178
  this.currentStep = 0;
4179
4179
  this.formTitle = 'Formulario para creación del COD';
@@ -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' });