| Usuario | Acción | Fecha | |
|---|---|---|---|
|
@if ($log->delegado_id)
{{ $log->delegado->nombres ?? '' }} {{ $log->delegado->apellidos ?? '' }}
(representando a {{ $log->usuario->nombres ?? '' }} ) {{ $log->usuario->apellidos ?? '' }} @else {{ $log->usuario->nombres ?? '' }} {{ $log->usuario->apellidos ?? '' }} @endif {{-- @if ($log->usuario) {{ $log->usuario->nombres ?? '' }} {{ $log->usuario->apellidos ?? '' }} @endif --}} |
@if ($link)
{{ $actions[$log->accion] }} @if ($log->accion !== 'login') {{ $labels[$log->tipo] }} @endif @if($log->detalle_objeto !== null) ({{ $log->texto_detalle}}) @endif | @else{{ $actions[$log->accion] }} @if ($log->accion !== 'login') @if($log->accion == 'send_email') (Destinatario: {{ $info->destinatario ?? '' }}, Id mensaje: {{ $info->mensaje_id ?? '' }}, Asunto: {{$info->asunto ?? '' }}, Contenido: {{ html_entity_decode(strip_tags(base64_decode(json_encode($info->contenido ?? '')))) }} ) @endif @if($log->accion == 'fuera_oficina') {{ $labels[$log->tipo] }} (pertenencia id {{$log['objeto_id']}}) @else {{ $labels[$log->tipo] }} @endif @endif | @endif{{ \Date::createFromFormat('Y-m-d H:i:s', $log->created_at)->setTimeZone(new DateTimeZone('America/Santiago')) }} |