@php use App\Enums\ReportStatus; @endphp

Reported deals

Total Reports: {{$reports->count()}}

Type Description Customer Status Deal @forelse($reports as $report) {{ucfirst($report->type->value)}} {{$report->description}} {{$report->user->name}} {{$report->deals()->first()->title}}
@if($report->status !== ReportStatus::Resolved)
@csrf
@endif @if($report->status !== ReportStatus::Rejected)
@csrf
@endif
@csrf
@empty No Customer found @endforelse