diff --git a/app/Models/Netmail.php b/app/Models/Netmail.php
index 221f203..b84796c 100644
--- a/app/Models/Netmail.php
+++ b/app/Models/Netmail.php
@@ -241,6 +241,11 @@ final class Netmail extends Model implements Packet
->using(ViaPivot::class);
}
+ public function sent()
+ {
+ return $this->belongsTo(Address::class);
+ }
+
public function tftn()
{
return $this
diff --git a/resources/views/widgets/message.blade.php b/resources/views/widgets/message.blade.php
index 89cc805..76a53b1 100644
--- a/resources/views/widgets/message.blade.php
+++ b/resources/views/widgets/message.blade.php
@@ -106,7 +106,7 @@ use App\Models\{Echomail,Netmail};
RECEIVED:
@if($msg instanceof Netmail)
@foreach ($msg->path as $path)
- {{ $path->pivot->recv_pkt }} from {{ $path->ftn }} {{ $msg->created_at }}
+ {{ $msg->created_at }} via {{ $path->ftn }} pkt {{ $path->pivot->recv_pkt }}
@endforeach
@elseif ($msg instanceof Echomail)
{{ ($x=$msg->path->sortBy('pivot.parent_id')->last())->pivot->recv_pkt }} from {{ $x->ftn }} {{ $x->pivot->recv_at }}
@@ -117,9 +117,9 @@ use App\Models\{Echomail,Netmail};
@if($msg instanceof Netmail)