iptdevs-design-system 3.1.642 → 3.1.643

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.
@@ -7470,7 +7470,9 @@ class CodSelfFormStepFourComponent {
7470
7470
  this.initForm();
7471
7471
  }
7472
7472
  initForm() {
7473
- this.codSelfFormStepFour = this.fb.group({});
7473
+ this.codSelfFormStepFour = this.fb.group({
7474
+ optionsPayments: ['', [Validators.required]],
7475
+ });
7474
7476
  }
7475
7477
  back() {
7476
7478
  // Movernos al paso anterior
@@ -7501,6 +7503,7 @@ class CodSelfFormStepFourComponent {
7501
7503
  this.selectedOptionPayments = eve;
7502
7504
  this.isSelectionOptionPayments = false;
7503
7505
  console.log(this.selectedOptionPayments);
7506
+ console.log(this.selectedOptionPayments.code);
7504
7507
  if (this.selectedOptionPayments !== null) {
7505
7508
  this.codSelfFormStepFour.controls['optionsPayments'].setValue(this.selectedOptionPayments.code);
7506
7509
  }
@@ -7514,6 +7517,14 @@ class CodSelfFormStepFourComponent {
7514
7517
  // }
7515
7518
  }
7516
7519
  next() {
7520
+ console.log('isSelectionOptionPayments', this.isSelectionOptionPayments);
7521
+ if (this.isSelectionOptionPayments) {
7522
+ this.isSelectionOptionPayments = false;
7523
+ }
7524
+ else {
7525
+ // this.completed.emit(2);
7526
+ console.log('se deberia mover');
7527
+ }
7517
7528
  console.log(this.selectedOptionPayments);
7518
7529
  }
7519
7530
  }