From 6a30bb1043c745bf694521942a6a10edd4ba3fc6 Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Sat, 11 May 2024 17:22:34 -0500 Subject: [PATCH] eliminar --- app/Http/Livewire/ShowPlanes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/ShowPlanes.php b/app/Http/Livewire/ShowPlanes.php index 4ddccad..4aedc50 100755 --- a/app/Http/Livewire/ShowPlanes.php +++ b/app/Http/Livewire/ShowPlanes.php @@ -279,7 +279,7 @@ class ShowPlanes extends Component { $id = $this->id_cuentaVer; - $historial = Historial_cuenta::where('cuenta_id', $id)->first(); + $historial = Historial_cuenta::where('cuenta_id', $id)->get(); $cuenta_renovar = Cuentas::find($id);