Fix domain echoarea totals, add echoarea name to address/merge
This commit is contained in:
@@ -47,12 +47,13 @@
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
@foreach(\App\Models\Echomail::select(['id','msgid','from','msg'])
|
||||
@foreach(\App\Models\Echomail::select(['id','msgid','from','msg','echoarea_id'])
|
||||
->where('fftn_id',$ao->id)
|
||||
->orderBy('created_at','DESC')
|
||||
->with('echoarea')
|
||||
->limit(5)
|
||||
->get() as $eo)
|
||||
<li class="pb-4">{{ sprintf('%04d: %s (%s) %s',$eo->id,$eo->from,$eo->msgid,$eo->msg) }}</li>
|
||||
<li class="pb-4">{{ sprintf('%s-%04d: %s (%s) %s',$eo->echoarea->name,$eo->id,$eo->from,$eo->msgid,$eo->msg) }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user