From 719a7f92907962b7d712b370ba0230145e0c1854 Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Sat, 11 May 2024 16:01:31 -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 c742d23..04b0169 100755 --- a/app/Http/Livewire/ShowPlanes.php +++ b/app/Http/Livewire/ShowPlanes.php @@ -313,7 +313,7 @@ class ShowPlanes extends Component } dd($this->fecha_inicial_renovar); // Ahora puedes calcular la diferencia en días - $this->tiempo_usuario = $this->fecha_inicial_renovar->diffInDays($this->fecha_inicial_renovar); + $this->tiempo_usuario = $this->fecha_final_renovar->diffInDays($this->fecha_inicial_renovar); $id = $this->id_cuentaVer; dd( $this->tiempo_usuario);