@extends('layouts.user_type.auth') @section('marketingLabMailLog')
@include('components.alert')
Sent
{{ $totalSent }}
Total Sent
Delivered
{{ $totalDelivered }}
Delivered
Opened
{{ $totalOpened }}
Opened
Clicked
{{ $totalClicked }}
Clicked
Marketing Mail Log

Email delivery and engagement tracking.

@forelse($mailLogs ?? [] as $index => $log) @empty @endforelse
# Lab Name Email Subject Sent Date Status
{{ str_pad($loop->iteration,2,'0',STR_PAD_LEFT) }} {{ $log->lab_name ?? $log->marketingLab->laboratory_name ?? '—' }} {{ $log->email ?? '—' }} {{ \Illuminate\Support\Str::limit($log->subject ?? '—', 40) }} {{ $log->created_at ? \Carbon\Carbon::parse($log->created_at)->format('d M Y') : '—' }} {{ ucfirst($log->status ?? 'Sent') }}

No mail logs found

@if(isset($mailLogs) && method_exists($mailLogs, 'links')) @include('components.pagination', ['paginator' => $mailLogs]) @endif
@endsection