iptdevs-design-system 3.1.151 → 3.1.153
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/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/esm2020/lib/core/models/user/user-rq.model.mjs +1 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +5 -6
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -6
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/user/user-rq.model.d.ts +5 -0
- package/lib/core/services/user-service/user-service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -874,6 +874,11 @@ class UserService extends IPTGeneralService {
|
|
|
874
874
|
this.generateRequestParams(params);
|
|
875
875
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
876
876
|
}
|
|
877
|
+
obtainStudentOrUserEktByConcept(params) {
|
|
878
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/students/by/type/concept/in/payments';
|
|
879
|
+
this.generateRequestParams(params);
|
|
880
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
881
|
+
}
|
|
877
882
|
}
|
|
878
883
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
879
884
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
@@ -3240,7 +3245,6 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3240
3245
|
this.courseService.getAvailableCoursesByLevAgreeCType(request_availibleCourses).subscribe((response) => {
|
|
3241
3246
|
if (response.data) {
|
|
3242
3247
|
let courses = response.data;
|
|
3243
|
-
console.log(response.data);
|
|
3244
3248
|
this.hasAvailableCourse = true;
|
|
3245
3249
|
courses.forEach(course => {
|
|
3246
3250
|
let scheduleParts = course.course_schedule[0].split(" ");
|
|
@@ -3860,7 +3864,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3860
3864
|
this.validateErrors();
|
|
3861
3865
|
// this.getCodPricesByAgreement();
|
|
3862
3866
|
this.getValuesOfStepOneComponent();
|
|
3863
|
-
console.log('changes step one');
|
|
3864
3867
|
}
|
|
3865
3868
|
getValuesOfStepOneComponent() {
|
|
3866
3869
|
// Tipo de curso seleccionado
|
|
@@ -4056,7 +4059,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4056
4059
|
quotaTimes: Number(this.codFormStepFour.controls['fee_number'].value),
|
|
4057
4060
|
totalPrice: this.codFormStepFour.controls['total_price'].value,
|
|
4058
4061
|
};
|
|
4059
|
-
console.log(params);
|
|
4060
4062
|
this.dataFinancing = this.calculateQuotesService.calculateQuotes(params);
|
|
4061
4063
|
this.isFinancing = true;
|
|
4062
4064
|
this.financingData.emit(this.dataFinancing);
|
|
@@ -4088,7 +4090,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4088
4090
|
course_modality: Number(this.localStorageCOD.getCodFormData(1, 'course_modality')),
|
|
4089
4091
|
payment_method: parseInt(paymentMethod)
|
|
4090
4092
|
};
|
|
4091
|
-
console.log(request);
|
|
4092
4093
|
this.commercialService.ObtainCodPrices(request).subscribe((response) => {
|
|
4093
4094
|
if (response.data != null) {
|
|
4094
4095
|
this.dataPrices = response.data;
|
|
@@ -4132,7 +4133,6 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4132
4133
|
this.resetLocalStorage(this.controls);
|
|
4133
4134
|
}
|
|
4134
4135
|
selectLevels(dataPayment) {
|
|
4135
|
-
console.log(dataPayment);
|
|
4136
4136
|
if (this.codFormStepFour.get('payment_method')?.value == 1) {
|
|
4137
4137
|
this.codFormStepFour.controls['quota_times'].setValue(dataPayment.code);
|
|
4138
4138
|
this.codFormStepFour.controls['total_price'].setValue(dataPayment.enrollment);
|
|
@@ -4629,7 +4629,6 @@ class CodFormComponent {
|
|
|
4629
4629
|
academic_plan: data.filter(data => data.control === 'academic_plan')[0].value,
|
|
4630
4630
|
code_refers: data.filter(data => data.control === 'code_refers')[0].value,
|
|
4631
4631
|
};
|
|
4632
|
-
console.log(request);
|
|
4633
4632
|
return request;
|
|
4634
4633
|
}
|
|
4635
4634
|
changeStep(step) {
|