iptdevs-design-system 3.1.898 → 3.1.899

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