Recent communications
@if($messages->isEmpty())
No communications yet.
@else
@foreach($messages as $msg)
{{ $msg->subject ?: Str::limit($msg->body_text, 80) }} {{ $msg->status->label() }}
@if($msg->channel->value === 'email') {{ $msg->recipient_email ?? '—' }} @else {{ $msg->recipient_phone ?? '—' }} @endif @if($msg->template) · via {{ $msg->template->name }} @endif @if($msg->creator) · by {{ $msg->creator->name }} @elseif($msg->origin_type) · {{ $msg->origin_type->label() }} @endif · {{ $msg->created_at?->diffForHumans() }}
@if($msg->failure_reason)
{{ $msg->failure_reason }}
@endif
@endforeach
{{ $messages->links() }} @endif