@if($type == 'ALL') @foreach($data as $index => $item) @endforeach @else @foreach($data as $index => $item) @endforeach @endif
S/No Date Vehicle registration Driver Name Location Destination Fuel Issued Extra Fuel Fuel Cost Other Expenses Total Liability
{{ ++$index }} {{ \Carbon\Carbon::parse($itemData['Date'])->format('Y-m-d H:i') }} {{ implode(', ', $itemData['Vehicle registration']) }} {{ $itemData['Driver name'] }} {{ $itemData['Location'] }} {{ $itemData['Destination'] }} {{ $itemData['Fuel Issued'] }} {{ $itemData['Extra Fuel'] }} {{ $itemData['Fuel Cost'] }} {{ $itemData['Other Expenses'] }} {{ $itemData['Total Liability'] }}
{{ ++$index }} {{ \Carbon\Carbon::parse($item['Date'])->format('Y-m-d H:i') }} {{ implode(', ', $item['Vehicle registration']) }} {{ $item['Driver name'] }} {{ $item['Location'] }} {{ $item['Destination'] }} {{ $item['Fuel Issued'] }} {{ $item['Extra Fuel'] }} {{ $item['Fuel Cost'] }} {{ $item['Other Expenses'] }} {{ $item['Total Liability'] }}