DATE:{{ date('d/m/Y') }}

@if($type == 'ALL') INCIDENTS @else {{strtoupper(str_replace('Incident/','',$type)) }} @endif REPORTS
@if($incident_status != 'ACTIVE') From {{ $from }} To {{ $to }} @else AS OF {{$as_of}} @endif



@if(!empty($incidents)) @if($type == 'ALL') @else @endif @foreach($incidents as $index => $incident) @if($type == 'ALL') @endif
S/N Date Truck Model : Trailer DriverIncident Type LocationLocationElapsed Time
{{ ++$index }} {{ \Carbon\Carbon::parse($incident->date)->toFormattedDateString() }} {{ $incident->vehicle->registration_number }} {{ $incident->vehicle->make }} {{ $incident->trailer->registration_number }} {{ $incident->driver->full_name }}{{ $incident->type }}{{ ucwords($incident->location) }}