Update ShowPlanes.php

This commit is contained in:
lizandrogd
2024-05-11 16:01:37 -05:00
parent 719a7f9290
commit 2c94c05fb7
+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_final_renovar->diffInDays($this->fecha_inicial_renovar);