Court Filings Report

Period: {{ \Carbon\Carbon::parse($pfrom)->format('M d, Y') }} to {{ \Carbon\Carbon::parse($pto)->format('M d, Y') }}

Generated on: {{ now()->format('M d, Y H:i') }}

@if($courtFilings->count() > 0)

{{ $courtFilings->count() }}

Total Filings

{{ $courtFilings->where('status', 'approved')->count() }}

Approved

{{ $courtFilings->where('status', 'pending')->count() }}

Pending

{{ $courtFilings->where('status', 'rejected')->count() }}

Rejected

@foreach($courtFilings as $filing) @endforeach
Filing Date Case ID Lawyer Court Area Court Type Judge Filing Type Status
{{ \Carbon\Carbon::parse($filing->filing_date)->format('M d, Y') }} {{ $filing->case->case_id ?? 'N/A' }} {{ $filing->lawyer->name ?? 'N/A' }} {{ $filing->courtArea->name ?? 'N/A' }} {{ $filing->courtType->name ?? 'N/A' }} {{ $filing->judge->name ?? 'N/A' }} {{ $filing->filing_type ?? 'N/A' }} {{ ucfirst($filing->status ?? 'N/A') }}
@else

No court filings found for the selected period.

@endif