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

Reports

Open: {{App\Report::whereNull('admin_seen')->count()}} Closed: {{App\Report::whereNotNull('admin_seen')->count()}}


@foreach($reports as $report) @if(!$report->admin_seen) @else @endif @endforeach
# Reporter Type Reported Status Created
{{$report->id}} {{$report->reporter->username}} {{$report->type}} {{str_limit($report->reported()->url(), 25)}}UnresolvedResolved{{$report->created_at->diffForHumans(null, true, true, true)}}
{{$reports->links()}}
@endsection @push('scripts') @endpush