@extends('superadmin.layouts.app') @section('title', 'Report Details') @section('content')

Report Details #{{ $report->id }}

Report Information

{{ $report->getStatusText() }}
Report ID: #{{ $report->id }}
Reason: {{ $report->getReasonText() }}
Status: {{ $report->getStatusText() }}
Reported Date: {{ $report->created_at->format('Y-m-d H:i:s') }}
@if($report->resolved_at) Resolved Date: {{ $report->resolved_at->format('Y-m-d H:i:s') }}
@endif
IP Address: {{ $report->ip_address }}
User Agent: {{ Str::limit($report->user_agent, 50) }}
@if($report->resolvedByAdmin) Resolved By: {{ $report->resolvedByAdmin->name }}
@endif
@if($report->details)
Report Details:
{{ $report->details }}
@endif @if($report->admin_notes)
Admin Notes:
{{ $report->admin_notes }}
@endif
@if($report->isPending()) @endif

Reported User Profile

Profile Picture

{{ $report->reportedUser->name }}

Username: @{{ $report->reportedUser->username }}

Email: {{ $report->reportedUser->email }}

Phone: {{ $report->reportedUser->phone ?? 'Not provided' }}

Joined: {{ $report->reportedUser->created_at->format('Y-m-d') }}

Profile Visibility: {{ ucfirst($report->reportedUser->profile_visibility) }}

@if($report->reportedUser->banned_at)

Status: Banned since {{ $report->reportedUser->banned_at->format('Y-m-d H:i:s') }}

@else

Status: Active

@endif
@if($userShortlinks->count() > 0)

User's Recent Shortlinks

@foreach($userShortlinks as $shortlink) @endforeach
ID URL Label Clicks Status Created Actions
{{ $shortlink->id }} {{ Str::limit($shortlink->original, 50) }} {{ $shortlink->custom_label ?? '-' }} {{ number_format($shortlink->click_logs_count) }} {{ $shortlink->is_active ? 'Active' : 'Inactive' }} {{ $shortlink->created_at->format('Y-m-d') }}
@endif

Reporter Information

@if($report->reporterUser)
Reporter Avatar

Name: {{ $report->reporterUser->name }}

Username: @{{ $report->reporterUser->username }}

Email: {{ $report->reporterUser->email }}

Joined: {{ $report->reporterUser->created_at->format('Y-m-d') }}

@else
Guest Reporter
@if($report->reporter_email)

Email: {{ $report->reporter_email }}

@endif

This report was submitted by a guest user.

@endif
@if($otherReports->count() > 0)

Other Reports for This User

@foreach($otherReports as $otherReport)
#{{ $otherReport->id }}
{{ $otherReport->getReasonText() }}
{{ $otherReport->created_at->diffForHumans() }}
{{ $otherReport->getStatusText() }}
@endforeach
@endif

Quick Actions

Back to Reports @if($report->isPending()) @endif Manage User
@endsection @section('scripts') @endsection