@extends('layouts.customer') @section('title', 'Replies - ' . $campaign->name) @section('page-title', 'Replies') @section('content')

Replies

{{ $campaign->name }}

← Back to Campaign
Filter
@if(request('search'))
Clear
@endif
@forelse($replies as $reply) @php $fromLabel = trim((string) ($reply->from_name ?? '')); $fromEmail = trim((string) ($reply->from_email ?? '')); $from = $fromLabel !== '' && $fromEmail !== '' ? ($fromLabel . ' <' . $fromEmail . '>') : ($fromEmail !== '' ? $fromEmail : ($fromLabel !== '' ? $fromLabel : '-')); $recipientEmail = $reply->recipient?->email ?? '-'; $received = $reply->received_at ? $reply->received_at->format('M d, Y H:i') : ($reply->created_at?->format('M d, Y H:i') ?? '-'); $bodyText = (string) ($reply->body_text ?? ''); @endphp @empty @endforelse
Received From Recipient Subject Action
{{ $received }} {{ $from }} {{ $recipientEmail }} {{ \Illuminate\Support\Str::limit((string) ($reply->subject ?? ''), 80) }}
No replies found.
@if($replies->hasPages())
{{ $replies->links() }}
@endif
@endsection