iptdevs-design-system 2.7.131 → 2.7.132
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.
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +3 -2
- package/fesm2015/iptdevs-design-system.mjs +2 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3575,10 +3575,11 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3575
3575
|
next: (response) => {
|
|
3576
3576
|
if (response.data) {
|
|
3577
3577
|
const codPrices = response.data;
|
|
3578
|
-
this.codPrices = codPrices;
|
|
3578
|
+
// this.codPrices = codPrices;
|
|
3579
3579
|
if (this.codFormStepFour.controls['payment_method'].value === '1') {
|
|
3580
3580
|
// const aux = this.codPrices.filter(codPrice => codPrice.agreement === Number(agreementSelected))[0];
|
|
3581
3581
|
const aux = this.codPrices.filter(codPrice => codPrice.fee_number > 1)[0];
|
|
3582
|
+
this.codPrices.push(aux);
|
|
3582
3583
|
this.codFormStepFour.controls['quota_times'].setValue(aux.code);
|
|
3583
3584
|
this.codFormStepFour.controls['program_price'].setValue(aux.normal_price);
|
|
3584
3585
|
}
|