{{ __('mail_log.title') }}

{{ __('mail_log.subtitle') }}

@if ($mails->isEmpty())

{{ __('mail_log.empty') }}

@else @foreach ($mails as $mail) {{-- R19: stored in UTC, read on the wall clock. --}} @endforeach
{{ __('mail_log.col_when') }} {{ __('mail_log.col_to') }} {{ __('mail_log.col_subject') }} {{ __('mail_log.col_kind') }}
{{ $mail->sent_at->local()->isoFormat('D. MMM YYYY, HH:mm:ss') }} @if ($mail->customer) {{ $mail->customer->name }}

{{ $mail->to }}

@else {{ $mail->to }} @endif
{{ $mail->subject }} @if ($mail->from_operator) {{ __('mail_log.by_hand') }} @endif {{ $mail->kind() }}
{{ $mails->links() }}
@endif