iptdevs-design-system 3.2.101 → 3.2.102

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.
@@ -5960,9 +5960,12 @@ class CalculateQuotesService$1 {
5960
5960
  index = index + 1;
5961
5961
  let newJsDate;
5962
5962
  if (isSpecialCourseType) {
5963
- // Special case: add (index) months from params.date
5963
+ // TODO: Se cambió index por (index - 1) porque la 1ra cuota comparte fecha con matrícula
5964
+ // y el loop empezaba sumando 2 meses en vez de 1, saltándose un mes.
5965
+ // newJsDate = new Date(params.date);
5966
+ // newJsDate.setMonth(newJsDate.getMonth() + index);
5964
5967
  newJsDate = new Date(params.date);
5965
- newJsDate.setMonth(newJsDate.getMonth() + index);
5968
+ newJsDate.setMonth(newJsDate.getMonth() + (index - 1));
5966
5969
  // Adjust if day exceeds max days in month
5967
5970
  const maxDays = this.monthsDays[newJsDate.getMonth()];
5968
5971
  if (newJsDate.getDate() > maxDays) {