Revert "Update ShowServicios.php"

This reverts commit 4d36e3c52d.
This commit is contained in:
lizandrogd
2024-10-24 20:36:45 -05:00
parent 0a47de1871
commit 6d0ccea2a9
+1 -6
View File
@@ -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;