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