iptdevs-design-system 3.1.156 → 3.1.158

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.
@@ -3308,19 +3308,19 @@ class CodFormStepTwoComponent extends CodFormSteps {
3308
3308
  }
3309
3309
  }
3310
3310
  setDataFromUserHistory() {
3311
- this.codFormStepTwo.controls['student_name'].setValue(this.initialData.student.name);
3312
- this.codFormStepTwo.controls['student_last_name'].setValue(this.initialData.student.last_name);
3313
- this.codFormStepTwo.controls['student_id_card_type'].setValue(this.initialData.student.id_card_type);
3314
- this.codFormStepTwo.controls['student_id_card'].setValue(this.initialData.student.id_card);
3315
- this.codFormStepTwo.controls['country'].setValue(this.initialData.student.city[0].country);
3316
- this.codFormStepTwo.controls['state'].setValue(this.initialData.student.city[0].state);
3317
- this.codFormStepTwo.controls['city'].setValue(this.initialData.student.city[0].code);
3318
- this.codFormStepTwo.controls['gender'].setValue(this.initialData.student.gender);
3319
- this.codFormStepTwo.controls['nickname'].setValue(this.initialData.student.nick_name);
3320
- this.codFormStepTwo.controls['student_phone_indicative'].setValue(this.initialData.student.phone_indicative);
3321
- this.codFormStepTwo.controls['student_phone_number'].setValue(this.initialData.student.phone_number);
3322
- this.codFormStepTwo.controls['birthdate'].setValue(this.initialData.student.birthdate);
3323
- this.codFormStepTwo.controls['student_email'].setValue(this.initialData.student.email);
3311
+ this.codFormStepTwo.controls['student_name'].setValue(this.initialData.name);
3312
+ this.codFormStepTwo.controls['student_last_name'].setValue(this.initialData.last_name);
3313
+ this.codFormStepTwo.controls['student_id_card_type'].setValue(this.initialData.id_card_type);
3314
+ this.codFormStepTwo.controls['student_id_card'].setValue(this.initialData.id_card);
3315
+ this.codFormStepTwo.controls['country'].setValue(this.initialData.city[0]?.country);
3316
+ this.codFormStepTwo.controls['state'].setValue(this.initialData.city[0]?.state);
3317
+ this.codFormStepTwo.controls['city'].setValue(this.initialData.city[0]?.code);
3318
+ this.codFormStepTwo.controls['gender'].setValue(this.initialData.gender);
3319
+ this.codFormStepTwo.controls['nickname'].setValue(this.initialData.nick_name);
3320
+ this.codFormStepTwo.controls['student_phone_indicative'].setValue(this.initialData.phone_indicative);
3321
+ this.codFormStepTwo.controls['student_phone_number'].setValue(this.initialData.phone_number);
3322
+ this.codFormStepTwo.controls['birthdate'].setValue(this.initialData.birthdate);
3323
+ this.codFormStepTwo.controls['student_email'].setValue(this.initialData.email);
3324
3324
  }
3325
3325
  setDataFromPreviusCod() {
3326
3326
  this.codFormStepTwo.controls['student_name'].setValue(this.initialData.student.name);