iptdevs-design-system 3.1.584 → 3.1.586

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.
@@ -6543,8 +6543,6 @@ class CodSelfManagedControls {
6543
6543
  { name: 'quota_times', required: true, description: 'Cantidad de cuotas' },
6544
6544
  { name: 'total_price', required: true, description: 'Precio total de la matricula' },
6545
6545
  { name: 'paid_level', required: true, description: 'Niveles pagos' },
6546
- { name: 'quota_price', required: true, description: 'Valor de Cuota' },
6547
- { name: 'fee_number', required: true, description: 'Cuotas' },
6548
6546
  ],
6549
6547
  // [
6550
6548
  // { name: 'marketing_reasons', required: true, description: '¿Cómo se enteró del programa?' },
@@ -7168,13 +7166,9 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
7168
7166
  this.initForm();
7169
7167
  }
7170
7168
  initForm() {
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);
7175
7169
  this.codSelfFormStepThree = this.fb.group({
7176
7170
  program_price: [{ value: '', disabled: true }, [Validators.required]],
7177
- payment_date: [currentDate, [Validators.required]],
7171
+ payment_date: ['', [Validators.required]],
7178
7172
  payment_method: ['', [Validators.required]],
7179
7173
  quota_times: [{ value: '', disabled: true }, [Validators.required]],
7180
7174
  total_price: [{ value: '', disabled: true }, [Validators.required]],
@@ -7186,7 +7180,8 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
7186
7180
  }
7187
7181
  ngOnInit() {
7188
7182
  this.startLocalStorageWork();
7189
- // this.valuesInitialSchedule();
7183
+ const currentDate = new Date().toISOString().split('T')[0];
7184
+ this.codSelfFormStepThree.controls['payment_date'].setValue(currentDate);
7190
7185
  }
7191
7186
  startLocalStorageWork() {
7192
7187
  this.controls.forEach(control => {
@@ -7231,7 +7226,7 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
7231
7226
  this.codFormControls.changeValue(3, control.name, true);
7232
7227
  if (change === '2') {
7233
7228
  if (control.name === 'quota_times')
7234
- this.codFormControls.changeValue(4, control.name, false);
7229
+ this.codFormControls.changeValue(3, control.name, false);
7235
7230
  }
7236
7231
  });
7237
7232
  }