From 6d0ccea2a9c90c9daa9b32a76a9a9633a7464e46 Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 24 Oct 2024 20:36:45 -0500 Subject: [PATCH] Revert "Update ShowServicios.php" This reverts commit 4d36e3c52dc2fc23537a81afff7324299838e7cf. --- 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 9857520..317486b 100755 --- a/app/Http/Livewire/ShowServicios.php +++ b/app/Http/Livewire/ShowServicios.php @@ -350,12 +350,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;