S/N | Date | Truck | Model : | Trailer | Driver | @if($type == 'ALL')Incident Type | Location | @elseLocation | @endifElapsed Time |
---|---|---|---|---|---|---|---|---|---|
{{ ++$index }} | {{ \Carbon\Carbon::parse($incident->date)->toFormattedDateString() }} | {{ $incident->vehicle->registration_number }} | {{ $incident->vehicle->make }} | {{ $incident->trailer->registration_number }} | {{ $incident->driver->full_name }} | @if($type == 'ALL'){{ $incident->type }} | @endif{{ ucwords($incident->location) }} |