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

{{$project->name}}

Date {{date('l, m/d/Y',strtotime($date))}}
Address {{$project->street_address.', '.$project->city}}
Job # {{$project->job_number}}
Prepared by @if(isset($usersign_check->first_name) && isset($usersign_check->last_name)) {{$usersign_check->first_name.' '.$usersign_check->last_name}} @elseif(isset($usersign_check->name)) {{$usersign_check->name}}@elseif(isset($user->first_name) && isset($user->last_name)){{$user->first_name.' '.$user->last_name}}@elseif(isset($user->name)){{$user->name}}@elseif(isset($project->user->name)){{$project->user->name}}@else {{"NA"}} @endif
@if(@$project->template->has_weather_reports == 1)

Weather

@foreach($result as $key => $value) @if(!empty($value)) @endif @endforeach
@if(@$project->template->temperature == 'Fahrenheit') {{round($value->feelslike_f)}} 'F @else {{round($value->feelslike_c)}} 'C @endif

@if($key==0)@if(isset($value->timezone)){{timeconverter($value->time,$value->timezone)}}@else{{timeconverter($value->time)}}@endif @elseif($key==1)@if(isset($value->timezone)){{timeconverter($value->time,$value->timezone)}}@else{{timeconverter($value->time)}}@endif @elseif($key==2)@if(isset($value->timezone)){{timeconverter($value->time,$value->timezone)}}@else{{timeconverter($value->time)}}@endif @endif

@if(isset($value->icon_url))icon@elseicon@endif
    @if(@$project->template->parcipitation == 'Inches')
  • Precipitation: {{number_format((float)$value->precip_in, 2, '.', '')}} In
  • @else
  • Precipitation: {{number_format((float)$value->precip_mm, 2, '.', '')}} mm
  • @endif @if(@$project->template->wind_speed_hr == 'Miles')
  • Wind: {{number_format((float)$value->wind_mph, 1, '.', '')}} miles/hr
  • @else
  • Wind: {{number_format((float)$value->wind_kph, 1, '.', '')}}km/hr
  • @endif
  • Humidity: {{$value->humidity}}%
@endif @if(@$project->template->has_hours == 1)

Hours

@if(count($phours)) @foreach($phours as $ph) @if ($ph->hours && $ph->quantity && $ph->total_hours) @endif @endforeach @else @endif
Name Description Quantity Hours Total Hours
{{$ph->name}} {{$ph->description}} {{$ph->quantity}} {{$ph->hours}} {{@$ph->total_hours}}
No Hours Found..
@endif @if(@$project->template->has_notes == 1) @if(count($pcategory)) @foreach($pcategory as $categoryNotes)

{{$categoryNotes->name}}

@if(count($categoryNotes->notes))
  1. @foreach($categoryNotes->notes as $note)
    {!! nl2br($note->note) !!}
    @foreach($note->images as $pimg) @endforeach @endforeach
@endif
@endforeach @endif @endif @if(@$project->template->has_questions == 1)

Questions

@if(count($pquestions)) @foreach($pquestions as $pq) @endforeach @else @foreach($project->template->questions as $q) @endforeach @endif
Questions Description Yes No
{{$pq->questions->question}} {{$pq->answer}} answer_type==1) checked="checked" @endif> answer_type==0) checked="checked" @endif>
{{$q->question}}
@endif