{{-- Encabezado --}}
Logo MOPSA

Evidencia Fotografica

Contenedor
{{-- Datos del contenedor --}}
Contenedor: {{ $inspeccion->contenedor }} Tipo: {{ $inspeccion->tipo }} Fecha: {{ $inspeccion->fecha }} {{ $inspeccion->hora }} Inspector: {{ $inspeccion->ventanilla }}

{{-- Cuadricula de fotos: 2 columnas, salto de pagina cada 4 filas (8 fotos) --}} {{-- Pagina 1: fotos 1 a 4 --}} {{-- Foto 1 --}} {{-- Foto 2 --}} {{-- Foto 3 --}} {{-- Foto 4 --}}
Foto 1
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_1); @endphp @if ($inspeccion->foto_1 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
Foto 2
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_2); @endphp @if ($inspeccion->foto_2 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
Foto 3
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_3); @endphp @if ($inspeccion->foto_3 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
Foto 4
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_4); @endphp @if ($inspeccion->foto_4 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
{{-- Pagina 2: fotos 5 a 8 --}} {{-- Foto 5 --}} {{-- Foto 6 --}} {{-- Foto 7 --}} {{-- Foto 8 --}}
Foto 5
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_5); @endphp @if ($inspeccion->foto_5 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
Foto 6
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_6); @endphp @if ($inspeccion->foto_6 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
Foto 7
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_7); @endphp @if ($inspeccion->foto_7 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
Foto 8
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_8); @endphp @if ($inspeccion->foto_8 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
{{-- Pagina 3: fotos 9 y 10 --}} {{-- Foto 9 --}} {{-- Foto 10 --}}
Foto 9
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_9); @endphp @if ($inspeccion->foto_9 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif
Foto 10
@php $imagePath = public_path('uploads/inspecciones/' . $inspeccion->foto_10); @endphp @if ($inspeccion->foto_10 && file_exists($imagePath) && !is_dir($imagePath)) @else
Sin foto
@endif