@csrf
@foreach($result1 as $index => $row) @endforeach
SNO ENO Destination Entry Date From Date To Date Entry By No. Person Total Amt Remark Upward Return Attachment 1 Attachment 2
{{$index + 1}} {{$row['ENO']}} {{ $row['Destination'] }} {{ date('Y-m-d',strtotime($row['Entry_Date'])) }} {{ date('Y-m-d',strtotime($row['FDate'])) }} {{ date('Y-m-d',strtotime($row['TDate'])) }} {{ $row['Entry_Name'] }} {{ $row['NoOfPerson'] }} {{ $row['Total_Amount'] }} {{ $row['Remark'] }} {{ $row['Vehicle_Mode_Up'] }} {{ $row['Vehicle_Mode_Down'] }} @if ($row['Attachment1'] == "") -- @else {{ $row['Attachment1'] }} @endif @if ($row['Attachment2'] == "") -- @else {{ $row['Attachment2'] }} @endif