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.', ]); }