diff --git a/app/Http/Livewire/ShowPlanes.php b/app/Http/Livewire/ShowPlanes.php index a7b9d45..56112dd 100755 --- a/app/Http/Livewire/ShowPlanes.php +++ b/app/Http/Livewire/ShowPlanes.php @@ -464,7 +464,7 @@ class ShowPlanes extends Component if ($this->estado == 'activo') { $servicioPantallas = Servicio::find($this->servicio_newCuenta)->pantallas; - $cuentasPendientes = Cuentas::where('estado', 'pendiente')->where('servicio_id', $this->servicio_newCuenta)->take($servicioPantallas)->get(); + $cuentasPendientes = Pendientes::where('estado', 'pendiente')->where('servicio_id', $this->servicio_newCuenta)->take($servicioPantallas)->get(); foreach ($cuentasPendientes as $i => $cuentaPendiente) { $servicioName = $cuentaPendiente->servicio->nombre;