@extends('layouts.admin') @section('title', 'Reported items') @section('content') @php $tab = request('status', 'open'); @endphp
Open the reported item, act on it there (for a listing: take it down; for a user: suspend), then close the report here with what you did.
| Reported | Reason | Details | Reporter | Status | When | |
|---|---|---|---|---|---|---|
| {{ humanize($r->reportable_type) }} @if ($r->reportable_type === 'listing' && $r->target) {{ $r->target->displayTitle() }} @elseif ($r->reportable_type === 'user' && $r->target) {{ $r->target->displayName() }} @else #{{ $r->reportable_id }} @endif | {{ $r->reason?->label }} | {{ $r->details ?: '—' }}
@if ($r->resolution_note) {{ $r->resolution_note }} — {{ $r->handledBy?->displayName() }} @endif |
{{ $r->reporter->displayName() }} | @include('partials.status', ['status' => $r->status_id]) | {{ ist($r->created_at) }} | @include('partials.actions', ['actions' => app(\App\Services\StatusService::class)->availableActions('report', $r->status_id, auth()->user()), 'route' => route('admin.reports.status', $r), 'id' => 'rep'.$r->id]) |
No reports here. | ||||||