Correos enviados por sistema

{!! html()->form('GET', url('admin/tools/correos')) ->class('form-horizontal') ->name('form-correos') ->open() !!} @if (\Auth::getUser()->root && $instituciones !== null)
{!! html()->label('Institución', 'institucion') ->class('form-label') !!} {!! html()->select('institucion', [null => 'Seleccione una opción'] + $instituciones->all(), ($institucion !== null) ? $institucion['id'] : '') ->class('') ->id('institucion') !!}
@endif
{!! html()->label('Fecha Desde', 'fechaDesde') !!} {!! html()->input('date', 'fechaDesde', null) ->class('form-control') !!}
{!! html()->label('Fecha Hasta', 'fechaHasta') !!} {!! html()->input('date', 'fechaHasta', null) ->class('form-control') !!}

{!! html()->button('Filtrar') ->type('submit') ->class('btn btn-primary') !!} Limpiar
{!! html()->form()->close() !!}
@if ($logs !== null)

Resultado

@if($logs->count() == 0)
No hay registros.
@else
@foreach ($logs as $log) @php $info = json_decode($log->antes); @endphp @endforeach
Destinatario Correo Asunto Contenido Estado
{{ $info->nombres ?? '' }} {{ $info->destinatario ?? '' }} {{ $info->asunto ?? '' }} {!! html_entity_decode(strip_tags(base64_decode(json_encode($info->contenido ?? '')))) !!} {{ $info->envio ?? '' }}
@endif {{$logs->appends( [ 'institucion' => $institucion['id'], 'fechaDesde' => $fecha_inicio, 'fechaHasta' => $fecha_termino ] )->links() }}
@endif