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

Reports

ALL OPEN CLOSED
@php($ai = App\AccountInterstitial::whereNotNull('appeal_requested_at')->whereNull('appeal_handled_at')->count()) @if($ai)

{{$ai}}

Appeal {{$ai == 1 ? 'Request' : 'Requests'}}
@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->admin_seen == null) @endif --}} @if($report->status) VIEW @endif
@endforeach
@else

No reports found

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