{{ ++$index }} |
{{-- {{ $item['Date'] }} | --}}
{{ implode(', ', $itemData['Vehicle registration']) }} |
{{ $itemData['Driver Names'] }} |
{{ $itemData['Address'] }} |
{{ \Carbon\Carbon::parse($itemData['Detected at'])->format('Y-m-d H:i') }} |
{{ $itemData['Remark Action Plan'] }} |
@endforeach
@else
@foreach($data as $index => $item)
{{ ++$index }} |
{{-- {{ $item['Date'] }} | --}}
{{ implode(', ', $item['Vehicle registration']) }} |
{{ $item['Driver Names'] }} |
{{ $item['Address'] }} |
{{ \Carbon\Carbon::parse($item['Detected at'])->format('Y-m-d H:i') }} |
{{ $item['Remark Action Plan'] }} |
@endforeach
@endif