@extends('layouts.app') @section('content')
@csrf

Upload Packet for Analysis

This packet will NOT be processed.

@error('file') {{ $message }} @else A file is required. @enderror
@if($errors->count())
There were errors with the submission.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Cancel
@if($result)

Packet Results

Packet {{ $file->getClientOriginalName() }} (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->messages as $msg)
@if ($msg->errors) @foreach ($msg->errors->messages()->all() as $error)
{{ $error }}
@endforeach @endif
DATE: {{ $msg->date }}
FROM: {{ $msg->user_from }} ({{ $msg->fftn }})
TO: {{ $msg->user_to }} ({{ $msg->tftn }})
SUBJECT: {{ $msg->subject }}
{{ $msg->message }}
SEENBY:
{!! join('
',$msg->seenby->toArray()) !!}
PATH:
{!! join('
',$msg->path->toArray()) !!}
KLUDGES:
@foreach ($msg->kludge as $k => $v) {{ $k }} {{ $v }}
@endforeach
@endforeach
@endif @endsection