@php($resultCount = (int) $activities->total())
@if($activities->isEmpty())
manage_search
Nenhuma movimentação encontrada
Ajuste os filtros ou tente buscar por ação, registro ou usuário.
@else
@foreach($activities as $activity)
@php($tone = in_array($activity->tone, ['danger', 'bad', 'error'], true) ? 'bad' : (in_array($activity->tone, ['warning', 'warn'], true) ? 'warn' : (in_array($activity->tone, ['success', 'ok'], true) ? 'info' : 'muted')))
{{ $activity->source === 'audit' ? 'policy' : ($activity->source === 'task' ? 'task_alt' : 'history') }}
{{ $activity->title ?: $activity->event_type }}
{{ $activity->description ?: $activity->event_type }}
{{ $activity->source_label }}
@if($activity->entity_type){{ label((string) $activity->entity_type) }}@endif
@if($activity->user_name)person{{ $activity->user_name }}@elseSistema@endif
{{ $activity->event_type }}
@if($activity->href)open_in_new@endif
@endforeach
@endif
@if($activities->lastPage() > 1)
@php($previousQuery = array_merge($filters, ['activity_page' => $activities->currentPage() - 1]))
@php($nextQuery = array_merge($filters, ['activity_page' => $activities->currentPage() + 1]))
@endif