fix renovacion

This commit is contained in:
Felipe
2024-04-30 10:58:01 -05:00
parent 9c5e6fc849
commit 5a43dbd3d4
+1 -1
View File
@@ -277,7 +277,7 @@ class ShowPlanes extends Component
{
$id = $this->id_cuentaVer;
$historial = Historial_cuenta::where('cuenta_id', $id)->get();
$historial = Historial_cuenta::where('cuenta_id', $id)->first();
Historiale::where('id', $historial->historiale_id)->update([
'fecha_final' => date('Y-m-d', strtotime(strval($this->fecha_final_renovar))),