iptdevs-design-system 3.1.306 → 3.1.308

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.
@@ -4047,6 +4047,10 @@ class CodFormStepFourComponent extends CodFormSteps {
4047
4047
  else {
4048
4048
  this.isDisabledSel = false;
4049
4049
  }
4050
+ if (this.initialData.cod_renovation == true && this.isEditCod == false) {
4051
+ this.setDataFromPreviusCodPrices();
4052
+ this.isDisabledSel = true;
4053
+ }
4050
4054
  if (this.initialData.cod_price != null) {
4051
4055
  this.setDataFromPreviusCodPrices();
4052
4056
  this.showTable();
@@ -4714,7 +4718,7 @@ class CodFormComponent {
4714
4718
  1, 30, 31, 32, 40, 41, 42, 50, 51, 52,
4715
4719
  ];
4716
4720
  this.currentStep = 0;
4717
- this.formTitle = 'Formulario para creación del COD';
4721
+ this.formTitle = '';
4718
4722
  this.formSteps = 5;
4719
4723
  this.isLoading = false;
4720
4724
  this.loaderMessage = '';
@@ -4733,7 +4737,7 @@ class CodFormComponent {
4733
4737
  }
4734
4738
  this.formTitle = 'Formulario para verificar y editar información del COD actual';
4735
4739
  }
4736
- else if (this.editCod == false) {
4740
+ else if (this.dataFromPreviusCodData.cod_renovation == false && this.editCod == false) {
4737
4741
  this.formTitle = 'Formulario para creación del COD';
4738
4742
  }
4739
4743
  else if (this.dataFromPreviusCodData.cod_renovation == true && this.editCod == false) {