diff --git a/app/Http/Livewire/ShowServicios.php b/app/Http/Livewire/ShowServicios.php index 6de5d36..2e36c36 100755 --- a/app/Http/Livewire/ShowServicios.php +++ b/app/Http/Livewire/ShowServicios.php @@ -473,7 +473,10 @@ class ShowServicios extends Component } catch (Exception $e) { DB::rollBack(); - $this->alert('error', 'Error al comprar: ' . $e->getMessage(), [ + $this->credenciales = false; + $this->cuentas =[]; + + $this->alert('warning', 'Error al comprar: ' . $e->getMessage(), [ 'position' => 'top' ]);