From dc129dac8ac2ff8a97c8252e93d65efb60c4162a Mon Sep 17 00:00:00 2001 From: Felipe Date: Wed, 20 Mar 2024 10:02:12 -0500 Subject: [PATCH] boton no renovar --- app/Http/Livewire/ShowPlanes.php | 14 ++++++++------ app/Http/Livewire/ShowPromociones.php | 13 +++++++------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/app/Http/Livewire/ShowPlanes.php b/app/Http/Livewire/ShowPlanes.php index c5da3b9..aedafbd 100755 --- a/app/Http/Livewire/ShowPlanes.php +++ b/app/Http/Livewire/ShowPlanes.php @@ -227,13 +227,15 @@ class ShowPlanes extends Component 'timer' => '60000', 'toast' => false, 'text' => 'Esta seguro', - 'showConfirmButton' => true, - 'onConfirmed' => 'siRenovar', - 'showDenyButton' => false, - 'onDenied' => 'noRenovar', - 'showCancelButton' => true, 'allowOutsideClick' => false, 'allowEscapeKey' => false, + 'timerProgressBar' => true, + 'showConfirmButton' => true, + 'showDenyButton' => false, + 'showCancelButton' => true, + 'onConfirmed' => 'siRenovar', + 'onDenied' => '', + 'onDismissed' => 'noRenovar', 'cancelButtonText' => 'No, solo renovar', 'confirmButtonText' => 'Si, liberar cuenta', ]); @@ -723,7 +725,7 @@ class ShowPlanes extends Component } else { $this->delete_1 = []; } - + //dd($this->delete_1); } diff --git a/app/Http/Livewire/ShowPromociones.php b/app/Http/Livewire/ShowPromociones.php index 1bbdfdf..9b3f64d 100755 --- a/app/Http/Livewire/ShowPromociones.php +++ b/app/Http/Livewire/ShowPromociones.php @@ -319,14 +319,15 @@ class ShowPromociones extends Component 'timer' => '60000', 'toast' => false, 'text' => '¿Te gustaría realizar la compra ahora y recibir tu pedido tan pronto como haya disponibilidad?.', - 'showConfirmButton' => true, - 'onConfirmed' => 'confirmarCompra', - 'showDenyButton' => false, - 'onDenied' => 'denegarCompra', - 'showCancelButton' => true, 'allowOutsideClick' => false, 'allowEscapeKey' => false, - 'cancelButtonText' => 'No, abandonar.', + 'showConfirmButton' => true, + 'showCancelButton' => false, + 'showDenyButton' => true, + 'onConfirmed' => 'confirmarCompra', + 'onDenied' => 'denegarCompra', + // 'cancelButtonText' => 'No, abandonar.', + 'denyButtonText' => 'No, abandonar.', 'confirmButtonText' => 'Sí, comprar.', ]); }