iptdevs-design-system 3.1.239 → 3.1.240
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-one/cod-form-step-one.component.mjs +11 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3151,6 +3151,16 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3151
3151
|
}
|
|
3152
3152
|
if (changes['dataPreviusCodData']) {
|
|
3153
3153
|
if (this.dataPreviusCodData != null) {
|
|
3154
|
+
const { codFormStepOne } = this;
|
|
3155
|
+
if (this.dataPreviusCodData.edit_course_payment) {
|
|
3156
|
+
// Habilitar edición
|
|
3157
|
+
codFormStepOne.enable();
|
|
3158
|
+
}
|
|
3159
|
+
else {
|
|
3160
|
+
// Deshabilitar edición
|
|
3161
|
+
codFormStepOne.disable();
|
|
3162
|
+
}
|
|
3163
|
+
// this.dataPreviusCodData.edit_course_payment
|
|
3154
3164
|
this.getAgreementByPlan(this.dataPreviusCodData.course_type.academic_plan.code);
|
|
3155
3165
|
this.getCourseType(this.dataPreviusCodData.course_type.academic_plan.code);
|
|
3156
3166
|
this.codFormStepOne.controls['english_level'].setValue(this.dataPreviusCodData.english_level.code);
|