iptdevs-design-system 3.2.101 → 3.2.103
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/logic/calculate-quotes.service.mjs +6 -3
- package/esm2020/lib/core/services/course-service/course-service.model.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/services/course-service/course-service.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4887,6 +4887,11 @@ class CourseService extends IPTGeneralService {
|
|
|
4887
4887
|
this.generateRequestParams(params);
|
|
4888
4888
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
4889
4889
|
}
|
|
4890
|
+
acceptanceOfStudentCourseChange(params) {
|
|
4891
|
+
const serviceUrl = this.SERVICE_URL + 'acceptance/of/student/course/change';
|
|
4892
|
+
this.generateRequestParams(params);
|
|
4893
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4894
|
+
}
|
|
4890
4895
|
getCoursesByStateRefactor(params) {
|
|
4891
4896
|
let serviceUrl = this.SERVICE_URL + 'get/courses/by/state/refactor';
|
|
4892
4897
|
this.generateRequestParams(params);
|
|
@@ -5960,9 +5965,12 @@ class CalculateQuotesService$1 {
|
|
|
5960
5965
|
index = index + 1;
|
|
5961
5966
|
let newJsDate;
|
|
5962
5967
|
if (isSpecialCourseType) {
|
|
5963
|
-
//
|
|
5968
|
+
// TODO: Se cambió index por (index - 1) porque la 1ra cuota comparte fecha con matrícula
|
|
5969
|
+
// y el loop empezaba sumando 2 meses en vez de 1, saltándose un mes.
|
|
5970
|
+
// newJsDate = new Date(params.date);
|
|
5971
|
+
// newJsDate.setMonth(newJsDate.getMonth() + index);
|
|
5964
5972
|
newJsDate = new Date(params.date);
|
|
5965
|
-
newJsDate.setMonth(newJsDate.getMonth() + index);
|
|
5973
|
+
newJsDate.setMonth(newJsDate.getMonth() + (index - 1));
|
|
5966
5974
|
// Adjust if day exceeds max days in month
|
|
5967
5975
|
const maxDays = this.monthsDays[newJsDate.getMonth()];
|
|
5968
5976
|
if (newJsDate.getDate() > maxDays) {
|