AH
return Page::query()
->where(static function (Builder $builder) {
$builder
->where('status', 'completed')
->whereIn('type', ['single', 'group']);
})
->orWhere(static function (Builder $builder) {
$builder
->where('status', 'active')
->where('type', 'multi');
})
->get();