@if($project->company->company_logo) Project Image @else Project Image @endif

{{$project->name}}

Address {{$project->street_address}}
{{$project->city.', '.$project->state.', '.$project->zipcode}}
Job# {{$project->job_number}}
@if($project->image) Project Image @endif

Weather (High/Low)

@if($reportType == 'weekly_report') @if(count($weatherWithMissingDates) > 0)
@foreach($weatherWithMissingDates as $data) @endforeach

{{date("F d", strtotime($data['date']))}}

{{date("D", strtotime($data['date']))}}
@if(count($data['weather']) > 0)
icon
{{round($data['weather']['maxTemp'])}}/{{round($data['weather']['minTemp'])}} 'F
Precipitation:
{{number_format((float)$data['weather']['maxPrecipitation'], 2, '.', '')}}/{{number_format((float)$data['weather']['minPrecipitation'], 2, '.', '')}} In
wind:
{{number_format((float)$data['weather']['maxWindSpeed'], 1, '.', '')}}/{{number_format((float)$data['weather']['minWindSpeed'], 1, '.', '')}} Mph
Humidity:
{{$data['weather']['maxHumidity']}}/{{$data['weather']['minHumidity']}}%
@endif
@endif @elseif($reportType == 'monthly_report') @if(count($weatherWithMissingDates) > 0)
@if($startDay=="Sunday") @php $i=0; @endphp @elseif($startDay=="Monday") @php $i=1; @endphp @elseif($startDay=="Tuesday") @php $i=2; @endphp @elseif($startDay=="Wednesday") @php $i=3; @endphp @elseif($startDay=="Thursday") @php $i=4; @endphp @elseif($startDay=="Friday") @php $i=5; @endphp @elseif($startDay=="Saturday") @php $i=6; @endphp @endif @foreach($weatherWithMissingDates as $data) @php $i++; @endphp @if($i%7 == 0) @endif @endforeach

{{date("F d", strtotime($data['date']))}}

{{date("D", strtotime($data['date']))}}
@if(count($data['weather']) > 0)
icon
{{round($data['weather']['maxTemp'])}}/{{round($data['weather']['minTemp'])}} 'F
Precipitation:
{{number_format((float)$data['weather']['maxPrecipitation'], 2, '.', '')}}/{{number_format((float)$data['weather']['minPrecipitation'], 2, '.', '')}} In
wind:
{{number_format((float)$data['weather']['maxWindSpeed'], 1, '.', '')}}/{{number_format((float)$data['weather']['minWindSpeed'], 1, '.', '')}} Mph
Humidity:
{{$data['weather']['maxHumidity']}}/{{$data['weather']['minHumidity']}}%
@endif
@endif @endif

Work Logs (Qty/Hrs)

@if(count($weeklyLogs) > 0)
@foreach($weeklyLogs[0] as $value) @endforeach @for($i=1; $i< count($weeklyLogs); $i++) @foreach($weeklyLogs[$i] as $value) @endforeach @endfor
{{$value}}
{{$value}}
@endif
@foreach($notesImage as $imageDetails)

{{date('l, F d', strtotime($imageDetails->submission_date))}}

{{$imageDetails->note}}
@foreach(explode(',', $imageDetails->image) as $info) Image @endforeach
@endforeach

Safety Incidents

@if(count($safetyQuestions) > 0)
@foreach($safetyQuestions as $question) @endforeach
{{date('m/d/Y', strtotime($question->submission_date))}} {{$question->answer}}
@endif

Delays

@if(count($delayQuestions) > 0)
@foreach($delayQuestions as $question) @endforeach
{{date('m/d/Y', strtotime($question->submission_date))}} {{$question->answer}}
@endif

Weather Delays

@if(count($weatherDelayQuestions) > 0)
@foreach($weatherDelayQuestions as $question) @endforeach
{{date('m/d/Y', strtotime($question->submission_date))}} {{$question->answer}}
@endif

Missed Reports

@if(count($unsignedReport) > 0)
@foreach($unsignedReport as $i => $dates) @if(($i%5)==0 && $i != 0) @endif @endforeach
{{date('m/d/Y', strtotime($dates))}}
@endif
Created with
Logo