Checkpoint Scan History Detail

Employee: {{ $employee->first_name }} {{ $employee->last_name }}
Generated: {{ now()->format('M d, Y H:i') }}
@forelse($reports as $scan) @php $opts = is_string($scan->checkpoint->extra_scan_options) ? json_decode($scan->checkpoint->extra_scan_options, true) : $scan->checkpoint->extra_scan_options; $type = $opts['type'] ?? 'log_only'; @endphp @empty @endforelse
Time / Date Job / Site Checkpoint Method Scan Protocol Data (Message/Images)
{{ $scan->scanned_at->format('H:i:s') }}
{{ $scan->scanned_at->format('M d, Y') }}
{{ $scan->schedule->site->name ?? 'N/A' }}
Duty #{{ $scan->schedule->duty_number ?? 'N/A' }}
{{ $scan->checkpoint->name ?? 'N/A' }} @if($scan->tourRoute)
Route: {{ $scan->tourRoute->name }}
@endif
@if($scan->is_manual) MANUAL @else QR/NFC @endif
{{ strtoupper($type) }}
@if($type === 'message' && $scan->employee_message)
OBSERVATION:
{{ $scan->employee_message }}
@endif @if($type === 'photo')
EVIDENCE PHOTOS:
@if($scan->evidence_image) @endif @if($scan->additional_photos) @foreach($scan->additional_photos as $photo) @endforeach @endif @if(!$scan->evidence_image && empty($scan->additional_photos)) No photos uploaded @endif
@endif @if($type === 'log_only') Verified Log Only @endif
No scan history records found for the selected criteria.