clrghouz/resources/views/widgets/packet.blade.php

61 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2023-07-15 14:41:36 +00:00
@if($nm->count())
<table class="table monotable">
<thead>
<tr>
<th colspan="4">Netmails</th>
</tr>
<tr>
<th>From</th>
<th>To</th>
<th>MSGID</th>
<th>Date</th>
</tr>
</thead>
<tbody>
@foreach ($nm as $oo)
<tr>
<td>{{ $oo->fftn->ftn }}</td>
<td>{{ $oo->tftn->ftn }}</td>
<td>
<a href="{{ url('netmail/view',['id'=>$oo->id]) }}">
@if ($oo->msgid)
{{ $oo->msgid }}
@else
<small>[{{ $oo->id }}]</small>
@endif
</a>
</td>
2023-07-15 14:41:36 +00:00
<td>{{ $oo->datetime }}</td>
</tr>
@endforeach
</tbody>
</table>
@endif
@if($em->count())
<table class="table monotable">
<thead>
<tr>
<th colspan="4">Echomails</th>
</tr>
<tr>
<th>From</th>
<th>MSGID</th>
<th>Echoarea</th>
2023-07-15 14:41:36 +00:00
<th>Date</th>
</tr>
</thead>
<tbody>
@foreach ($em as $oo)
<tr>
<td>{{ $oo->fftn->ftn }}</td>
<td><a href="{{ url('echomail/view',['id'=>$oo->id]) }}">{{ $oo->msgid }}</a></td>
<td>{{ $oo->echoarea->name }}</td>
2023-07-15 14:41:36 +00:00
<td>{{ $oo->datetime }}</td>
</tr>
@endforeach
</tbody>
</table>
@endif