iptdevs-design-system 3.2.87 → 3.2.89

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.
@@ -3678,9 +3678,7 @@ class MediaService extends IPTGeneralService {
3678
3678
  formData.append('params[token]', params.token);
3679
3679
  formData.append('params[code_student]', params.code_student.toString());
3680
3680
  formData.append('params[type_document]', params.type_document.toString());
3681
- if (params.file) {
3682
- formData.append('file', params.file, params.file.name);
3683
- }
3681
+ formData.append('file', params.file);
3684
3682
  return this.http.post(serviceUrl, formData);
3685
3683
  }
3686
3684
  }
@@ -8281,6 +8279,11 @@ class AcademicService extends IPTGeneralService {
8281
8279
  let serviceUrl = `${this.SERVICE_URL}obtain/course/status/by/code/${courseCode}`;
8282
8280
  return this.http.get(serviceUrl);
8283
8281
  }
8282
+ ObtainAttendanceForCodHistoryByStudent(param) {
8283
+ const serviceUrl = this.SERVICE_URL + 'post/attendance/all/cod/by/student';
8284
+ this.generateRequestParams(param);
8285
+ return this.http.post(serviceUrl, this.httpOptions);
8286
+ }
8284
8287
  }
8285
8288
  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 });
8286
8289
  AcademicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AcademicService, providedIn: 'root' });