iptdevs-design-system 2.7.63 → 2.7.64
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 -1
- package/esm2020/lib/cod/logic/calculate-quotes.service.mjs +4 -2
- package/fesm2015/iptdevs-design-system.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3384,7 +3384,9 @@ class CalculateQuotesService {
|
|
|
3384
3384
|
return plusMonthDate;
|
|
3385
3385
|
}
|
|
3386
3386
|
getStringDate(originDate) {
|
|
3387
|
-
|
|
3387
|
+
let month = originDate.getMonth() + 1;
|
|
3388
|
+
let stringMonth = month < 10 ? '0' + month : month;
|
|
3389
|
+
return originDate.getFullYear() + '-' + stringMonth + '-' + originDate.getDate();
|
|
3388
3390
|
}
|
|
3389
3391
|
}
|
|
3390
3392
|
CalculateQuotesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CalculateQuotesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -3796,6 +3798,8 @@ class CodFormComponent {
|
|
|
3796
3798
|
saveFinancingData(data) {
|
|
3797
3799
|
if (data) {
|
|
3798
3800
|
const dates = [];
|
|
3801
|
+
console.log('-----');
|
|
3802
|
+
console.log(data);
|
|
3799
3803
|
data.forEach(p => {
|
|
3800
3804
|
const date = p[2].split(',')[1];
|
|
3801
3805
|
const formattedDate = new Date(date);
|