iptdevs-design-system 3.2.100 → 3.2.101
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.
|
@@ -5934,15 +5934,16 @@ class CalculateQuotesService$1 {
|
|
|
5934
5934
|
}).format(Math.round(parseFloat(params.totalPrice.toString()))),
|
|
5935
5935
|
this.getStringDate(dateJs)
|
|
5936
5936
|
];
|
|
5937
|
-
//
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5937
|
+
// TODO: Para técnicas financiado, matrícula y 1ra cuota deben tener la misma fecha (igual que semestral).
|
|
5938
|
+
// Se comenta el +1 mes que separaba la cuota 0 de la cuota 1 en técnicas.
|
|
5939
|
+
// let firstQuotaDate = isSpecialCourseType ? new Date(params.date) : dateJs;
|
|
5940
|
+
// if (isSpecialCourseType) {
|
|
5941
|
+
// firstQuotaDate.setMonth(firstQuotaDate.getMonth() + 1);
|
|
5942
|
+
// }
|
|
5943
|
+
let firstQuotaDate = new Date(dateJs);
|
|
5944
|
+
const maxDays = this.monthsDays[firstQuotaDate.getMonth()];
|
|
5945
|
+
if (firstQuotaDate.getDate() > maxDays) {
|
|
5946
|
+
firstQuotaDate.setDate(maxDays);
|
|
5946
5947
|
}
|
|
5947
5948
|
let quota = [
|
|
5948
5949
|
index,
|