iptdevs-design-system 2.7.81 → 2.7.83

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.
@@ -2228,28 +2228,28 @@ class LocalStorageCODService {
2228
2228
  constructor() { }
2229
2229
  getCodFormData(step, control) {
2230
2230
  if (step === 1)
2231
- return localStorage.getItem(`COD FORM - step1(${control})`);
2231
+ return sessionStorage.getItem(`COD FORM - step1(${control})`);
2232
2232
  if (step === 2)
2233
- return localStorage.getItem(`COD FORM - step2(${control})`);
2233
+ return sessionStorage.getItem(`COD FORM - step2(${control})`);
2234
2234
  if (step === 3)
2235
- return localStorage.getItem(`COD FORM - step3(${control})`);
2235
+ return sessionStorage.getItem(`COD FORM - step3(${control})`);
2236
2236
  if (step === 4)
2237
- return localStorage.getItem(`COD FORM - step4(${control})`);
2237
+ return sessionStorage.getItem(`COD FORM - step4(${control})`);
2238
2238
  if (step === 5)
2239
- return localStorage.getItem(`COD FORM - step5(${control})`);
2239
+ return sessionStorage.getItem(`COD FORM - step5(${control})`);
2240
2240
  return null;
2241
2241
  }
2242
2242
  setCodFormData(step, control, value) {
2243
2243
  if (step === 1)
2244
- localStorage.setItem(`COD FORM - step1(${control})`, value);
2244
+ sessionStorage.setItem(`COD FORM - step1(${control})`, value);
2245
2245
  if (step === 2)
2246
- localStorage.setItem(`COD FORM - step2(${control})`, value);
2246
+ sessionStorage.setItem(`COD FORM - step2(${control})`, value);
2247
2247
  if (step === 3)
2248
- localStorage.setItem(`COD FORM - step3(${control})`, value);
2248
+ sessionStorage.setItem(`COD FORM - step3(${control})`, value);
2249
2249
  if (step === 4)
2250
- localStorage.setItem(`COD FORM - step4(${control})`, value);
2250
+ sessionStorage.setItem(`COD FORM - step4(${control})`, value);
2251
2251
  if (step === 5)
2252
- localStorage.setItem(`COD FORM - step5(${control})`, value);
2252
+ sessionStorage.setItem(`COD FORM - step5(${control})`, value);
2253
2253
  }
2254
2254
  }
2255
2255
  LocalStorageCODService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: LocalStorageCODService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
@@ -2994,9 +2994,11 @@ class CodFormStepTwoComponent extends CodFormSteps {
2994
2994
  this.codFormStepTwo.controls['state'].setValue(this.initialData.student.city[0].state);
2995
2995
  this.codFormStepTwo.controls['city'].setValue(this.initialData.student.city[0].code);
2996
2996
  this.codFormStepTwo.controls['gender'].setValue(this.initialData.student.gender);
2997
- this.codFormStepTwo.controls['grade'].setValue(this.initialData.aditional_information.grade);
2998
- this.codFormStepTwo.controls['student_occupation'].setValue(this.initialData.aditional_information.occupation);
2999
2997
  this.codFormStepTwo.controls['nickname'].setValue(this.initialData.student.nick_name);
2998
+ this.codFormStepTwo.controls['stratum'].setValue(this.initialData.aditional_information.social_stratum);
2999
+ this.codFormStepTwo.controls['student_occupation'].setValue(this.initialData.aditional_information.student_occupation);
3000
+ this.codFormStepTwo.controls['grade'].setValue(this.initialData.aditional_information.educational_level);
3001
+ this.codFormStepTwo.controls['civil_status'].setValue(this.initialData.aditional_information.civil_status);
3000
3002
  this.codFormStepTwo.controls['student_phone_indicative'].setValue(this.initialData.student.phone_indicative);
3001
3003
  this.codFormStepTwo.controls['student_phone_number'].setValue(this.initialData.student.phone_number);
3002
3004
  this.codFormStepTwo.controls['birthdate'].setValue(this.initialData.student.birthdate);
@@ -3096,6 +3098,7 @@ class CodFormStepTwoComponent extends CodFormSteps {
3096
3098
  });
3097
3099
  this.parameterService.getGenders().subscribe((response) => {
3098
3100
  this.genders = response.data;
3101
+ console.log(this.genders);
3099
3102
  });
3100
3103
  this.parameterService.getAllCities().subscribe((response) => {
3101
3104
  this.cities = response.data;
@@ -3259,6 +3262,7 @@ class CodFormStepThreeComponent extends CodFormSteps {
3259
3262
  if (changes['initialData']) {
3260
3263
  if (this.initialData.parent != null) {
3261
3264
  console.log(this.initialData.parent);
3265
+ this.selectNeedAtendant(1);
3262
3266
  this.setValueStepThree();
3263
3267
  }
3264
3268
  else {