{{-- Export form of Exportera mottagare (#2957 slice 4a, card #3018). Included by receiver/export only. Same fields and rules as before: "export" offers every company list that has receivers (0 exports all receivers), consentFilter / inactive / blacklist start from the query string, and the submit stays disabled while no list has any receivers. --}} @php $receiverLists = auth()->user()->company->receiverLists() ->withCount('receivers') ->get() ->filter(fn ($list) => $list->receivers_count > 0); $selectedList = (string) old('export', '0'); $consent = (string) request('consentFilter', '0'); $consentOptions = [ 0 => __('receiver.form.consentStatusAll'), 1 => __('receiver.form.consentStatusConsented'), 2 => __('receiver.form.consentStatusNotConsent'), ]; @endphp