iptdevs-design-system 3.1.899 → 3.1.901
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,8 +5458,10 @@ class CodFormComponent {
|
|
|
5458
5458
|
}
|
|
5459
5459
|
}
|
|
5460
5460
|
getFormAction(action) {
|
|
5461
|
-
|
|
5462
|
-
|
|
5461
|
+
console.log(this.isRenovation);
|
|
5462
|
+
console.log(this.financingData);
|
|
5463
|
+
if (this.isRenovation == true) {
|
|
5464
|
+
if (this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5463
5465
|
Swal.fire({
|
|
5464
5466
|
title: 'Querido asesor',
|
|
5465
5467
|
text: 'Debe hacer el cálculo de las cuotas en el paso 4',
|
|
@@ -5467,9 +5469,10 @@ class CodFormComponent {
|
|
|
5467
5469
|
});
|
|
5468
5470
|
return;
|
|
5469
5471
|
}
|
|
5472
|
+
this.financingData = [];
|
|
5470
5473
|
}
|
|
5471
5474
|
else {
|
|
5472
|
-
if (this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5475
|
+
if (!this.financingData && this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5473
5476
|
Swal.fire({
|
|
5474
5477
|
title: 'Querido asesor',
|
|
5475
5478
|
text: 'Debe hacer el cálculo de las cuotas en el paso 4',
|