iptdevs-design-system 3.1.583 → 3.1.584

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.
@@ -7164,15 +7164,17 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
7164
7164
  this.feeResponse = false;
7165
7165
  this.thereArePlans = false;
7166
7166
  this.isFinancing = false;
7167
- this.isCalculateQuotesButtonClicked = false;
7168
7167
  this.dataFinancing = [];
7169
7168
  this.initForm();
7170
7169
  }
7171
7170
  initForm() {
7172
- // const currentDate = new Date().toISOString().split('T')[0];
7171
+ const currentDate = new Date().toISOString().split('T')[0];
7172
+ // console.log(currentDate);
7173
+ console.log("new Date()", new Date());
7174
+ console.log("currentDate", currentDate);
7173
7175
  this.codSelfFormStepThree = this.fb.group({
7174
7176
  program_price: [{ value: '', disabled: true }, [Validators.required]],
7175
- payment_date: [new Date(), [Validators.required]],
7177
+ payment_date: [currentDate, [Validators.required]],
7176
7178
  payment_method: ['', [Validators.required]],
7177
7179
  quota_times: [{ value: '', disabled: true }, [Validators.required]],
7178
7180
  total_price: [{ value: '', disabled: true }, [Validators.required]],
@@ -7298,7 +7300,6 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
7298
7300
  this.completed.emit(3);
7299
7301
  }
7300
7302
  showTable() {
7301
- this.isCalculateQuotesButtonClicked = true;
7302
7303
  const total_price = this.codSelfFormStepThree.controls['total_price'].value;
7303
7304
  if ((total_price === 'null') || this.codSelfFormStepThree.invalid) {
7304
7305
  Swal.fire({
@@ -7321,7 +7322,6 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
7321
7322
  this.financingData.emit(this.dataFinancing);
7322
7323
  }
7323
7324
  calculateNewQuotes() {
7324
- this.isCalculateQuotesButtonClicked = false;
7325
7325
  this.isFinancing = false;
7326
7326
  this.financingData.emit(null);
7327
7327
  }