@if ($message = Session::get('success')) @endif @if ($errors->any()) @endif
@foreach($result as $index => $row) @endforeach
SNO ENO Entry Date From Date To Date Entry By No. Person Total Amt Remark Approval 1 Approval 2 Attachment 1 Attachment 2
{{$index + 1}} {{$row['ENO']}} {{$row['ENO']}} {{ 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'] }} @if($row['App_Flag']=='F') Not Approve @elseif($row['App_Flag']=='T') Approved @elseif($row['App_Flag']=='R') Rejected @endif @if($row['App_Flag2']=='F') Not Approve @elseif($row['App_Flag2']=='T') Approved @elseif($row['App_Flag2']=='R') Rejected @endif @if ($row['Attachment1'] == "") -- @else {{ $row['Attachment1'] }} @endif @if ($row['Attachment2'] == "") -- @else {{ $row['Attachment2'] }} @endif