Patrolling Summary Report

Summary
Site : {{$site}}
Period From : {{$date_from}} Period To : {{$date_to}}
@foreach ($checkpoints as $index => $checkpoint) @if (array_key_exists('route_remarks',$checkpoint)) @else @endif @endforeach
Checkpoints
Route Checkpoint Checklist Timestamp Done By Remarks
{{$checkpoint['route_remarks']}} {{$checkpoint['route_name']}} {{$checkpoint['point_name']}}
    @if(isset($checkpoint['point_checklist'])) @foreach($checkpoint['point_checklist'] as $checklist)
  • {!! $checklist->label !!}
  • @if(isset($checklist->multiple) && $checklist->multiple)
      @if (!empty($checklist->value)) @foreach($checklist->value as $value)
    • {!! $value !!}
    • @endforeach @endif
    @else @if (!empty($checklist->value)) @if($checklist->type == 'date_time')
    • {!! Carbon::parse($checklist->value)->toDateTimeString() !!}
    @else
    • {!! $checklist->value !!}
    @endif @endif @endif @endforeach @endif
{{$checkpoint['point_scan_time']}} {{$checkpoint['route_user']}} {{$checkpoint['point_remarks']}}