diff --git a/app/Http/Livewire/ShowPlanes.php b/app/Http/Livewire/ShowPlanes.php index 2899398..5c2b556 100755 --- a/app/Http/Livewire/ShowPlanes.php +++ b/app/Http/Livewire/ShowPlanes.php @@ -319,7 +319,7 @@ class ShowPlanes extends Component $this->tiempo_usuario = $this->fecha_final_renovar->diffInDays($this->fecha_inicial_renovar); $id = $this->id_cuentaVer; - dd( $this->tiempo_usuario); + dd( date('Y-m-d', strtotime(strval($this->fecha_inicial_renovar)))); // Corrección 2: Verifica que la cuenta exista antes de intentar actualizarla $cuenta = Cuentas::find($id); if ($cuenta) {