diff --git a/app/GrupoDeCompra.php b/app/GrupoDeCompra.php index 0ebac9f..f6dad45 100644 --- a/app/GrupoDeCompra.php +++ b/app/GrupoDeCompra.php @@ -295,9 +295,6 @@ class GrupoDeCompra extends Model public static function barriosMenosPruebaConPedidosAprobados(): Builder { return self::where('nombre', '<>', 'PRUEBA') - ->whereHas('subpedidos', function ($query) { - $query->where('aprobado', true); - }) ->orderBy('region') ->orderBy('nombre'); }