@foreach ($loads as $no => $load)
#{{ $load->reference }} @if ($user->parent==0 && $load->company_id!=$load->customer_id)
Loaded by:
{{$load->getUser->name}}
@endif
{{ $load->customer_reference }}
{{date('d M Y',strtotime($load->created_at))}}
{{ $load->lrn }}
{{ $load->getTypeOfEntry->type }}
{{ $load->gmr == '0' ? 'No' : 'Yes' }}
@if ($load->status=='3') In progress @else {{ $load->getStatus->status }} @endif
@endforeach