{{ date('F d, Y H:i') }}
@foreach($headers as $header) @if($header !== "Date Log") @endif @endforeach @foreach($data as $datum) @foreach($datum['activities'] as $act) @endforeach @endforeach
{{ucfirst($header)}}
{{date('F d, Y', strtotime($datum['date_log']))}}
{{$act->activity}} {{$act->brand}} {{$act->entity}} {{number_format($act->hours, 2)}}
Total Hours: {{number_format($datum['total_hours'], 2)}}
Total Rendered Hours {{number_format($total_rendered_hours, 2)}}
---------- END OF RESULTS ----------