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