diff --git a/app/Http/Livewire/ShowPlanes.php b/app/Http/Livewire/ShowPlanes.php index 04b0169..2116345 100755 --- a/app/Http/Livewire/ShowPlanes.php +++ b/app/Http/Livewire/ShowPlanes.php @@ -311,7 +311,7 @@ class ShowPlanes extends Component if (is_string($this->fecha_inicial_renovar)) { $this->fecha_inicial_renovar = \Carbon\Carbon::createFromFormat('Y-m-d', $this->fecha_inicial_renovar); } - dd($this->fecha_inicial_renovar); + // Ahora puedes calcular la diferencia en días $this->tiempo_usuario = $this->fecha_final_renovar->diffInDays($this->fecha_inicial_renovar);