@extends('admin.partial.template-full') @section('section')

Reports

@if(request()->has('filter') && request()->filter == 'closed') View Open Reports @else View Closed Reports @endif
@if($ai || $spam || $mailVerifications)

{{$mailVerifications}}

Email Verify {{$mailVerifications == 1 ? 'Request' : 'Requests'}}

{{$ai}}

Appeal {{$ai == 1 ? 'Request' : 'Requests'}}

{{$spam}}

Flagged {{$ai == 1 ? 'Post' : 'Posts'}}
@endif @if($reports->count())
@foreach($reports as $report)

{{$report->type}}

@if($report->reporter && $report->status)

{{$report->reporter->username}} reported this post

@else

@if(!$report->reporter) Deleted user @else {{$report->reporter->username}} @endif reported this @if(!$report->status) deleted post @else post @endif

@endif
@if($report->status) View @endif
@endforeach
@else

No reports found

@endif
{{$reports->appends(['layout'=>request()->layout, 'filter' => request()->filter])->links()}}
@endsection