{{-- Receivers step of the phased sendout forms (Skapa utskick, Utskick för samtycke; #2957 slice 3). Uses from the including form: $lists (with receivers_count, sendable_count), $checked, $checkedCount, $skippedCount, $emailLimit (null: no monthly limit check), $usageHigh, $company, $invalid, $describedBy. A list's comment and its count go on two lines of the row's sub text. Params: $step (number shown), $help (true: show the contextual help panel and the import link for an empty list, card #3176; the normal sendout only, never the consent sendout whose receivers lack consent), $text (hint, listCount, listNobody, totalSkipped: translated or with :placeholders). --}}

{{ __('sendout.create.receiversStep') }}

@if ($lists->isEmpty())

{{ __('taggingSendout.create.noLists') }}

{{ __('taggingSendout.create.createList') }}
@if ($help ?? false) @can('receiverImport')

{{ __('help.sendout.noReceivers') }}

{{ __('help.sendout.import') }}
@endcan @endif @else

{{ $text['hint'] }}

@if ($help ?? false)

{{ __('help.sendout.counted') }}

{{ __('help.sendout.atSend') }}

@endif
@foreach ($lists as $list) @php $countText = $list->sendable_count > 0 ? strtr($text['listCount'], [':active' => formatNumber($list->sendable_count), ':total' => formatNumber($list->receivers_count)]) : $text['listNobody']; @endphp @endforeach
@error('receiverList')

{{ $message }}

@enderror
{{ $audienceCounts === null ? __('taggingSendout.count.unavailable') : formatNumber($checkedCount) }}{{ __('taggingSendout.create.totalLabel') }}
@if ($emailLimit !== null) @endif @endif @if ($usageHigh) {{ __('sendout.form.sendoutsLeft', [ 'sendouts_left' => formatNumber(max(0, $company->sumMonthStats()['emails_left'])), 'sendouts_total' => formatNumber($company->package->max_email_sendouts + $company->extra_sendouts), ]) }} {{ __('global.upgradePackage') }} @endif