iptdevs-design-system 3.1.879 → 3.1.880

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.
@@ -3806,9 +3806,9 @@ class CodFormStepOneComponent extends CodFormSteps {
3806
3806
  if (academicPlan) {
3807
3807
  this.selectAcademicPlan(academicPlan);
3808
3808
  }
3809
- const agreementByCategory = this.codFormStepOne.controls['agreement_by_category'].value;
3810
- const englishLevel = this.codFormStepOne.controls['english_level'].value;
3811
- const courseModality = this.codFormStepOne.controls['course_modality'].value;
3809
+ const agreementByCategory = parseInt(this.codFormStepOne.controls['agreement_by_category'].value);
3810
+ const englishLevel = parseInt(this.codFormStepOne.controls['english_level'].value);
3811
+ const courseModality = parseInt(this.codFormStepOne.controls['course_modality'].value);
3812
3812
  if (agreementByCategory && englishLevel && courseModality) {
3813
3813
  console.log("se llama getAvailibleCourses desde setValuesByLocalStorage");
3814
3814
  this.getAvailibleCourses();
@@ -3828,12 +3828,12 @@ class CodFormStepOneComponent extends CodFormSteps {
3828
3828
  // Eventos de los selects
3829
3829
  selectAcademicPlan(academic_plan) {
3830
3830
  if (academic_plan !== 'Plan') {
3831
- this.codFormStepOne.controls['academic_plan'].setValue(academic_plan);
3831
+ this.codFormStepOne.controls['academic_plan'].setValue(parseInt(academic_plan));
3832
3832
  // this.codFormStepOne.controls['agreement_by_category'].setValue(null);
3833
3833
  // this.codFormStepOne.controls['school_name'].setValue(null);
3834
3834
  // this.codFormStepOne.controls['course_type'].setValue(null);
3835
- this.getCourseType(academic_plan);
3836
- this.getAgreementByPlan(academic_plan);
3835
+ this.getCourseType(parseInt(academic_plan));
3836
+ this.getAgreementByPlan(parseInt(academic_plan));
3837
3837
  }
3838
3838
  else {
3839
3839
  this.codFormStepOne.controls['academic_plan'].setValue(null);