Some BINKP optimisation, implemented crypt, implemented receiving compressed transfers
This commit is contained in:
@@ -388,6 +388,71 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Last Packets and Files -->
|
||||
<div class="accordion-item">
|
||||
<h3 class="accordion-header" id="mail" data-bs-toggle="collapse" data-bs-target="#collapse_transfers" aria-expanded="false" aria-controls="collapse_mail">Packets and Files Sent</h3>
|
||||
|
||||
<div id="collapse_transfers" class="accordion-collapse collapse {{ ($flash=='transfers') ? 'show' : '' }}" aria-labelledby="mail" data-bs-parent="#accordion_homepage">
|
||||
<div class="accordion-body">
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
The last Netmails sent:
|
||||
<table class="table monotable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>FTN</th>
|
||||
<th>Packet</th>
|
||||
<th>Sent</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@dump($o->addresses->sortBy('zone.zone_id')->pluck('ftn'))
|
||||
@foreach (\App\Models\Netmail::where('tftn_id',$o->addresses->pluck('id'))->whereNotNull('sent_at')->orderBy('sent_at')->limit(10) as $no)
|
||||
<tr>
|
||||
<td>{{ $no->tftn->ftn }}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
The last Echomails sent:
|
||||
<table class="table monotable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>FTN</th>
|
||||
<th>Packet</th>
|
||||
<th>Sent</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach (\App\Models\Echomail::join('echomail_seenby',['echomail_seenby.echomail_id'=>'echomails.id'])
|
||||
->whereNotNull('echomail_seenby.sent_at')
|
||||
->whereIn('address_id',$o->addresses->pluck('id'))
|
||||
->orderBy('sent_at','DESC')
|
||||
->orderBy('packet')
|
||||
->limit(10)
|
||||
->get()
|
||||
->groupBy('packet') as $oo)
|
||||
<tr>
|
||||
<td>{{ \App\Models\Address::where('id',$oo->first()->address_id)->single()->ftn }}</td>
|
||||
<td>{{ $oo->first()->packet }}</td>
|
||||
<td>{{ $oo->first()->sent_at }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@else
|
||||
@include('system.form-system')
|
||||
|
Reference in New Issue
Block a user