Update ShowPlanes.php

This commit is contained in:
lizandrogd
2024-05-11 16:00:40 -05:00
parent f219bf88ba
commit 4ab9b18535
+1 -1
View File
@@ -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_inicial_renovar->diffInDays($this->fecha_inicial_renovar);