@extends('layouts.partials.master') @section('title', 'Log de email') @push('styles') @endpush @section('content')
@include('layouts.components.section-title', ['title' => 'Log de email']) Voltar
@include('layouts.components.alerts')
Estado: @if ($emailLog->status === 1) @include('layouts.components.badges', ['type' => 'success', 'text' => 'Enviado']) @else @include('layouts.components.badges', ['type' => 'danger', 'text' => 'Falhou']) @endif

Enviado: {{ $emailLog->sent_at }}

Para: {{ implode(', ', $emailLog->to) }}

CC: {{ implode(', ', $emailLog->cc) }}

BCC: {{ implode(', ', $emailLog->bcc) }}

Assunto: {{ $emailLog->subject }}

@if ($emailLog->attachments)

Anexos: {{ count($emailLog->attachments) }}

@foreach ($emailLog->attachments as $attachment) @if (file_exists(public_path($attachment['path'])))

{{ $attachment['name'] }}

@else

{{ $attachment['name'] }} (excluĂ­do)

@endif @endforeach
@else

Sem anexos

@endif
Voltar
@endsection