+
The last Netmails sent (to you):
@if(($x=Netmail::select(['sent_pkt','sent_at',DB::raw('count(sent_pkt) AS count')])
- ->whereIn('sent_id',$o->addresses->pluck('id'))
+ ->where(fn($query)=>
+ $query->whereIn('sent_id',$o->addresses->pluck('id'))
+ ->OrWhereIn('tftn_id',$o->addresses->pluck('id'))
+ )
->whereNotNull('sent_at')
->groupBy(['sent_pkt','sent_at'])
->orderBy('sent_at','DESC')
@@ -422,6 +426,7 @@
@endif
+
The last Echomails sent (to you):
@@ -457,6 +462,7 @@
@endif
+
The last Files sent (to you):