@extends('simple-layout') @section('body')
@include('settings.navbar', ['selected' => 'audit'])

{{ trans('settings.audit') }}

{{ trans('settings.audit_desc') }}

@foreach(['date_from', 'date_to'] as $filterKey)
@foreach($listDetails as $param => $val) @if(!empty($val) && $param !== $filterKey) @endif @endforeach
@endforeach

{{ $activities->links() }} @foreach($activities as $activity) @endforeach
{{ trans('settings.audit_table_user') }} {{ trans('settings.audit_table_event') }} {{ trans('settings.audit_table_item') }} {{ trans('settings.audit_table_date') }}
@include('partials.table-user', ['user' => $activity->user, 'user_id' => $activity->user_id]) {{ $activity->type }} @if($activity->entity) @icon($activity->entity->getType())
{{ $activity->entity->name }}
@elseif($activity->detail)
{{ trans('settings.audit_deleted_item') }}
{{ trans('settings.audit_deleted_item_name', ['name' => $activity->detail]) }}
@endif
{{ $activity->created_at }}
{{ $activities->links() }}
@stop