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.
@@ -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
- // Special case: add (index) months from params.date
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) {