iptdevs-design-system 3.1.658 → 3.1.660
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.
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component.mjs +10 -2
- package/fesm2015/iptdevs-design-system.mjs +9 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +9 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7449,7 +7449,7 @@ class CodSelfFormStepFourComponent extends CodSelfManagedSteps {
|
|
|
7449
7449
|
this.messageService = messageService;
|
|
7450
7450
|
this.parameterService = parameterService;
|
|
7451
7451
|
this.completed = new EventEmitter();
|
|
7452
|
-
this.controls = new CodSelfManagedControls().controls[
|
|
7452
|
+
this.controls = new CodSelfManagedControls().controls[3];
|
|
7453
7453
|
this.messageInfo = "Datos de facturacion de acuerdo a tu eleccion";
|
|
7454
7454
|
this.visible = false;
|
|
7455
7455
|
this.messageAlertPlacementTest = false;
|
|
@@ -7464,8 +7464,16 @@ class CodSelfFormStepFourComponent extends CodSelfManagedSteps {
|
|
|
7464
7464
|
}
|
|
7465
7465
|
ngOnInit() {
|
|
7466
7466
|
this.getParamenters();
|
|
7467
|
+
this.getDataUser();
|
|
7467
7468
|
this.startLocalStorageWork();
|
|
7468
7469
|
}
|
|
7470
|
+
getDataUser() {
|
|
7471
|
+
// this.localStorageCOD.getCodFormData(4, 'invoicing_name')
|
|
7472
|
+
this.codSelfFormStepFour.controls['invoicing_name'].setValue(this.localStorageCOD.getCodFormData(1, 'student_name'));
|
|
7473
|
+
this.codSelfFormStepFour.controls['invoicing_Apellido'].setValue(this.localStorageCOD.getCodFormData(1, 'student_last_name'));
|
|
7474
|
+
this.codSelfFormStepFour.controls['invoicing_idType'].setValue(this.localStorageCOD.getCodFormData(1, 'student_id_card_type'));
|
|
7475
|
+
this.codSelfFormStepFour.controls['invoicing_document'].setValue(this.localStorageCOD.getCodFormData(1, 'student_id_card'));
|
|
7476
|
+
}
|
|
7469
7477
|
initForm() {
|
|
7470
7478
|
this.codSelfFormStepFour = this.fb.group({
|
|
7471
7479
|
optionsPayments: ['', [Validators.required]],
|