@extends('admin.layouts.home') @section('title', 'Report Detail') @section('content')

Report #{{ $report->id }}

All Reports @if($report->module_route) View Module @endif
@if(session('success')) @endif @if($errors->any())
@endif
Reporter
Reporter avatar
{{ $report->reporter->name ?? 'User unavailable' }}

@if($report->reporter) ID: {{ $report->reporter->id }}
{{ $report->reporter->email }} @else This user record is no longer available. @endif

Reported {{ $report->created_at?->diffForHumans() }}
Report Information
{{ $report->status_label }}

Module

{{ $report->module_label }} ID: {{ $report->module_id }} @if($report->module_title) “{{ \Illuminate\Support\Str::limit($report->module_title, 60) }}” @endif

Reported At

{{ $report->created_at?->format('M d, Y H:i') }}

Last Updated

{{ $report->updated_at?->format('M d, Y H:i') }}


Reason

{{ $report->reason }}


@csrf
@csrf
Other Reports for This {{ $report->module_label }}
@if($relatedReports->isEmpty())

No other reports were filed for this module.

@else
@foreach($relatedReports as $related) @endforeach
ID Reporter Reason Status Reported At Actions
#{{ $related->id }} {{ $related->reporter->name ?? 'Unknown user' }} {{ \Illuminate\Support\Str::limit($related->reason, 60) }} {{ $related->status_label }} {{ $related->created_at?->format('M d, Y H:i') }} View
@endif
@endsection