iptdevs-design-system 2.7.64 → 2.7.66
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/cod-form/cod-form.component.mjs +3 -8
- package/esm2020/lib/cod/logic/calculate-quotes.service.mjs +1 -2
- package/fesm2015/iptdevs-design-system.mjs +2 -8
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -8
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,6 @@ import { MatIconModule } from '@angular/material/icon';
|
|
|
24
24
|
import { MatButtonModule } from '@angular/material/button';
|
|
25
25
|
import * as i2 from 'primeng/button';
|
|
26
26
|
import { ButtonModule } from 'primeng/button';
|
|
27
|
-
import * as moment from 'moment';
|
|
28
27
|
import { BehaviorSubject, map } from 'rxjs';
|
|
29
28
|
import * as i9 from 'primeng/table';
|
|
30
29
|
import { TableModule } from 'primeng/table';
|
|
@@ -3338,7 +3337,6 @@ class CalculateQuotesService {
|
|
|
3338
3337
|
let index = 1; // Indicador de cant. de cuotas
|
|
3339
3338
|
let dateJs = new Date(params.date);
|
|
3340
3339
|
dateJs.setMilliseconds(dateJs.getMilliseconds() + (1000 * 3600 * 24));
|
|
3341
|
-
console.log(dateJs);
|
|
3342
3340
|
if (dateJs.getDay() === 0) {
|
|
3343
3341
|
Swal.fire({
|
|
3344
3342
|
title: 'Fecha inválida',
|
|
@@ -3798,13 +3796,9 @@ class CodFormComponent {
|
|
|
3798
3796
|
saveFinancingData(data) {
|
|
3799
3797
|
if (data) {
|
|
3800
3798
|
const dates = [];
|
|
3801
|
-
console.log('-----');
|
|
3802
|
-
console.log(data);
|
|
3803
3799
|
data.forEach(p => {
|
|
3804
|
-
const date = p[2]
|
|
3805
|
-
|
|
3806
|
-
const momentDate = moment(formattedDate).format().split('T')[0];
|
|
3807
|
-
dates.push(momentDate);
|
|
3800
|
+
const date = p[2];
|
|
3801
|
+
dates.push(date);
|
|
3808
3802
|
});
|
|
3809
3803
|
this.financingData = dates;
|
|
3810
3804
|
}
|