iptdevs-design-system 3.1.36 → 3.1.38

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
  }
@@ -4724,6 +4727,34 @@ class BudgetService extends IPTGeneralService {
4724
4727
  let serviceUrl = this.SERVICE_URL + 'get/payment/bill/wallets/code/filter/egress/' + codeWallet;
4725
4728
  return this.http.get(serviceUrl, this.httpOptions);
4726
4729
  }
4730
+ getPaymentOverdueStudent() {
4731
+ let serviceUrl = this.SERVICE_URL + 'get/payment/overdue/all/student';
4732
+ return this.http.get(serviceUrl);
4733
+ }
4734
+ getDayPaymentOverdueStudent(codeStudent) {
4735
+ let serviceUrl = this.SERVICE_URL + 'get/day/payment/overdue/student/by/code/' + codeStudent;
4736
+ return this.http.get(serviceUrl);
4737
+ }
4738
+ getPaymentOverdueCourseByCoordinator(params) {
4739
+ let serviceUrl = this.SERVICE_URL + 'post/payment/overdue/course/by/coordinator';
4740
+ this.generateRequestParams(params);
4741
+ return this.http.post(serviceUrl, this.httpOptions);
4742
+ }
4743
+ getPaymentOverdueStudentByCoordinator(params) {
4744
+ let serviceUrl = this.SERVICE_URL + 'post/payment/overdue/student/by/coodinator';
4745
+ this.generateRequestParams(params);
4746
+ return this.http.post(serviceUrl, this.httpOptions);
4747
+ }
4748
+ getPaymentOverdueStudentByCoordinatorAndCourseCode(params) {
4749
+ let serviceUrl = this.SERVICE_URL + 'post/payment/overdue/student/by/coodinatorcourse';
4750
+ this.generateRequestParams(params);
4751
+ return this.http.post(serviceUrl, this.httpOptions);
4752
+ }
4753
+ getObtainCodStudentByCoordinator(params) {
4754
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/cod/stundent/by/coordinator';
4755
+ this.generateRequestParams(params);
4756
+ return this.http.post(serviceUrl, this.httpOptions);
4757
+ }
4727
4758
  }
4728
4759
  BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: BudgetService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
4729
4760
  BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: BudgetService, providedIn: 'root' });