{{ __('Document Compliance Report') }}

{{ __('Document Compliance Report') }}

{{ __('Reports') }} › {{ __('Every vehicle and driver document with its expiry status.') }}

@include('reports._filters', ['showVehicle' => true, 'showDriver' => true])
@foreach ($totals['statusOrder'] as $statusLabel) @if (($totals['byStatus'][$statusLabel] ?? 0) > 0)
{{ $statusLabel }}
{{ $totals['byStatus'][$statusLabel] }}
@endif @endforeach
@if ($rows->isEmpty())
{{ __('No documents match the selected filters.') }}
@else @foreach ($rows as $row) @endforeach
{{ __('Document') }} {{ __('Belongs To') }} {{ __('Number') }} {{ __('Expires') }} {{ __('Status') }}
{{ $row['document']->displayName() }} {{ __($row['kind']) }} {{ $row['owner'] }} {{ $row['document']->document_number ?: '—' }} {{ $row['document']->expiry_date?->format('M j, Y') ?: '—' }} {{ $row['document']->status()->label() }}
@endif