iptdevs-design-system 3.1.229 → 3.1.231
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 +4 -4
- package/fesm2015/iptdevs-design-system.mjs +3 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4293,17 +4293,17 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4293
4293
|
setDataFromPreviusCodPrices() {
|
|
4294
4294
|
this.codFormStepFour.controls['payment_method'].setValue(this.initialData.cod_payment.lenght == 1 ? 2 : 1);
|
|
4295
4295
|
if (this.codFormStepFour.get('payment_method')?.value == 1) {
|
|
4296
|
-
this.codFormStepFour.controls['quota_times'].setValue(this.initialData.cod_price.
|
|
4296
|
+
this.codFormStepFour.controls['quota_times'].setValue(this.initialData.cod_price.code);
|
|
4297
4297
|
this.codFormStepFour.controls['total_price'].setValue(this.initialData.cod_price.enrollment);
|
|
4298
4298
|
this.codFormStepFour.controls['program_price'].setValue(this.initialData.cod_price.financed_price);
|
|
4299
4299
|
this.codFormStepFour.controls['paid_level'].setValue(this.initialData.cod_price.paid_level);
|
|
4300
4300
|
this.codFormStepFour.controls['fee_number'].setValue(this.initialData.cod_price.fee_number);
|
|
4301
|
-
this.codFormStepFour.controls['quota_price'].setValue(this.initialData.
|
|
4301
|
+
this.codFormStepFour.controls['quota_price'].setValue(this.initialData.cod_payment.lenght);
|
|
4302
4302
|
this.codFormStepFour.controls['payment_date'].setValue(this.initialData.cod_payment[0].timely_date);
|
|
4303
4303
|
this.updateValueAndValidity();
|
|
4304
4304
|
}
|
|
4305
4305
|
else if (this.codFormStepFour.get('payment_method')?.value == 2) {
|
|
4306
|
-
this.codFormStepFour.controls['quota_times'].setValue(
|
|
4306
|
+
this.codFormStepFour.controls['quota_times'].setValue(this.initialData.cod_price.code);
|
|
4307
4307
|
this.codFormStepFour.controls['total_price'].setValue(this.initialData.cod_price.enrollment);
|
|
4308
4308
|
this.codFormStepFour.controls['program_price'].setValue(this.initialData.cod_price.normal_price);
|
|
4309
4309
|
this.codFormStepFour.controls['paid_level'].setValue(this.initialData.cod_price.paid_level);
|