iptdevs-design-system 2.7.48 → 2.7.49
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 +4 -1
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +2 -1
- package/esm2020/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.mjs +2 -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
|
@@ -3079,7 +3079,7 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
3079
3079
|
this.codFormStepTwo.controls['country'].setValue(country);
|
|
3080
3080
|
let iso = '';
|
|
3081
3081
|
if (country === '1')
|
|
3082
|
-
iso = '
|
|
3082
|
+
iso = 'nul';
|
|
3083
3083
|
if (country === '2')
|
|
3084
3084
|
iso = 'col';
|
|
3085
3085
|
if (country === '3')
|
|
@@ -3333,9 +3333,12 @@ 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
|
+
console.log(params);
|
|
3336
3338
|
let dataFinancing = [];
|
|
3337
3339
|
let index = 1; // Indicador de cant. de cuotas
|
|
3338
3340
|
let momentJs = moment(params.date).add('1', 'days');
|
|
3341
|
+
console.log(momentJs);
|
|
3339
3342
|
if (this.validateSunday(momentJs.toDate())) {
|
|
3340
3343
|
Swal.fire({
|
|
3341
3344
|
title: 'Fecha inválida',
|
|
@@ -3576,6 +3579,7 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3576
3579
|
quotaTimes: this.codPrices.filter(codPrice => codPrice.code === Number(this.codFormStepFour.controls['quota_times'].value))[0].fee_number,
|
|
3577
3580
|
totalPrice: this.codFormStepFour.controls['total_price'].value
|
|
3578
3581
|
};
|
|
3582
|
+
console.log(params);
|
|
3579
3583
|
this.dataFinancing = this.calculateQuotesService.calculateQuotes(params);
|
|
3580
3584
|
this.isFinancing = true;
|
|
3581
3585
|
this.financingData.emit(this.dataFinancing);
|