{{-- Mottagare för utskick (DESIGN.md Page patterns 4, detail with statistics; #2957 slice 3a, card #3017). Same data and query parameters as before the reskin: SendoutController@receivers paginates the sendout's stats, "status" (0 sent, 2 opened, 1 bounced) and "link" filter them. Page head with the subject and a quiet way back to the sendout, the totals as tiles (partials/totals, the nh variant of partials/stats) and the receivers table (partials/listReceivers). --}} @extends('layouts.nuhet') @section('_pageTitle', __('sendout.receivers.pageTitle')) @section('pagename', __('sendout.receiverList')) @section('page')

{{ $sendout->subject }}

{{ __('sendout.receivers.lead') }}

@if ($word = $sendout->statusLabelKey())

{{ __($word) }} {{ \App\Support\DisplayDate::timestamp($sendout->start_time) }}

@endif
@if (auth()->user()->hasPermission('receiverEdit'))
@csrf {{ __('sendout.stats.deactivate') }}
@endif
@include('partials.nh-report-tabs', ['reportKind' => 'email', 'reportId' => $sendout->id, 'reportTab' => 'receivers'])

{{ __('sendout.receivers.totals') }}

@include('sendout.partials.totals', ['sendout' => $sendout])

{{ __('sendout.receiverList') }}

@include('sendout.partials.listReceivers', ['data' => $stats, 'links' => $links, 'sendout' => $sendout])
@include('partials.nh-report-action-dialog')
@endsection @push('scripts') @endpush