Packet {{ $file }} (type {{ $result->type }}) is from {{ $result->fftn }} to {{ $result->tftn }}, dated {{ $result->date }}.
This packet has {{ $result->messages->count() }} messages and {{ $result->password ? 'DOES' : 'does NOT' }} have a password.
Tosser: {{ $result->software->code }} ({{ $result->software->name }}), version {{ $result->software_ver }}. Capabilities: {{ $result->capability }}.
@if ($result->messages->count() > 1)
You can expand each one
@endif
@foreach ($result as $msg)
@if ($msg->errors)
@foreach ($msg->errors->messages()->all() as $error)
{{ $error }}
@endforeach
@endif
DATE: {{ $msg->date }}
FLAGS: {{ $msg->flags()->filter()->keys()->join(', ') }}
FROM: {!! \App\Classes\FTN\Message::tr($msg->user_from) !!} ({{ $msg->fftn }})
TO: {!! \App\Classes\FTN\Message::tr($msg->user_to) !!}@if($msg->isNetmail()) ({{ $msg->tftn }}) @endif
SUBJECT: {!! \App\Classes\FTN\Message::tr($msg->subject) !!}
{!! \App\Classes\FTN\Message::tr($msg->message).sprintf("\r * Origin: %s",$msg->origin) !!}
@if($msg->isNetmail())
VIA:
{!! $msg->via->join('
') !!}
@else
SEENBY:
{!! $msg->seenby->join('
') !!}
PATH:
{!! $msg->path->join('
') !!}
@endif
KLUDGES:
@foreach ($msg->kludge->sort(function($v,$k) { return $k; })->reverse() as $k => $v)
{{ $k }} {{ $v }}
@endforeach
@endforeach