iptdevs-design-system 2.7.49 → 2.7.50
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 +2 -3
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +2 -2
- package/fesm2015/iptdevs-design-system.mjs +2 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2903,7 +2903,7 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
2903
2903
|
courses.forEach(course => {
|
|
2904
2904
|
this.availibleCourses.push({
|
|
2905
2905
|
code: course.code,
|
|
2906
|
-
name: `Curso ${course.modality === 1 ? 'Presencial' : 'Virtual'} ${course.course_type.name} (${course.english_level}) - Teacher ${course.teacher}, Fecha de inicio: ${course.to_start}`
|
|
2906
|
+
name: `Curso ${course.modality.code === 1 ? 'Presencial' : 'Virtual'} ${course.course_type.name} (${course.english_level}) - Teacher ${course.teacher}, Fecha de inicio: ${course.to_start}`
|
|
2907
2907
|
});
|
|
2908
2908
|
});
|
|
2909
2909
|
}
|
|
@@ -3333,11 +3333,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
3333
3333
|
class CalculateQuotesService {
|
|
3334
3334
|
constructor() { }
|
|
3335
3335
|
calculateQuotes(params) {
|
|
3336
|
-
console.log('service calculate qotes');
|
|
3337
3336
|
console.log(params);
|
|
3338
3337
|
let dataFinancing = [];
|
|
3339
3338
|
let index = 1; // Indicador de cant. de cuotas
|
|
3340
|
-
let momentJs = moment(params.date).add(
|
|
3339
|
+
let momentJs = moment(params.date).add(1, 'days');
|
|
3341
3340
|
console.log(momentJs);
|
|
3342
3341
|
if (this.validateSunday(momentJs.toDate())) {
|
|
3343
3342
|
Swal.fire({
|