@php $status = $bulkSend->status(); @endphp
← All bulk sends

{{ strtoupper($bulkSend->channel) }} · {{ $bulkSend->subject ?: \Illuminate\Support\Str::limit($bulkSend->body, 60) }}

Sent by {{ $bulkSend->user?->name ?: '—' }} · {{ $bulkSend->created_at->diffForHumans() }}

{{ $status }}
{{-- Progress card --}}
{{ $bulkSend->sent_count + $bulkSend->failed_count }} / {{ $bulkSend->total_count }}
processed
{{ $bulkSend->sent_count }} sent @if ($bulkSend->failed_count > 0) · {{ $bulkSend->failed_count }} failed @endif
@if ($bulkSend->finished_at) Finished {{ $bulkSend->finished_at->diffForHumans() }} @elseif ($bulkSend->started_at) Started {{ $bulkSend->started_at->diffForHumans() }} @endif
@if ($status === 'running')

Refreshing every 4 seconds…

@endif
{{-- Message preview --}} Message template @if ($bulkSend->subject)
Subject
{{ $bulkSend->subject }}
@endif
Body
{{ $bulkSend->body }}
{{-- Recipients --}} Recipients ({{ $contacts->count() }})
    @foreach ($contacts as $c)
  • {{ $c->name }}
    {{ $bulkSend->channel === 'email' ? ($c->email ?: 'no email') : ($c->phone ?: 'no phone') }}
  • @endforeach