iptdevs-design-system 2.7.68 → 2.7.69

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.
@@ -2964,6 +2964,7 @@ class CodFormStepTwoComponent extends CodFormSteps {
2964
2964
  // this.codFormStepTwo.controls['state'].setValue(this.initialData.student.id_card);
2965
2965
  // this.codFormStepTwo.controls['city'].setValue(this.initialData.student.city);
2966
2966
  this.codFormStepTwo.controls['gender'].setValue(this.initialData.student.gender);
2967
+ this.codFormStepTwo.controls['grade'].setValue(this.adicinfoData.grade);
2967
2968
  this.codFormStepTwo.controls['nickname'].setValue(this.initialData.student.nick_name);
2968
2969
  this.codFormStepTwo.controls['student_phone_indicative'].setValue(this.initialData.student.phone_indicative);
2969
2970
  this.codFormStepTwo.controls['student_phone_number'].setValue(this.initialData.student.phone_number);
@@ -3812,6 +3813,8 @@ class CodFormComponent {
3812
3813
  if (changes['codCode']) {
3813
3814
  this.formTitle = 'Formulario para verificar información del COD';
3814
3815
  this.getCodbyCode();
3816
+ this.getAditionalInfoCod(this.dataFromPreviusCodData.aditional_information);
3817
+ this.getDataParent(this.dataFromPreviusCodData.parent);
3815
3818
  }
3816
3819
  else {
3817
3820
  this.formTitle = 'Formulario para creación del COD';
@@ -3901,6 +3904,7 @@ class CodFormComponent {
3901
3904
  };
3902
3905
  this.commercialService.getAdicInfoByCode(request).subscribe((response) => {
3903
3906
  console.log(response.data);
3907
+ this.dataAdicInfo = response.data;
3904
3908
  });
3905
3909
  }
3906
3910
  getDataParent(codeParent) {
@@ -3909,6 +3913,7 @@ class CodFormComponent {
3909
3913
  };
3910
3914
  this.commercialService.getCodParentByCode(request).subscribe((response) => {
3911
3915
  console.log(response.data);
3916
+ this.dataParent = response.data;
3912
3917
  });
3913
3918
  }
3914
3919
  updateCOD(totalData) {