Update ShowPlanes.php

This commit is contained in:
lizandrogd
2024-11-08 12:31:14 -05:00
parent b41443307b
commit 9075bb9946
+1 -1
View File
@@ -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;