From 69aeecf7e0798ae6d588fed1a5e10bc5333b6e91 Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:45:53 -0500 Subject: [PATCH] Update ShowPlanes.php --- app/Http/Livewire/ShowPlanes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); }