From 92bf7f79703750e627a4e225a74c1b0540c6631d Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 24 Oct 2024 20:36:59 -0500 Subject: [PATCH] Revert "Update ShowServicios.php" This reverts commit 0a47de187101cf73dcf6fde3617f195ac33eced9. --- app/Http/Livewire/ShowServicios.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Http/Livewire/ShowServicios.php b/app/Http/Livewire/ShowServicios.php index 72f3d12..75fc3e8 100755 --- a/app/Http/Livewire/ShowServicios.php +++ b/app/Http/Livewire/ShowServicios.php @@ -351,12 +351,7 @@ class ShowServicios extends Component ->Orderby('inicio', 'ASC') ->withCount('historiales') ->where('estado', 'pendiente') - ->where(function ($query) { - $query->doesntHave('perfil') - ->orWhereHas('perfil', function ($query) { - $query->whereNull('historial_id'); - }); - }) + ->doesntHave('perfil') ->get(); } elseif ((int) $pantalla_servicio < (int) $cantidad_solicitada) { $suma2 = $pantalla_servicio - $pantallas;