iptdevs-design-system 3.1.150 → 3.1.152
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 +1 -2
- package/esm2020/lib/cod/logic/cod-form-controls.mjs +2 -1
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +1 -5
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +1 -2
- package/fesm2015/iptdevs-design-system.mjs +1 -6
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +1 -6
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2519,6 +2519,7 @@ class CodFormControls {
|
|
|
2519
2519
|
{ name: 'payment_method', required: true, description: 'Método de pago' },
|
|
2520
2520
|
{ name: 'quota_times', required: true, description: 'Cantidad de cuotas' },
|
|
2521
2521
|
{ name: 'total_price', required: true, description: 'Precio total de la matricula' },
|
|
2522
|
+
{ name: 'paid_level', required: true, description: 'Niveles pagos' },
|
|
2522
2523
|
],
|
|
2523
2524
|
[
|
|
2524
2525
|
{ name: 'marketing_reasons', required: true, description: '¿Cómo se enteró del programa?' },
|
|
@@ -3239,7 +3240,6 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3239
3240
|
this.courseService.getAvailableCoursesByLevAgreeCType(request_availibleCourses).subscribe((response) => {
|
|
3240
3241
|
if (response.data) {
|
|
3241
3242
|
let courses = response.data;
|
|
3242
|
-
console.log(response.data);
|
|
3243
3243
|
this.hasAvailableCourse = true;
|
|
3244
3244
|
courses.forEach(course => {
|
|
3245
3245
|
let scheduleParts = course.course_schedule[0].split(" ");
|
|
@@ -3859,7 +3859,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3859
3859
|
this.validateErrors();
|
|
3860
3860
|
// this.getCodPricesByAgreement();
|
|
3861
3861
|
this.getValuesOfStepOneComponent();
|
|
3862
|
-
console.log('changes step one');
|
|
3863
3862
|
}
|
|
3864
3863
|
getValuesOfStepOneComponent() {
|
|
3865
3864
|
// Tipo de curso seleccionado
|
|
@@ -4055,7 +4054,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4055
4054
|
quotaTimes: Number(this.codFormStepFour.controls['fee_number'].value),
|
|
4056
4055
|
totalPrice: this.codFormStepFour.controls['total_price'].value,
|
|
4057
4056
|
};
|
|
4058
|
-
console.log(params);
|
|
4059
4057
|
this.dataFinancing = this.calculateQuotesService.calculateQuotes(params);
|
|
4060
4058
|
this.isFinancing = true;
|
|
4061
4059
|
this.financingData.emit(this.dataFinancing);
|
|
@@ -4087,7 +4085,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4087
4085
|
course_modality: Number(this.localStorageCOD.getCodFormData(1, 'course_modality')),
|
|
4088
4086
|
payment_method: parseInt(paymentMethod)
|
|
4089
4087
|
};
|
|
4090
|
-
console.log(request);
|
|
4091
4088
|
this.commercialService.ObtainCodPrices(request).subscribe((response) => {
|
|
4092
4089
|
if (response.data != null) {
|
|
4093
4090
|
this.dataPrices = response.data;
|
|
@@ -4131,7 +4128,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4131
4128
|
this.resetLocalStorage(this.controls);
|
|
4132
4129
|
}
|
|
4133
4130
|
selectLevels(dataPayment) {
|
|
4134
|
-
console.log(dataPayment);
|
|
4135
4131
|
if (this.codFormStepFour.get('payment_method')?.value == 1) {
|
|
4136
4132
|
this.codFormStepFour.controls['quota_times'].setValue(dataPayment.code);
|
|
4137
4133
|
this.codFormStepFour.controls['total_price'].setValue(dataPayment.enrollment);
|
|
@@ -4628,7 +4624,6 @@ class CodFormComponent {
|
|
|
4628
4624
|
academic_plan: data.filter(data => data.control === 'academic_plan')[0].value,
|
|
4629
4625
|
code_refers: data.filter(data => data.control === 'code_refers')[0].value,
|
|
4630
4626
|
};
|
|
4631
|
-
console.log(request);
|
|
4632
4627
|
return request;
|
|
4633
4628
|
}
|
|
4634
4629
|
changeStep(step) {
|