@if($clients->count() > 1)
    <form method="GET" class="d-flex gap-2 align-items-center flex-wrap mb-4">
        <select name="client_id" class="form-control" style="max-width:280px;">
            @foreach($clients as $portalClient)
                <option value="{{ $portalClient->id }}" @selected(optional($client)->id === $portalClient->id)>{{ $portalClient->company_name }}</option>
            @endforeach
        </select>
        @foreach(request()->except('client_id', 'page') as $key => $value)
            <input type="hidden" name="{{ $key }}" value="{{ $value }}">
        @endforeach
        <button class="btn btn-primary" type="submit">Göster</button>
    </form>
@endif
