diff --git a/app/Http/Livewire/ShowPlanes.php b/app/Http/Livewire/ShowPlanes.php index a7c05f5..f32fed1 100755 --- a/app/Http/Livewire/ShowPlanes.php +++ b/app/Http/Livewire/ShowPlanes.php @@ -222,8 +222,8 @@ class ShowPlanes extends Component public function calcularFechas() { - $this->fecha_inicial_renovar = now()->format('Y-m-d H:i:s'); - $this->fecha_final_renovar = now()->addDays(30)->format('Y-m-d H:i:s'); + $this->fecha_inicial_renovar = Carbon::now()->format('Y-m-d H:i:s'); + $this->fecha_final_renovar = Carbon::now()->addDays(30)->format('Y-m-d H:i:s'); }