@extends('layouts.app') @section('title','Email Detail') @section('page_title','Email Detail') @section('content') @if(session('success'))
{{ session('success') }}
@endif

Email Details

To: {{ $history->to_email ?? '-' }}

Subject: {{ $history->subject ?? '-' }}

Sent At: {{ $history->sent_at }}

@if($history->project)

Project: {{ $history->project->project_name }}

@endif @if($history->payment)

Payment: {{ $history->payment->payment_title }}

@endif

@if($history->is_opened) Opened @elseif($history->reminder_type == 'email_failed') Failed @else Sent @endif

Opened At: {{ $history->opened_at ?? '-' }}


Email Body

{!! $history->message !!}

Click History

@if($history->clicks->count() > 0) @foreach($history->clicks as $click) @endforeach
Clicked URL IP Address Clicked At
{{ $click->clicked_url }} {{ $click->ip_address ?? '-' }} {{ $click->created_at }}
@else

No link clicks recorded yet.

@endif
Copy as New Email
@csrf
Back
@endsection