iptdevs-design-system 3.1.335 → 3.1.337
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/cod-form/cod-form.component.mjs +4 -4
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +2 -5
- package/fesm2015/iptdevs-design-system.mjs +4 -7
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +4 -7
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3182,16 +3182,14 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3182
3182
|
this.isDisabledSel = false;
|
|
3183
3183
|
}
|
|
3184
3184
|
if (this.isDisabledSel) {
|
|
3185
|
-
console.log('entreaqui1', this.dataPreviusCodData);
|
|
3186
3185
|
this.disableFormControls();
|
|
3187
3186
|
}
|
|
3188
3187
|
// Forzar detección de cambios
|
|
3189
3188
|
this.cdRef.detectChanges();
|
|
3190
3189
|
}
|
|
3191
3190
|
else if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && !this.isEditCod && this.dataPreviusCodData.cod_renovation && this.courseSelectRenovation) {
|
|
3192
|
-
console.log('llegue aqui2');
|
|
3193
|
-
console.log(this.courseSelectRenovation);
|
|
3194
3191
|
this.setDataCodRenovationSelect();
|
|
3192
|
+
this.disableFormControls();
|
|
3195
3193
|
}
|
|
3196
3194
|
}
|
|
3197
3195
|
disableFormControls() {
|
|
@@ -3204,7 +3202,6 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3204
3202
|
}
|
|
3205
3203
|
processData(data) {
|
|
3206
3204
|
const { codFormStepOne } = this;
|
|
3207
|
-
console.log(data);
|
|
3208
3205
|
this.getAgreementByPlan(data.course_type?.academic_plan.code);
|
|
3209
3206
|
this.getCourseType(data.course_type?.academic_plan.code);
|
|
3210
3207
|
codFormStepOne.controls['english_level'].setValue(data.english_level?.code);
|
|
@@ -4929,7 +4926,7 @@ class CodFormComponent {
|
|
|
4929
4926
|
<h2>Warning!</h2>
|
|
4930
4927
|
`;
|
|
4931
4928
|
if (!response.data.warning.average_score) {
|
|
4932
|
-
alertHtml += `<p>No paso el promedio final
|
|
4929
|
+
alertHtml += `<p>No paso el promedio final</p><br>`;
|
|
4933
4930
|
}
|
|
4934
4931
|
if (!response.data.warning.non_attendance) {
|
|
4935
4932
|
alertHtml += `<p>tuvo mas del 25% de inasistencias</p><br>`;
|
|
@@ -4940,8 +4937,8 @@ class CodFormComponent {
|
|
|
4940
4937
|
alertHtml += `</div>`;
|
|
4941
4938
|
Swal.fire({
|
|
4942
4939
|
html: alertHtml,
|
|
4943
|
-
icon: '
|
|
4944
|
-
showCancelButton: true,
|
|
4940
|
+
icon: 'error',
|
|
4941
|
+
// showCancelButton: true,
|
|
4945
4942
|
confirmButtonText: 'Confirmar',
|
|
4946
4943
|
// cancelButtonText: 'Cancelar',
|
|
4947
4944
|
});
|