iptdevs-design-system 3.1.898 → 3.1.900
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.
|
@@ -5458,13 +5458,27 @@ class CodFormComponent {
|
|
|
5458
5458
|
}
|
|
5459
5459
|
}
|
|
5460
5460
|
getFormAction(action) {
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5461
|
+
console.log(this.isRenovation);
|
|
5462
|
+
console.log(this.financingData);
|
|
5463
|
+
if (!this.isRenovation) {
|
|
5464
|
+
if (!this.financingData && this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5465
|
+
Swal.fire({
|
|
5466
|
+
title: 'Querido asesor',
|
|
5467
|
+
text: 'Debe hacer el cálculo de las cuotas en el paso 4',
|
|
5468
|
+
icon: 'error'
|
|
5469
|
+
});
|
|
5470
|
+
return;
|
|
5471
|
+
}
|
|
5472
|
+
}
|
|
5473
|
+
else {
|
|
5474
|
+
if (this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5475
|
+
Swal.fire({
|
|
5476
|
+
title: 'Querido asesor',
|
|
5477
|
+
text: 'Debe hacer el cálculo de las cuotas en el paso 4',
|
|
5478
|
+
icon: 'error'
|
|
5479
|
+
});
|
|
5480
|
+
return;
|
|
5481
|
+
}
|
|
5468
5482
|
}
|
|
5469
5483
|
const totalData = [];
|
|
5470
5484
|
this.subscription = this.codFormControls.getControlValues().subscribe((controls) => {
|