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);