iptdevs-design-system 2.7.48 → 2.7.50

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.
@@ -2903,7 +2903,7 @@ class CodFormStepOneComponent extends CodFormSteps {
2903
2903
  courses.forEach(course => {
2904
2904
  this.availibleCourses.push({
2905
2905
  code: course.code,
2906
- name: `Curso ${course.modality === 1 ? 'Presencial' : 'Virtual'} ${course.course_type.name} (${course.english_level}) - Teacher ${course.teacher}, Fecha de inicio: ${course.to_start}`
2906
+ name: `Curso ${course.modality.code === 1 ? 'Presencial' : 'Virtual'} ${course.course_type.name} (${course.english_level}) - Teacher ${course.teacher}, Fecha de inicio: ${course.to_start}`
2907
2907
  });
2908
2908
  });
2909
2909
  }
@@ -3079,7 +3079,7 @@ class CodFormStepTwoComponent extends CodFormSteps {
3079
3079
  this.codFormStepTwo.controls['country'].setValue(country);
3080
3080
  let iso = '';
3081
3081
  if (country === '1')
3082
- iso = 'null';
3082
+ iso = 'nul';
3083
3083
  if (country === '2')
3084
3084
  iso = 'col';
3085
3085
  if (country === '3')
@@ -3333,9 +3333,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
3333
3333
  class CalculateQuotesService {
3334
3334
  constructor() { }
3335
3335
  calculateQuotes(params) {
3336
+ console.log(params);
3336
3337
  let dataFinancing = [];
3337
3338
  let index = 1; // Indicador de cant. de cuotas
3338
- let momentJs = moment(params.date).add('1', 'days');
3339
+ let momentJs = moment(params.date).add(1, 'days');
3340
+ console.log(momentJs);
3339
3341
  if (this.validateSunday(momentJs.toDate())) {
3340
3342
  Swal.fire({
3341
3343
  title: 'Fecha inválida',
@@ -3576,6 +3578,7 @@ class CodFormStepFourComponent extends CodFormSteps {
3576
3578
  quotaTimes: this.codPrices.filter(codPrice => codPrice.code === Number(this.codFormStepFour.controls['quota_times'].value))[0].fee_number,
3577
3579
  totalPrice: this.codFormStepFour.controls['total_price'].value
3578
3580
  };
3581
+ console.log(params);
3579
3582
  this.dataFinancing = this.calculateQuotesService.calculateQuotes(params);
3580
3583
  this.isFinancing = true;
3581
3584
  this.financingData.emit(this.dataFinancing);