iptdevs-design-system 2.7.132 → 2.7.134

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.
@@ -3528,6 +3528,7 @@ class CodFormStepFourComponent extends CodFormSteps {
3528
3528
  this.isFinancing = false;
3529
3529
  this.isSemestral = false;
3530
3530
  this.codPrices = [];
3531
+ this.codPricesFilter = [];
3531
3532
  // Controls del formulario
3532
3533
  this.controls = new CodFormControls().controls[3];
3533
3534
  }
@@ -3575,11 +3576,10 @@ class CodFormStepFourComponent extends CodFormSteps {
3575
3576
  next: (response) => {
3576
3577
  if (response.data) {
3577
3578
  const codPrices = response.data;
3578
- // this.codPrices = codPrices;
3579
+ this.codPrices = codPrices;
3579
3580
  if (this.codFormStepFour.controls['payment_method'].value === '1') {
3580
- // const aux = this.codPrices.filter(codPrice => codPrice.agreement === Number(agreementSelected))[0];
3581
- const aux = this.codPrices.filter(codPrice => codPrice.fee_number > 1)[0];
3582
- this.codPrices.push(aux);
3581
+ const aux = this.codPrices.filter(codPrice => codPrice.agreement === Number(agreementSelected))[0];
3582
+ // const aux = this.codPrices.filter(codPrice => codPrice.fee_number > 1)[0];
3583
3583
  this.codFormStepFour.controls['quota_times'].setValue(aux.code);
3584
3584
  this.codFormStepFour.controls['program_price'].setValue(aux.normal_price);
3585
3585
  }