From 5c105455297e803d90949a8395ef44114f73d9a4 Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Sat, 11 May 2024 16:03:19 -0500 Subject: [PATCH] Update ShowPlanes.php --- app/Http/Livewire/ShowPlanes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {