@extends('admin.layouts.home') @section('title', 'Other Reports') @section('content')

All Other Reports

Back to Dashboard
Pending
{{ $counts['pending'] }}
Resolved
{{ $counts['resolved'] }}
Dismissed
{{ $counts['dismissed'] }}
Total
{{ $counts['total'] }}
Filter Reports
@php $statusStyles = [ 'all' => 'info', 'pending' => 'warning', 'resolved' => 'success', 'dismissed' => 'secondary', ]; @endphp
Other Reports
Showing {{ $reports->firstItem() ?? 0 }} - {{ $reports->lastItem() ?? 0 }} of {{ $reports->total() }}
@if(session('success')) @endif @if($reports->isEmpty())

No reports found for the selected filter.

@else
@foreach($reports as $report) @endforeach
ID From User Module Reason Status Created At View Detail Action
#{{ $report->id }} @if($report->reporter)
Reporter avatar
{{ $report->reporter->name }}
ID: {{ $report->reporter->id }}
@else User not available @endif
{{ $report->module_label }}
@if($report->module_title) “{{ \Illuminate\Support\Str::limit($report->module_title, 40) }}”
@endif Module ID: {{ $report->module_id }}
{{ $report->reason }} {{ $report->status_label }} {{ $report->created_at?->format('M d, Y H:i') }} @if($report->module_route) View Module @else N/A @endif View
{{ $reports->links() }} @endif
@endsection