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);