{{-- table loader --}}
{{__('admin.loading')}}
{{-- table loader --}} {{-- table content --}} {{-- --}} @foreach($reports as $report) @php($statusClass = $report->status_code >= 400 ? 'badge badge-danger' : 'badge badge-success') {{-- --}} @endforeach
{{__('admin.created_at')}} {{__('admin.the_admin')}} {{__('admin.report_text')}} {{__('admin.route_name')}} {{__('admin.action_type')}} {{__('admin.status_code')}} {{__('admin.ip')}} {{__('admin.control')}}
{{ optional($report->created_at)->format('Y-m-d H:i') }}
{{ $report->admin?->name ?? $report->admin_name ?? '-' }}
@if($report->admin?->email || $report->admin_email) {{ $report->admin?->email ?? $report->admin_email }} @endif
{{ $report->subject }}
@if($report->action_key) {{ $report->action_key }} @endif
{{ $report->route_name ?: '-' }} {{ $report->method }} @if($report->status_code) {{ $report->status_code }} @else - @endif {{$report->ip}} @haspermission('admin.reports.show') @endhaspermission {{-- @haspermission('admin.reports.delete') @endhaspermission --}}
{{-- table content --}} {{-- no data found div --}} @if ($reports->count() == 0)
{{__('admin.there_are_no_matches_matching')}}
@endif {{-- no data found div --}}
{{-- pagination links div --}} @if ($reports->count() > 0 && $reports instanceof \Illuminate\Pagination\AbstractPaginator )
{{$reports->links()}}
@endif {{-- pagination links div --}}