iptdevs-design-system 3.1.890 → 3.1.891

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.
@@ -4740,8 +4740,9 @@ class CodFormStepFourComponent extends CodFormSteps {
4740
4740
  this.isDisabledSel = true;
4741
4741
  }
4742
4742
  if (this.initialData.cod_price != null) {
4743
- this.setDataFromPreviusCodPrices();
4744
- this.showTable();
4743
+ // this.setDataFromPreviusCodPrices();
4744
+ this.resetForm();
4745
+ // this.showTable();
4745
4746
  }
4746
4747
  }
4747
4748
  }
@@ -4752,6 +4753,10 @@ class CodFormStepFourComponent extends CodFormSteps {
4752
4753
  this.codFormStepFour.controls['payment_date'].enable();
4753
4754
  }
4754
4755
  }
4756
+ resetForm() {
4757
+ // this.resetLocalStorage(this.controls);
4758
+ this.codFormStepFour.reset();
4759
+ }
4755
4760
  // ngOnInit(): void {
4756
4761
  // // this.cleanComponent();
4757
4762
  // this.initForm();